|
-
Sep 3rd, 2003, 01:10 AM
#1
Thread Starter
Frenzied Member
Global.asax
I have an error, it has something to to with the Inherits-line. My application is build in VS in a project named Georg_Fischer. The code for Global.asax is generated automatically to this reference. What should this code be when I deploy to a web server? The application is working properly on my localhost.
Global.asax:
Code:
<%@ Application Codebehind="Global.asax.vb" Inherits="Georg_Fischer.Global" %>
Applcation running on: www.vbdotnet.dk/gf
-
Sep 18th, 2003, 07:17 AM
#2
Junior Member
make sure that you compile Global.asax.vb file along with all other .vb files.
else, if you have not written any code in global.asax.vb file the simply remove the two files.
if you have changed
public class Global : System.Web.HttpApplication
to any othe class name in global.asax.vb, then modify global.asax to :
<%@ Application Codebehind="Global.asax.cs" Inherits="namespace.classname" %>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|