Parse Error: Could not load type System.Web.UI.WebControls.Menu

Discussion in 'ASP .Net' started by =?Utf-8?B?QWlyRHVzdGVyMTAx?=, Jan 26, 2007.

  1. Hi,

    I am using the menu control on my aspx pages. Everything works fine on my
    notebook but after I published my pages to the web server. I got this error.
    I've installed .netframework 2.0 but this error still exist. Why?

    What else am I missing?
    Thanks

    AD

    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    Parser Error Message: Could not load type System.Web.UI.WebControls.Menu
    from assembly System.Web, Version=1.0.5000.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a.

    Source Error:

    Line 47:
    Line 48:
    Line 49: <asp:Menu runat="server" id="Menu1" Orientation ="Horizontal"
    BackColor="Teal" ForeColor="White" Font-Size="0.9em" Font-Names="Trebuchet
    MS" StaticSubMenuIndent="10px" DynamicHorizontalOffset="2"
    DynamicEnableDefaultPopOutImage="False"
    StaticEnableDefaultPopOutImage="False">
    Line 50: <StaticMenuItemStyle HorizontalPadding="5px"
    VerticalPadding="2px" />
    Line 51: <DynamicHoverStyle BackColor="#990000" ForeColor="White" />

    Source File: D:\Data1\Dev\ADSWEB\ADSNew\Default.aspx Line: 49
    ________________________________________
    Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
    Version:1.1.4322.2300
    =?Utf-8?B?QWlyRHVzdGVyMTAx?=, Jan 26, 2007
    #1
    1. Advertising

  2. > ________________________________________
    > Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
    > ASP.NET
    > Version:1.1.4322.2300
    >


    You are working with ASP.Net 1.1 :)
    There are two ways to fix the issue:

    1. In your inetmgr, from the properties of your website/virtual-directory,
    in the ASP.Net tab, select version 2.0.50727. It is 1.1.4322 right now.
    2. On the command prompt (cmd), go to directory
    %windir%\Microsoft.Net\Framework\v2.0.50727 and execute "aspnet_regiis -i"

    --
    Happy Hacking,
    Gaurav Vaish | www.mastergaurav.com
    www.edujini-labs.com
    http://eduzine.edujinionline.com
    -----------------------------------------
    Gaurav Vaish \(MasterGaurav\), Jan 26, 2007
    #2
    1. Advertising

  3. Re: Parse Error: Could not load type System.Web.UI.WebControls.Men

    Done! It's working now. Thanks a lot!

    AD

    "Gaurav Vaish (MasterGaurav)" wrote:

    > > ________________________________________
    > > Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
    > > ASP.NET
    > > Version:1.1.4322.2300
    > >

    >
    > You are working with ASP.Net 1.1 :)
    > There are two ways to fix the issue:
    >
    > 1. In your inetmgr, from the properties of your website/virtual-directory,
    > in the ASP.Net tab, select version 2.0.50727. It is 1.1.4322 right now.
    > 2. On the command prompt (cmd), go to directory
    > %windir%\Microsoft.Net\Framework\v2.0.50727 and execute "aspnet_regiis -i"
    >
    > --
    > Happy Hacking,
    > Gaurav Vaish | www.mastergaurav.com
    > www.edujini-labs.com
    > http://eduzine.edujinionline.com
    > -----------------------------------------
    >
    >
    >
    >
    =?Utf-8?B?QWlyRHVzdGVyMTAx?=, Jan 26, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    2
    Views:
    820
    Matt Getting
    Jul 24, 2003
  2. Mike S

    Parse error: "could not load type"

    Mike S, Jul 30, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    5,288
    Mike S
    Aug 4, 2003
  3. news.microsoft.com
    Replies:
    1
    Views:
    1,218
    Justin Martin
    Aug 10, 2003
  4. Chris
    Replies:
    1
    Views:
    940
    Teemu Keiski
    Feb 12, 2007
  5. Jim Duffie

    Could not load type System.Web.UI.WebControls.TreeView

    Jim Duffie, May 14, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    227
Loading...

Share This Page