error running my first web appication

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

  1. #1

    Default error running my first web appication

    I just created a simple web application and tried to run it. Getting
    following...any idea what I'm missing

    Thanks in advance
    ----------------------------------------------------------------------------
    ----

    Server Error in '/test2' Application.
    ----------------------------------------------------------------------------
    ----

    Parser Error
    Description: An error occurred during the parsing of a resource required to
    service this request. Please review the following specific parse error
    details and modify your source file appropriately.

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

    Source Error:


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



    Source File: c:\inetpub\wwwroot\test2\global.asax Line: 1



    ----------------------------------------------------------------------------
    ----

    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
    Version:1.1.4322.573

    ----------------------------------------------------------------------------
    -----------------
    Line 1 of Global.asax.vb contains following file
    Imports System.Web


    Pa Ji Guest

  2. Similar Questions and Discussions

    1. Error when running CFMX 6.1
      For the past few days, it appears that our Coldfusion server is shutting down. In the event logs, I get a: Faulting application swsoc.exe,...
    2. Error running web service
      Hi When I try to run my test web service on my local win2k server using syntax; http://localhost/WebServiceTest/Service1.asmx, I get the...
    3. error when running a report
      When doing a collection for output and running a report, I am getting an error message that will not let me continue. It says: "cannot complete...
    4. Appication name in SQL Server connection string
      Hi group, Does anyone know how I can pass an application name in my connection string and have it be recognized by SQL Server? I have this...
    5. Running Error
      How do i fix "invalid Backweb application ID 7288971"
  3. #2

    Default Re: error running my first web appication

    Sounds like you may not have build your solution. Are you using a server on
    your local machine or are you using another server over the web?

    "Pa Ji" <PA JI> wrote in message
    news:%23ZktI9DPDHA.2768@tk2msftngp13.phx.gbl...
    > I just created a simple web application and tried to run it. Getting
    > following...any idea what I'm missing
    >
    > Thanks in advance
    > --------------------------------------------------------------------------
    --
    > ----
    >
    > Server Error in '/test2' Application.
    > --------------------------------------------------------------------------
    --
    > ----
    >
    > Parser Error
    > Description: An error occurred during the parsing of a resource required
    to
    > service this request. Please review the following specific parse error
    > details and modify your source file appropriately.
    >
    > Parser Error Message: Could not load type 'test2.Global'.
    >
    > Source Error:
    >
    >
    > Line 1: <%@ Application Codebehind="Global.asax.vb"
    Inherits="test2.Global"
    > %>
    >
    >
    >
    > Source File: c:\inetpub\wwwroot\test2\global.asax Line: 1
    >
    >
    >
    > --------------------------------------------------------------------------
    --
    > ----
    >
    > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
    ASP.NET
    > Version:1.1.4322.573
    >
    > --------------------------------------------------------------------------
    --
    > -----------------
    > Line 1 of Global.asax.vb contains following file
    > Imports System.Web
    >
    >

    joe Guest

  4. #3

    Default error running my first web appication

    Hi,

    It seems to be a common error.Usually "Could not load
    type" exceptions result from the DDL not being found,
    incorrect file permissions on the DLL, or version mismatch
    between the assembly that needs to be loaded and the one
    that was discovered. First ensure your dll is there
    inside the bin fodler. Else please buld your application
    and create teh dll. Then check the permsion of the dll.
    ASPNet user need the access persion to the dll. Usually
    that will be one webfoleder. Then check the dll version.

    Please refer the folowing link for more help.


    [url]http://msdn.microsoft.com/library/default.asp?[/url]
    url=/library/en-
    us/cpguide/html/cpconhowruntimelocatesassemblies.asp

    Let me know if you need further queries.
    Regards
    Sreejumon[MVP]
    >-----Original Message-----
    > I just created a simple web application and tried to run
    it. Getting
    >following...any idea what I'm missing
    >
    >Thanks in advance
    >----------------------------------------------------------
    ------------------
    >----
    >
    >Server Error in '/test2' Application.
    >----------------------------------------------------------
    ------------------
    >----
    >
    >Parser Error
    >Description: An error occurred during the parsing of a
    resource required to
    >service this request. Please review the following
    specific parse error
    >details and modify your source file appropriately.
    >
    >Parser Error Message: Could not load type 'test2.Global'.
    >
    >Source Error:
    >
    >
    >Line 1: <%@ Application Codebehind="Global.asax.vb"
    Inherits="test2.Global"
    >%>
    >
    >
    >
    >Source File: c:\inetpub\wwwroot\test2\global.asax
    Line: 1
    >
    >
    >
    >----------------------------------------------------------
    ------------------
    >----
    >
    >Version Information: Microsoft .NET Framework
    Version:1.1.4322.573; ASP.NET
    >Version:1.1.4322.573
    >
    >----------------------------------------------------------
    ------------------
    >-----------------
    >Line 1 of Global.asax.vb contains following file
    >Imports System.Web
    >
    >
    >.
    >
    Sreejumon[MVP] Guest

  5. #4

    Default Re: error running my first web appication

    ---Thanks for U're help it worked, being Classic ASP developer I never
    thought about it.

    Pa Ji

    "James J. Foster" <james@dotnetcoders.com> wrote in message
    news:e3AS9OEPDHA.3088@TK2MSFTNGP10.phx.gbl...
    > Are you developing your solution with Visual Studio.NET? If you, you have
    to
    > compile the project before running it. If you have simply copied files to
    a
    > web directory without using VS.NET and compiling, remove this from the
    > global.asax file:
    >
    > Codebehind="Global.asax.vb" Inherits="test2.Global"
    >
    > If many of the other files contain Codebehind...etc as well, then likely
    > there is legitimate code in those files, and you will need to compile the
    > application for it to execute properly.
    >
    >
    > James J. Foster, DotNetCoders
    > [url]http://www.dotnetcoders.com[/url]
    >
    >
    >
    > "Pa Ji" <PA JI> wrote in message
    > news:#ZktI9DPDHA.2768@tk2msftngp13.phx.gbl...
    > > I just created a simple web application and tried to run it. Getting
    > > following...any idea what I'm missing
    > >
    > > Thanks in advance
    >
    > --------------------------------------------------------------------------
    > --
    > > ----
    > >
    > > Server Error in '/test2' Application.
    >
    > --------------------------------------------------------------------------
    > --
    > > ----
    > >
    > > Parser Error
    > > Description: An error occurred during the parsing of a resource required
    > to
    > > service this request. Please review the following specific parse error
    > > details and modify your source file appropriately.
    > >
    > > Parser Error Message: Could not load type 'test2.Global'.
    > >
    > > Source Error:
    > >
    > >
    > > Line 1: <%@ Application Codebehind="Global.asax.vb"
    > Inherits="test2.Global"
    > > %>
    > >
    > >
    > >
    > > Source File: c:\inetpub\wwwroot\test2\global.asax Line: 1
    > >
    > >
    > >
    >
    > --------------------------------------------------------------------------
    > --
    > > ----
    > >
    > > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
    > ASP.NET
    > > Version:1.1.4322.573
    > >
    >
    > --------------------------------------------------------------------------
    > --
    > > -----------------
    > > Line 1 of Global.asax.vb contains following file
    > > Imports System.Web
    > >
    > >
    >
    >

    Pa Ji 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