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.GetVPathBuildResultInternal(VirtualPath
virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean
allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext
context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp,
Boolean allowBuildInPrecompile)
at
System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath
virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(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.IHttpHandlerFactory2.GetHandler(HttpContext
context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at
System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)


Custom event details:

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


Any ideas??

.



Relevant Pages

  • Re: Does GridView.DataBind work under medium trust with custom obj
    ... virtualPath, Type requiredBaseType, HttpContext context, Boolean ... System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, ... String requestType, VirtualPath virtualPath, String physicalPath) +306 ...
    (microsoft.public.dotnet.framework.aspnet)
  • MOSS Search Recurrent Event Log Errors
    ... (VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, ... (HttpContext context, VirtualPath virtualPath, Boolean noBuild, ... (HttpContext context, String verb, String url, String filePath) ...
    (microsoft.public.sharepoint.portalserver)
  • Re: vb script or asp.net problem - not sure where to begin
    ... >>> virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean ... >>> virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) ... >>> String requestType, VirtualPath virtualPath, String physicalPath) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to debug a web appplication?
    ... Juan T. Llibre, asp.net MVP ... Boolean& pathTooLong) at ... System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, ... System.Web.UI.Util.IsUserAllowedToPath(HttpContext context, VirtualPath ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to debug a web appplication?
    ... it's highly unlikely that your hoster will agree to installing anything on the server. ... Boolean& pathTooLong) at ... System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, ... System.Web.UI.Util.IsUserAllowedToPath(HttpContext context, VirtualPath ...
    (microsoft.public.dotnet.framework.aspnet)

Loading