Could not load type 'ABC.Global'. Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Samuel Shulman

    Could not load type 'ABC.Global'. Error

    I get the following error:

    The website is compiled and published!!


    Server Error in '/ABCMainTest' 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 'ABC.Global'.

    Source Error:

    Line 1: <%@ Application Inherits="ABC.G lobal" Language="VB" %>
    Line 2:
    Line 3: <script language="VB" runat="server">

    Source File: C:\ABC\Test Website\global. asax Line: 1


    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.432 2.573; ASP.NET
    Version:1.1.432 2.573


  • Samuel Shulman

    #2
    Re: Could not load type 'ABC.Global'. Error

    I made the project a Web Project, Rebuilt, Restarted the IIS but still comes
    up with the same error

    Works fine from the ide

    Can I just create the APP_CODE folder?

    Thank you,
    Samuel


    "Peter Bromberg [C# MVP]" <pbromberg@yaho o.yabbadabbadoo .comwrote in
    message news:DDE37FF6-632C-4708-87D9-CD3424654C90@mi crosoft.com...
    Try putting it in the APP_CODE folder. Or, you can use the Web Application
    Project model and you will not have this issue.
    Peter
    >
    --
    Site: http://www.eggheadcafe.com
    UnBlog: http://petesbloggerama.blogspot.com
    Short urls & more: http://ittyurl.net
    >
    >
    >
    >
    "Samuel Shulman" wrote:
    >
    >I get the following error:
    >>
    >The website is compiled and published!!
    >>
    >>
    >Server Error in '/ABCMainTest' 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 'ABC.Global'.
    >>
    >Source Error:
    >>
    >Line 1: <%@ Application Inherits="ABC.G lobal" Language="VB" %>
    >Line 2:
    >Line 3: <script language="VB" runat="server">
    >>
    >Source File: C:\ABC\Test Website\global. asax Line: 1
    >>
    >>
    >--------------------------------------------------------------------------------
    >Version Information: Microsoft .NET Framework Version:1.1.432 2.573;
    >ASP.NET
    >Version:1.1.43 22.573
    >>
    >>
    >>

    Comment

    • Samuel Shulman

      #3
      Re: Could not load type 'ABC.Global'. Error

      Tried the APP_CODE folder and now it complains about the Index.aspx

      Thank you,
      Samuel

      "Samuel Shulman" <samuel.shulman @ntlworld.comwr ote in message
      news:O5KkeEvPHH A.992@TK2MSFTNG P06.phx.gbl...
      >I made the project a Web Project, Rebuilt, Restarted the IIS but still
      >comes up with the same error
      >
      Works fine from the ide
      >
      Can I just create the APP_CODE folder?
      >
      Thank you,
      Samuel
      >
      >
      "Peter Bromberg [C# MVP]" <pbromberg@yaho o.yabbadabbadoo .comwrote in
      message news:DDE37FF6-632C-4708-87D9-CD3424654C90@mi crosoft.com...
      >Try putting it in the APP_CODE folder. Or, you can use the Web
      >Application
      >Project model and you will not have this issue.
      >Peter
      >>
      >--
      >Site: http://www.eggheadcafe.com
      >UnBlog: http://petesbloggerama.blogspot.com
      >Short urls & more: http://ittyurl.net
      >>
      >>
      >>
      >>
      >"Samuel Shulman" wrote:
      >>
      >>I get the following error:
      >>>
      >>The website is compiled and published!!
      >>>
      >>>
      >>Server Error in '/ABCMainTest' 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 'ABC.Global'.
      >>>
      >>Source Error:
      >>>
      >>Line 1: <%@ Application Inherits="ABC.G lobal" Language="VB" %>
      >>Line 2:
      >>Line 3: <script language="VB" runat="server">
      >>>
      >>Source File: C:\ABC\Test Website\global. asax Line: 1
      >>>
      >>>
      >>--------------------------------------------------------------------------------
      >>Version Information: Microsoft .NET Framework Version:1.1.432 2.573;
      >>ASP.NET
      >>Version:1.1.4 322.573
      >>>
      >>>
      >>>
      >
      >

      Comment

      • Samuel Shulman

        #4
        Re: Could not load type 'ABC.Global'. Error

        The IIS was not set for ASP 2.0...



        "Samuel Shulman" <samuel.shulman @ntlworld.comwr ote in message
        news:ulp7XHvPHH A.420@TK2MSFTNG P06.phx.gbl...
        Tried the APP_CODE folder and now it complains about the Index.aspx
        >
        Thank you,
        Samuel
        >
        "Samuel Shulman" <samuel.shulman @ntlworld.comwr ote in message
        news:O5KkeEvPHH A.992@TK2MSFTNG P06.phx.gbl...
        >>I made the project a Web Project, Rebuilt, Restarted the IIS but still
        >>comes up with the same error
        >>
        >Works fine from the ide
        >>
        >Can I just create the APP_CODE folder?
        >>
        >Thank you,
        >Samuel
        >>
        >>
        >"Peter Bromberg [C# MVP]" <pbromberg@yaho o.yabbadabbadoo .comwrote in
        >message news:DDE37FF6-632C-4708-87D9-CD3424654C90@mi crosoft.com...
        >>Try putting it in the APP_CODE folder. Or, you can use the Web
        >>Application
        >>Project model and you will not have this issue.
        >>Peter
        >>>
        >>--
        >>Site: http://www.eggheadcafe.com
        >>UnBlog: http://petesbloggerama.blogspot.com
        >>Short urls & more: http://ittyurl.net
        >>>
        >>>
        >>>
        >>>
        >>"Samuel Shulman" wrote:
        >>>
        >>>I get the following error:
        >>>>
        >>>The website is compiled and published!!
        >>>>
        >>>>
        >>>Server Error in '/ABCMainTest' Application.
        >>>--------------------------------------------------------------------------------
        >>>>
        >>>Parser Error
        >>>Descriptio n: 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 'ABC.Global'.
        >>>>
        >>>Source Error:
        >>>>
        >>>Line 1: <%@ Application Inherits="ABC.G lobal" Language="VB" %>
        >>>Line 2:
        >>>Line 3: <script language="VB" runat="server">
        >>>>
        >>>Source File: C:\ABC\Test Website\global. asax Line: 1
        >>>>
        >>>>
        >>>--------------------------------------------------------------------------------
        >>>Version Information: Microsoft .NET Framework Version:1.1.432 2.573;
        >>>ASP.NET
        >>>Version:1.1. 4322.573
        >>>>
        >>>>
        >>>>
        >>
        >>
        >
        >

        Comment

        Working...