-
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
-
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" %>