D
dave
We have an application that works perfectly in-house (tested on 3
different servers). It uses Microsoft.Web.UI.WebControls.dll for menubars
and toolbars.
Problem Description:
We uploaded the application to our webhost and an error came up:
*****************************************
Parser Error Message: Could not load type
Microsoft.Web.UI.WebControls.Design.CssCollectionEditor from assembly
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.
*****************************************
Does anyone have any idea why it is trying to load that type from mscorlib
rather than Microsoft.Web.UI.WebControls? I have a suspicion that it might
be due to CssCollectionEditor being in another namespace inside
Microsoft.Web.UI.WebControls.
Here is the code that causes the error.
****************************************
Line 1: <%@ Control Language="c#" AutoEventWireup="false"
Codebehind="MenuBar.ascx.cs" Inherits="xBondManager3.MenuBar"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
Line 2: <%@ Register TagPrefix="incl"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" %>
Line 3: <incl:Toolbar
Line 4: runat= "server"
Line 5: BackColor = "#8caae7"
****************************************
different servers). It uses Microsoft.Web.UI.WebControls.dll for menubars
and toolbars.
Problem Description:
We uploaded the application to our webhost and an error came up:
*****************************************
Parser Error Message: Could not load type
Microsoft.Web.UI.WebControls.Design.CssCollectionEditor from assembly
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089.
*****************************************
Does anyone have any idea why it is trying to load that type from mscorlib
rather than Microsoft.Web.UI.WebControls? I have a suspicion that it might
be due to CssCollectionEditor being in another namespace inside
Microsoft.Web.UI.WebControls.
Here is the code that causes the error.
****************************************
Line 1: <%@ Control Language="c#" AutoEventWireup="false"
Codebehind="MenuBar.ascx.cs" Inherits="xBondManager3.MenuBar"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
Line 2: <%@ Register TagPrefix="incl"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" %>
Line 3: <incl:Toolbar
Line 4: runat= "server"
Line 5: BackColor = "#8caae7"
****************************************