Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default global.asax problem

    Hi all!
    I've created a simple aspx application and when I run it locally on my pc
    all works fine.
    If I move it on the web server I get the following error

    Parser Error Message: Could not load type 'xxxxx.Global'.

    Source Error:
    Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="xxxxx.Global"
    %>

    1) I've built the application and the files are in the correct bin directory
    2) The aspnet user has all the permissions

    Any suggestions?

    Thanks Vanessa


    Vanessa Berni Guest

  2. Similar Questions and Discussions

    1. Session_Start in Global.asax
      Is the Session_Start() sub executed on every request or just when a new users session is started? Thx for the help, stan
    2. global.asax
      Hi all! I've created a simple aspx application and when I run it locally on my pc all works fine. If I move it on the web server I get the...
    3. Name of events in Global.asax
      Hi. Reading the docs about the Global.asax events I noticed the names used on the help are not the same on the file. For example, the docs talk...
    4. Global Error handling in Applicatio_Error() of Global.asax
      Hi all, For a web application if we are using web farm, and if i want to do Global Error handling can i use Applicatio_Error() method in...
    5. What is Global.asax?
      It's the class file definition code for the Session and Application events - if you have anything that should be done when a user first connects or...
  3. #2

    Default Re: global.asax problem

    The bin directory should be directly below the root of the web application.
    That is, the top-level folder of your application should be configured as an
    application in IIS. Is it?

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    ..Net Developer
    [url]http://www.takempis.com[/url]
    Complex things are made up of
    lots of simple things.

    "Vanessa Berni" <v.berni@ui.prato.it> wrote in message
    news:e%23$3Q7aVDHA.652@tk2msftngp13.phx.gbl...
    > Hi all!
    > I've created a simple aspx application and when I run it locally on my pc
    > all works fine.
    > If I move it on the web server I get the following error
    >
    > Parser Error Message: Could not load type 'xxxxx.Global'.
    >
    > Source Error:
    > Line 1: <%@ Application Codebehind="Global.asax.vb"
    Inherits="xxxxx.Global"
    > %>
    >
    > 1) I've built the application and the files are in the correct bin
    directory
    > 2) The aspnet user has all the permissions
    >
    > Any suggestions?
    >
    > Thanks Vanessa
    >
    >

    Kevin Spencer Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139