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

G

Guest

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
 
G

Gaurav Vaish \(MasterGaurav\)

________________________________________
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
-----------------------------------------
 
G

Guest

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

AD

Gaurav Vaish (MasterGaurav) said:
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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top