Results 1 to 2 of 2

Thread: Global.asax

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Question 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

  2. #2
    Junior Member
    Join Date
    Mar 2003
    Posts
    16
    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" %>
    vijay pahuja
    mumbai

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width