473,386 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

vb script or asp.net problem - not sure where to begin


Ok interesting, on my local machine

And i did not do a good job of keeping track of the exact order....

but on my local machine

in which i have vis studio 2003 installed and IIS for win XP,
I copied the web.config file from the source code folder into the
inetpub\wwwroot folder b/c that is where the ASP engine was looking for it.

I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net 2.0

I run the http://localhost/gt/default.aspx and the page comes up

I go to my Server, which I configured to use asp.net 2.0, but i prohibit 2.0
and allow 1.1(I am sure there are some more configuration steps i need to
do.. but)
i tell IIS to use 1.1
copy the same web.config file to the wwwroot folder

and i get the error as reported below
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 1/17/2006
Time: 5:34:46 PM
User: N/A
Computer: TESTWEBSRVR-01
Description:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 1/17/2006 5:34:46 PM
Event time (UTC): 1/17/2006 10:34:46 PM
Event ID: b94f072baf34454899cece7704d12d96
Event sequence: 18
Event occurrence: 3
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128546
Trust level: Full
Application Virtual Path: /gt
Application Path: C:\Old mba db sourcefiles\GT\
Machine name: TESTWEBSRVR-01

Process information:
Process ID: 3016
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpCompileException
Exception message: C:\Old mba db sourcefiles\GT\Default.aspx(27): error
BC30451: Name 'gbDevelopment' is not declared.

Request information:
Request URL: http://150.227.61.206/gt/Default.aspx
Request path: /gt/Default.aspx
User host address: 150.227.57.30
User: AXDFGT\loneque
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath virtualPath)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at
System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPath
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext context,
String requestType, VirtualPath virtualPath, String physicalPath)
at
System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(HttpContext
context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at
System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplication.IExecutionStep.Execute ()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)
Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Any ideas??

Jan 17 '06 #1
6 2785
Or try reading though this blog at:-
http://blogs.msdn.com/david.wang/arc...e_by_Side.aspx
Hope that helps
Patrick

"BookerW" <Bo*****@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...

Ok interesting, on my local machine

And i did not do a good job of keeping track of the exact order....

but on my local machine

in which i have vis studio 2003 installed and IIS for win XP,
I copied the web.config file from the source code folder into the
inetpub\wwwroot folder b/c that is where the ASP engine was looking for it.
I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net 2.0
I run the http://localhost/gt/default.aspx and the page comes up

I go to my Server, which I configured to use asp.net 2.0, but i prohibit 2.0 and allow 1.1(I am sure there are some more configuration steps i need to
do.. but)
i tell IIS to use 1.1
copy the same web.config file to the wwwroot folder

and i get the error as reported below
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 1/17/2006
Time: 5:34:46 PM
User: N/A
Computer: TESTWEBSRVR-01
Description:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 1/17/2006 5:34:46 PM
Event time (UTC): 1/17/2006 10:34:46 PM
Event ID: b94f072baf34454899cece7704d12d96
Event sequence: 18
Event occurrence: 3
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128546
Trust level: Full
Application Virtual Path: /gt
Application Path: C:\Old mba db sourcefiles\GT\
Machine name: TESTWEBSRVR-01

Process information:
Process ID: 3016
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpCompileException
Exception message: C:\Old mba db sourcefiles\GT\Default.aspx(27): error BC30451: Name 'gbDevelopment' is not declared.

Request information:
Request URL: http://150.227.61.206/gt/Default.aspx
Request path: /gt/Default.aspx
User host address: 150.227.57.30
User: AXDFGT\loneque
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath virtualPath) at
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpCont
ext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at
System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPat
h virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at
System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(
HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at
System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplicatio
n.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)
Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Any ideas??

Jan 18 '06 #2
BookerW well since you have noticed you haven't installed it in the right
order
then try doing that.
Patrick

"BookerW" <Bo*****@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...

Ok interesting, on my local machine

And i did not do a good job of keeping track of the exact order....

but on my local machine

in which i have vis studio 2003 installed and IIS for win XP,
I copied the web.config file from the source code folder into the
inetpub\wwwroot folder b/c that is where the ASP engine was looking for it.
I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net 2.0
I run the http://localhost/gt/default.aspx and the page comes up

I go to my Server, which I configured to use asp.net 2.0, but i prohibit 2.0 and allow 1.1(I am sure there are some more configuration steps i need to
do.. but)
i tell IIS to use 1.1
copy the same web.config file to the wwwroot folder

and i get the error as reported below
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 1/17/2006
Time: 5:34:46 PM
User: N/A
Computer: TESTWEBSRVR-01
Description:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 1/17/2006 5:34:46 PM
Event time (UTC): 1/17/2006 10:34:46 PM
Event ID: b94f072baf34454899cece7704d12d96
Event sequence: 18
Event occurrence: 3
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128546
Trust level: Full
Application Virtual Path: /gt
Application Path: C:\Old mba db sourcefiles\GT\
Machine name: TESTWEBSRVR-01

Process information:
Process ID: 3016
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpCompileException
Exception message: C:\Old mba db sourcefiles\GT\Default.aspx(27): error BC30451: Name 'gbDevelopment' is not declared.

Request information:
Request URL: http://150.227.61.206/gt/Default.aspx
Request path: /gt/Default.aspx
User host address: 150.227.57.30
User: AXDFGT\loneque
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath virtualPath) at
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpCont
ext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at
System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPat
h virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at
System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(
HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) at
System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplicatio
n.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)
Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Any ideas??

Jan 18 '06 #3
But on the Server, would i have been able to install asp.net 2.0 without
setting up IIS first. On the local machine, I actually installed Visutal
Studio 2003. I don't think I have to install that on my Windows 2003 server
do I ?

So on my server I have Microsoft.net framework 2.0 installed. I will keep
reading as I respond to this post, but I did not think the order of the .net
framework and IIS would not have the same effect of how I loaded it on my xp
box.

Maybe I am not understanding the difference between the full install of my
visual studio 2003 and IIS on my XP box, and the .net 2.0 framework and IIS
on my windows 2003 web server.

But thanks for the leads thus far..!!!
"Patrick.O.Ige" wrote:
BookerW well since you have noticed you haven't installed it in the right
order
then try doing that.
Patrick

"BookerW" <Bo*****@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...

Ok interesting, on my local machine

And i did not do a good job of keeping track of the exact order....

but on my local machine

in which i have vis studio 2003 installed and IIS for win XP,
I copied the web.config file from the source code folder into the
inetpub\wwwroot folder b/c that is where the ASP engine was looking for

it.

I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net

2.0

I run the http://localhost/gt/default.aspx and the page comes up

I go to my Server, which I configured to use asp.net 2.0, but i prohibit

2.0
and allow 1.1(I am sure there are some more configuration steps i need to
do.. but)
i tell IIS to use 1.1
copy the same web.config file to the wwwroot folder

and i get the error as reported below
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 1/17/2006
Time: 5:34:46 PM
User: N/A
Computer: TESTWEBSRVR-01
Description:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 1/17/2006 5:34:46 PM
Event time (UTC): 1/17/2006 10:34:46 PM
Event ID: b94f072baf34454899cece7704d12d96
Event sequence: 18
Event occurrence: 3
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128546
Trust level: Full
Application Virtual Path: /gt
Application Path: C:\Old mba db sourcefiles\GT\
Machine name: TESTWEBSRVR-01

Process information:
Process ID: 3016
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpCompileException
Exception message: C:\Old mba db sourcefiles\GT\Default.aspx(27):

error
BC30451: Name 'gbDevelopment' is not declared.

Request information:
Request URL: http://150.227.61.206/gt/Default.aspx
Request path: /gt/Default.aspx
User host address: 150.227.57.30
User: AXDFGT\loneque
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath

virtualPath)
at

System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at

System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpCont
ext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at

System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at

System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPat
h
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext

context,
String requestType, VirtualPath virtualPath, String physicalPath)
at

System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(
HttpContext
context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context,

String
requestType, VirtualPath path, String pathTranslated, Boolean

useAppConfig)
at

System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplicatio
n.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)
Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Any ideas??


Jan 18 '06 #4

ok, i uninstalled asp.net 2.0 and just running iis with whatever is default
with iis on a w2k3 box with sp1

Now, i put in a dummy index.htm file and deleted and recreated a new virtual
directory. When i set iis to use index.htm, my page comes up. When i tell
it to use default.aspx first, i get the following error:

Server Error in '/gtdb' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom
error page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

Any ideas?

"Patrick.O.Ige" wrote:
Or try reading though this blog at:-
http://blogs.msdn.com/david.wang/arc...e_by_Side.aspx
Hope that helps
Patrick

"BookerW" <Bo*****@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...

Ok interesting, on my local machine

And i did not do a good job of keeping track of the exact order....

but on my local machine

in which i have vis studio 2003 installed and IIS for win XP,
I copied the web.config file from the source code folder into the
inetpub\wwwroot folder b/c that is where the ASP engine was looking for

it.

I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net

2.0

I run the http://localhost/gt/default.aspx and the page comes up

I go to my Server, which I configured to use asp.net 2.0, but i prohibit

2.0
and allow 1.1(I am sure there are some more configuration steps i need to
do.. but)
i tell IIS to use 1.1
copy the same web.config file to the wwwroot folder

and i get the error as reported below
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 1/17/2006
Time: 5:34:46 PM
User: N/A
Computer: TESTWEBSRVR-01
Description:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 1/17/2006 5:34:46 PM
Event time (UTC): 1/17/2006 10:34:46 PM
Event ID: b94f072baf34454899cece7704d12d96
Event sequence: 18
Event occurrence: 3
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128546
Trust level: Full
Application Virtual Path: /gt
Application Path: C:\Old mba db sourcefiles\GT\
Machine name: TESTWEBSRVR-01

Process information:
Process ID: 3016
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpCompileException
Exception message: C:\Old mba db sourcefiles\GT\Default.aspx(27):

error
BC30451: Name 'gbDevelopment' is not declared.

Request information:
Request URL: http://150.227.61.206/gt/Default.aspx
Request path: /gt/Default.aspx
User host address: 150.227.57.30
User: AXDFGT\loneque
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath

virtualPath)
at

System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at

System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpCont
ext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at

System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at

System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPat
h
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext

context,
String requestType, VirtualPath virtualPath, String physicalPath)
at

System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(
HttpContext
context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context,

String
requestType, VirtualPath path, String pathTranslated, Boolean

useAppConfig)
at

System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplicatio
n.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)
Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Any ideas??


Jan 18 '06 #5
Some more info,
When i run this locally on the machine, using anonymous authentication ,it
tells me that a global variable that I declared is not referenced, howvever
that same code run on my local xp box and debugged, runs just fine, both as
http://localhost/gtdb, and inside of visual studio. I guess my challenge is
to find out what specifically my IIS box is having a problem with, with the
code.

"BookerW" wrote:

ok, i uninstalled asp.net 2.0 and just running iis with whatever is default
with iis on a w2k3 box with sp1

Now, i put in a dummy index.htm file and deleted and recreated a new virtual
directory. When i set iis to use index.htm, my page comes up. When i tell
it to use default.aspx first, i get the following error:

Server Error in '/gtdb' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom
error page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

Any ideas?

"Patrick.O.Ige" wrote:
Or try reading though this blog at:-
http://blogs.msdn.com/david.wang/arc...e_by_Side.aspx
Hope that helps
Patrick

"BookerW" <Bo*****@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...

Ok interesting, on my local machine

And i did not do a good job of keeping track of the exact order....

but on my local machine

in which i have vis studio 2003 installed and IIS for win XP,
I copied the web.config file from the source code folder into the
inetpub\wwwroot folder b/c that is where the ASP engine was looking for

it.

I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net

2.0

I run the http://localhost/gt/default.aspx and the page comes up

I go to my Server, which I configured to use asp.net 2.0, but i prohibit

2.0
and allow 1.1(I am sure there are some more configuration steps i need to
do.. but)
i tell IIS to use 1.1
copy the same web.config file to the wwwroot folder

and i get the error as reported below
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1310
Date: 1/17/2006
Time: 5:34:46 PM
User: N/A
Computer: TESTWEBSRVR-01
Description:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 1/17/2006 5:34:46 PM
Event time (UTC): 1/17/2006 10:34:46 PM
Event ID: b94f072baf34454899cece7704d12d96
Event sequence: 18
Event occurrence: 3
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128546
Trust level: Full
Application Virtual Path: /gt
Application Path: C:\Old mba db sourcefiles\GT\
Machine name: TESTWEBSRVR-01

Process information:
Process ID: 3016
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: HttpCompileException
Exception message: C:\Old mba db sourcefiles\GT\Default.aspx(27):

error
BC30451: Name 'gbDevelopment' is not declared.

Request information:
Request URL: http://150.227.61.206/gt/Default.aspx
Request path: /gt/Default.aspx
User host address: 150.227.57.30
User: AXDFGT\loneque
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 1
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath

virtualPath)
at

System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at

System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpCont
ext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at

System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at

System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPat
h
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext

context,
String requestType, VirtualPath virtualPath, String physicalPath)
at

System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(
HttpContext
context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context,

String
requestType, VirtualPath path, String pathTranslated, Boolean

useAppConfig)
at

System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplicatio
n.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
completedSynchronously)
Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Any ideas??


Jan 19 '06 #6
Final solution that seemed to work:

Ok, the quick rundown

Fixed the ldap references In the code

Replaced the username and passwords for accounts in our domain (Remember
this code came from a separate company)

Installed Oracle Client software on Server

Installed Oracle OLE DB connectivity software (ODAC) from Oracle’s website.
This seemed to resolve the error I got in regards to the Oracle Client not
being found

Finally, the account used to access the database did not have the right to
view specific tables. It could see the list of tables, but not specific
tables.

My DBA had to create synonyms for the account used to access the database to
mimic the account that had ownership of the tables in the database.

At this point, I can now connect, perform queries on the tables, etc ,etc..

Wallah, thanks for the journey,

Thanks for all of your help

"BookerW" wrote:
Some more info,
When i run this locally on the machine, using anonymous authentication ,it
tells me that a global variable that I declared is not referenced, howvever
that same code run on my local xp box and debugged, runs just fine, both as
http://localhost/gtdb, and inside of visual studio. I guess my challenge is
to find out what specifically my IIS box is having a problem with, with the
code.

"BookerW" wrote:

ok, i uninstalled asp.net 2.0 and just running iis with whatever is default
with iis on a w2k3 box with sp1

Now, i put in a dummy index.htm file and deleted and recreated a new virtual
directory. When i set iis to use index.htm, my page comes up. When i tell
it to use default.aspx first, i get the following error:

Server Error in '/gtdb' Application.
--------------------------------------------------------------------------------

Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom
error page by modifying the "defaultRedirect" attribute of the application's
<customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

Any ideas?

"Patrick.O.Ige" wrote:
Or try reading though this blog at:-
http://blogs.msdn.com/david.wang/arc...e_by_Side.aspx
Hope that helps
Patrick

"BookerW" <Bo*****@discussions.microsoft.com> wrote in message
news:59**********************************@microsof t.com...
>
>
>
> Ok interesting, on my local machine
>
> And i did not do a good job of keeping track of the exact order....
>
> but on my local machine
>
> in which i have vis studio 2003 installed and IIS for win XP,
> I copied the web.config file from the source code folder into the
> inetpub\wwwroot folder b/c that is where the ASP engine was looking for
it.
>
> I ran some commands to force my local IIS to use asp.net 1.1 vs asp.net
2.0
>
> I run the http://localhost/gt/default.aspx and the page comes up
>
> I go to my Server, which I configured to use asp.net 2.0, but i prohibit
2.0
> and allow 1.1(I am sure there are some more configuration steps i need to
> do.. but)
> i tell IIS to use 1.1
> copy the same web.config file to the wwwroot folder
>
> and i get the error as reported below
>
>
> Event Type: Warning
> Event Source: ASP.NET 2.0.50727.0
> Event Category: Web Event
> Event ID: 1310
> Date: 1/17/2006
> Time: 5:34:46 PM
> User: N/A
> Computer: TESTWEBSRVR-01
> Description:
> Event code: 3007
> Event message: A compilation error has occurred.
> Event time: 1/17/2006 5:34:46 PM
> Event time (UTC): 1/17/2006 10:34:46 PM
> Event ID: b94f072baf34454899cece7704d12d96
> Event sequence: 18
> Event occurrence: 3
> Event detail code: 0
>
> Application information:
> Application domain: /LM/W3SVC/1/Root/gt-1-127820097325128546
> Trust level: Full
> Application Virtual Path: /gt
> Application Path: C:\Old mba db sourcefiles\GT\
> Machine name: TESTWEBSRVR-01
>
> Process information:
> Process ID: 3016
> Process name: w3wp.exe
> Account name: NT AUTHORITY\NETWORK SERVICE
>
> Exception information:
> Exception type: HttpCompileException
> Exception message: C:\Old mba db sourcefiles\GT\Default.aspx(27):
error
> BC30451: Name 'gbDevelopment' is not declared.
>
> Request information:
> Request URL: http://150.227.61.206/gt/Default.aspx
> Request path: /gt/Default.aspx
> User host address: 150.227.57.30
> User: AXDFGT\loneque
> Is authenticated: True
> Authentication Type: Negotiate
> Thread account name: NT AUTHORITY\NETWORK SERVICE
>
> Thread information:
> Thread ID: 1
> Thread account name: NT AUTHORITY\NETWORK SERVICE
> Is impersonating: False
> Stack trace: at
> System.Web.Compilation.BuildManager.CompileWebFile (VirtualPath
virtualPath)
> at
>
System.Web.Compilation.BuildManager.GetVPathBuildR esultInternal(VirtualPath
> virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
> allowBuildInPrecompile)
> at
>
System.Web.Compilation.BuildManager.GetVPathBuildR esultWithNoAssert(HttpCont
ext
> context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
> Boolean allowBuildInPrecompile)
> at
>
System.Web.Compilation.BuildManager.GetVirtualPath ObjectFactory(VirtualPath
> virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
> at
>
System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPat
h
> virtualPath, Type requiredBaseType, HttpContext context, Boolean
> allowCrossApp, Boolean noAssert)
> at System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext
context,
> String requestType, VirtualPath virtualPath, String physicalPath)
> at
>
System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(
HttpContext
> context, String requestType, VirtualPath virtualPath, String physicalPath)
> at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context,
String
> requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
> at
>
System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplicatio
n.IExecutionStep.Execute()
> at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean&
> completedSynchronously)
>
>
> Custom event details:
>
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
>
>
> Any ideas??
>

Feb 9 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Jeff Lambert | last post by:
We have a Windows client application written in delphi that connects to Oracle 8i w/ ADO. We accumulate a lot of SQL statements in a loop and finally send the strings list to be executed. What I...
6
by: Clay Beatty | last post by:
When you create database diagrams in Enterprise Manager, the details for constructing those diagrams is saved into the dtproperties table. This table includes an image field which contains most of...
3
by: muzamil | last post by:
To get rid of redundant data in a table, my cleint will be providing something like this: IDtokeep Ids to delete 34 24,35,49 12 14,178,1457 54 32,65,68 I have to write a...
2
by: gabriel | last post by:
Greetings, I am adding foreign keys to a database and saving the generated scripts. What I do not understand is that all script begin with empty transactions. Why ? Example follows : /*
9
by: Yaro | last post by:
Hello DB2/NT 8.1.3 Sorry for stupid questions. I am newbe in DB2. 1. How can I read *.sql script (with table and function definitions) into a database? Tool, command... 2. In Project Center...
2
by: ern | last post by:
My command-line application must be able to run text scripts (macros). The scripts have commands, comments, and flags. Comments are ignored (maybe they are any line beginning with " ; ") Commands...
7
by: C.Joseph Drayton | last post by:
I have a problem that I am hoping someone can help me with. First let me describe the problem. I have an HTML form that in one field has an onBlur call to a JavaScript function. When you exit the...
2
by: m19peters | last post by:
We have a script that I had to rework a little bit for 2005 that does a full backup for every database on the server... For some reason on some nights the script does not backup all databases......
9
by: Jerim79 | last post by:
Here it is: <?php if($_SERVER=='POST'){ $Number=$_POST; $Email=$_POST; $Number2=0; $error=0;
2
by: Edwin.Madari | last post by:
#your thought is right. ======================================================= def sizes2fields(sizes): d = begin = 0 for i in sizes: if begin: end = begin + i else: end = i...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.