Patrick Tronnier
2005-02-04 05:21:02 UTC
Scenario:
Win2003 webServer
Win2003 SQL DBserver
Both same domain
.NETframework 1.1
IIS virtual directory "/HAS" on webServer points to physical code (including
"bin" directory) on DBserver network share (i.e. \\hasdevdb1\has)
When browse to http://localhost/has on webServer I get the
error:
Parser Error Message: Could not load type 'ASPNET.StarterKit.Portal.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="ASPNET.StarterKit.Portal.Global" %>
Source File: \\dev121\PortalCSVS\global.asax Line: 1
Additinoal info:
- no errors if the exact same code is local to webServer (i.e. directory on
this computer instead of network share).
- get same type error with even the simplest project "<%@ Application
Codebehind="Global.asax.cs" Inherits="webForm1.global" %>
- the following does NOT work...
- compile it as a Release build using Rebuild instead of just Build.
- Check rights for your /bin folder (I gave wide open rights and still
didn't work)
- adding a reference to the dll within the project
- adding a "using ASPNET.StarterKit.Portal" to the global.aspx.cs
- regsvr32 ASPNETPortal.dll
- Deleting the <%Application Codebehind="Global.asax.cs"
Inherits="ASPNET.StarterKit.Portal.Global%> from the global.asax
- deleting the global.asax file
Please help.
Win2003 webServer
Win2003 SQL DBserver
Both same domain
.NETframework 1.1
IIS virtual directory "/HAS" on webServer points to physical code (including
"bin" directory) on DBserver network share (i.e. \\hasdevdb1\has)
When browse to http://localhost/has on webServer I get the
error:
Parser Error Message: Could not load type 'ASPNET.StarterKit.Portal.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="ASPNET.StarterKit.Portal.Global" %>
Source File: \\dev121\PortalCSVS\global.asax Line: 1
Additinoal info:
- no errors if the exact same code is local to webServer (i.e. directory on
this computer instead of network share).
- get same type error with even the simplest project "<%@ Application
Codebehind="Global.asax.cs" Inherits="webForm1.global" %>
- the following does NOT work...
- compile it as a Release build using Rebuild instead of just Build.
- Check rights for your /bin folder (I gave wide open rights and still
didn't work)
- adding a reference to the dll within the project
- adding a "using ASPNET.StarterKit.Portal" to the global.aspx.cs
- regsvr32 ASPNETPortal.dll
- Deleting the <%Application Codebehind="Global.asax.cs"
Inherits="ASPNET.StarterKit.Portal.Global%> from the global.asax
- deleting the global.asax file
Please help.