Discussion:
Application Codebehind="Global.asax.cs" Inherits="ASPNET.StarterKi
(too old to reply)
Patrick Tronnier
2005-02-04 05:21:02 UTC
Permalink
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.
Ken Schaefer
2005-02-04 06:20:47 UTC
Permalink
What user context is the w3wp.exe running under?

Cheers
Ken
Post by Patrick Tronnier
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
Parser Error Message: Could not load type
'ASPNET.StarterKit.Portal.Global'.
Inherits="ASPNET.StarterKit.Portal.Global" %>
Source File: \\dev121\PortalCSVS\global.asax Line: 1
- no errors if the exact same code is local to webServer (i.e. directory on
this computer instead of network share).
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.
Patrick Tronnier
2005-02-04 13:27:04 UTC
Permalink
I have tried the ASP.net, IUSR domain account, and a domain administer
account. None have worked.
Post by Ken Schaefer
What user context is the w3wp.exe running under?
Cheers
Ken
Post by Patrick Tronnier
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
Parser Error Message: Could not load type
'ASPNET.StarterKit.Portal.Global'.
Inherits="ASPNET.StarterKit.Portal.Global" %>
Source File: \\dev121\PortalCSVS\global.asax Line: 1
- no errors if the exact same code is local to webServer (i.e. directory on
this computer instead of network share).
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.
Loading...