By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,441 Members | 1,766 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,441 IT Pros & Developers. It's quick & easy.

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

P: n/a

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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a

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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.