W
Web Team @ Borough of Poole
Hi All,
Currently, our site is configured like this:
/netapps <- Configured as an application in IIS
/netapps/bin <- Contains all DLLS for all apps
/netapps/appname1 <- These are not configured as app in IIS
/netapps/appname2
/netapps/appame3 (Etc!)
This works fine, apart from recently when we put a new app live which
will not work, unless...
a) The appfolder (/netapps/gis) is configured as an application
and...
b)in IIS and the DLLS are within /netapps/gis/bin
If I run /netapps/badapp without it being an app, I et the following
error:
-
Object reference not set to an instance of an object.
-
If I run /netapps/badapp as an application without its own bin
directory, I get the following error:
-
Parser Error Message: Could not load type 'gis.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="gis.Global" %>
-
I believe this is related to the session.onstart events.
/netapps/badapp/global.asax reads:
<%@ Application Codebehind="Global.asax.vb" Inherits="gis.Global" %>
Problem is, there is also a /netapps/global.asax, which reads:
<%@ Application Codebehind="Global.asax.vb"
inherits="misconepagers.Global" %>
So I can't simply copy /netapps/gis to /netapps/
(misconepagers works AOK)
Any ideas/suggestions will be much appreciated.
Thanks!
Simon.
Currently, our site is configured like this:
/netapps <- Configured as an application in IIS
/netapps/bin <- Contains all DLLS for all apps
/netapps/appname1 <- These are not configured as app in IIS
/netapps/appname2
/netapps/appame3 (Etc!)
This works fine, apart from recently when we put a new app live which
will not work, unless...
a) The appfolder (/netapps/gis) is configured as an application
and...
b)in IIS and the DLLS are within /netapps/gis/bin
If I run /netapps/badapp without it being an app, I et the following
error:
-
Object reference not set to an instance of an object.
-
If I run /netapps/badapp as an application without its own bin
directory, I get the following error:
-
Parser Error Message: Could not load type 'gis.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb"
Inherits="gis.Global" %>
-
I believe this is related to the session.onstart events.
/netapps/badapp/global.asax reads:
<%@ Application Codebehind="Global.asax.vb" Inherits="gis.Global" %>
Problem is, there is also a /netapps/global.asax, which reads:
<%@ Application Codebehind="Global.asax.vb"
inherits="misconepagers.Global" %>
So I can't simply copy /netapps/gis to /netapps/
(misconepagers works AOK)
Any ideas/suggestions will be much appreciated.
Thanks!
Simon.