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.CssCollectionE ditor 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"
**************************************** 3 1893
This namespace is not a namespace that is part of the core library. It is
part of what is known as the IE Web Controls
( http://msdn.microsoft.com/workshop/w...ols_entry.asp). MS
released these controls later on to address some common needs of ASP.Net 1.x
in lieu of developers having to buy third-party components to do these
common tasks.You need to make sure that the dll is being deployed in the bin
diretory of your web ap and that you also add the correct webcontrol scripts
to the root of the application, similar to the aspnet_client scripts but
custom for the webcontrols. If you are having trouble once deployed there's
a good chance that it's registered in the GAC.
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
"dave" <no****@nojunk.com> wrote in message
news:eb**************@TK2MSFTNGP14.phx.gbl... 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.CssCollectionE ditor 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"
****************************************
Thnx Mark
But unfortunatelly it still doesnot work..
I ensured tht dll is under bin folder and also copied the aspnet_client and
webctrl_client folder to root of web server...
but still no luck..
In ref property of Microsoft.web.ui.webcontrols , the 'Local copy' is set to
true just to prevent from GAC..but same error..
still couldnt figure out the problem..
thnx
dave
"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message
news:O6**************@TK2MSFTNGP15.phx.gbl... This namespace is not a namespace that is part of the core library. It is part of what is known as the IE Web Controls (http://msdn.microsoft.com/workshop/w...ols_entry.asp). MS released these controls later on to address some common needs of ASP.Net 1.x in lieu of developers having to buy third-party components to do these common tasks.You need to make sure that the dll is being deployed in the bin diretory of your web ap and that you also add the correct webcontrol scripts to the root of the application, similar to the aspnet_client scripts but custom for the webcontrols. If you are having trouble once deployed there's a good chance that it's registered in the GAC.
Hope this helps, Mark Fitzpatrick Microsoft MVP - FrontPage
"dave" <no****@nojunk.com> wrote in message news:eb**************@TK2MSFTNGP14.phx.gbl... 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.CssCollectionE ditor 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"
****************************************
Another thing to check is to make sure that the directory is really marked
as an application in IIS. It could be that the applicatoin is defined a
directory up the tree so the webcontrols dll could be in the wrong bin. It's
a probably a stupid idea, but sometimes this happens.
Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
"dave" <no****@nojunk.com> wrote in message
news:OH**************@TK2MSFTNGP15.phx.gbl... Thnx Mark But unfortunatelly it still doesnot work.. I ensured tht dll is under bin folder and also copied the aspnet_client and webctrl_client folder to root of web server... but still no luck.. In ref property of Microsoft.web.ui.webcontrols , the 'Local copy' is set to true just to prevent from GAC..but same error.. still couldnt figure out the problem.. thnx dave
"Mark Fitzpatrick" <ma******@fitzme.com> wrote in message news:O6**************@TK2MSFTNGP15.phx.gbl... This namespace is not a namespace that is part of the core library. It is part of what is known as the IE Web Controls (http://msdn.microsoft.com/workshop/w...ols_entry.asp). MS released these controls later on to address some common needs of ASP.Net 1.x in lieu of developers having to buy third-party components to do these common tasks.You need to make sure that the dll is being deployed in the bin diretory of your web ap and that you also add the correct webcontrol scripts to the root of the application, similar to the aspnet_client scripts but custom for the webcontrols. If you are having trouble once deployed there's a good chance that it's registered in the GAC.
Hope this helps, Mark Fitzpatrick Microsoft MVP - FrontPage
"dave" <no****@nojunk.com> wrote in message news:eb**************@TK2MSFTNGP14.phx.gbl... 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.CssCollectionE ditor 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"
****************************************
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Greg Christie |
last post by:
I think I have a somewhat unique situation here, so I thought I should
post it for the few poor souls who run across it and try to google it
like I did.
First of all, I was getting the following...
|
by: menon |
last post by:
We have developed a asp.net application using Microsoft TreeView
control. On the production machine the application works fine but
when the same application is diployed on a server with windows2003...
|
by: Russ |
last post by:
I wrote a nice aspx page using the Microsoft.Web.UI.WebControls, using
a Tabstrip and Multipage. The tabstrip and multipage are created at
design time, but the actual tab items, separators, pages,...
|
by: CW |
last post by:
I have downloaded, built and installed iewebcontrols. I tested the sample
application and everything worked just fine. However, when I attempt to add
Microsoft.Web.UI.WebControls.dll to the VS.Net...
|
by: DalePres |
last post by:
I have an application that uses the Microsoft.Web.UI.WebControls.TabStrip
and Multipage controls. When I test the app on my pc or on my client's
development web servers the controls render...
|
by: KMart |
last post by:
Hello,
I have a ASP.NET/C# application that uses the IE Web Controls. Everything
was working fine. Then, for some unknown reason, everything stopped working.
Here's the error information:
...
|
by: Lorenc |
last post by:
Recently I am getting this error randomly while working with visual studio
..NET 2003 on a C# project and browsing my application. Everything comes to
normal after rebooting. Can someone help on...
|
by: somersbar |
last post by:
hello all,
im trying to connect to a microsoft access database from an ASP.NET web
form.
i keep getting the following error though:
ERROR Could not use
'(unknown)'; file already in use....
|
by: jabbari |
last post by:
Hello, Please Help us...!
I have a big problem ,so i searched on google and other search engine ,then I realized that so many other people have the same problem and they, all, have'nt been able to...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |