Last post Oct 26, 2009 06:21 AM by TokyoBrit
Jul 21, 2008 11:12 PM|rafferty_uy|LINK
I recently got my hands on an old ASP.Net 1.1 web application and I am trying to open it in my VS 2008 ide. I'm having problems getting it to compile because of the missing Microsoft.Web.UI.WebControls dll.
After much searching, I found out that I had to install IIS and download and install the IE Web Controls (http://www.microsoft.com/DOWNLOADS/details.aspx?familyid=FAC6350C-8AD6-4BCA-8860-8A6AE3F64448&displaylang=en), please check if the link is correct.
But after installing and rebooting, I still do not see the assembly in my visual studio reference list.
What should I do next?
IE Web Controls
Sep 21, 2009 08:10 PM|bass4g0d|LINK
Add the dll to your project references browsing by it location.
Oct 26, 2009 06:21 AM|TokyoBrit|LINK
If you use the IEWebControl.msi installer program, it registers the assembly in the GAC. My understanding was that GAC registered assemblies should show up in the list under the .NET tab for references, and should not need to be browsed for.
Not a problem if this is not the case, but it does leave us with inconsistant actions depending on the assembly being installed.
More importanly however, is that if you used the IEWebControls.exe installer, and manually built the assembly using build.bat, then you could run into the "The located assembly's manifest definition with name 'Microsoft.Web.UI.WebControls' does not match
the assembly reference." error. That is because the .msi from the Microsoft downloads site has a strong name, but the one built from the .exe does not.
This is especially true when the web site using the controls is for Commerce Server, or was written in a language other than English, as the Microsoft Downloads file is the one usually found in non-English web searches.
Even then, it's not guaranteed to work as I get a:
Compiler Error Message: CS1595: 'Microsoft.Web.UI.WebControls.Tab' is defined in multiple places; using definition from 'c:\WINDOWS\assembly\GAC\Microsoft.Web.UI.WebControls\126.96.36.199__31bf3856ad364e35\Microsoft.Web.UI.WebControls.dll'
No idea where the other definition is as I never installed the .exe version of IEWebControls, and the compiler output doesn't tell me either.