Re: Could not find Microsoft.Web.UI.WebControls.dll for webcontrol

Tech-Archive recommends: Fix windows errors by optimizing your registry




hello all,

I installed Microsoft Internet Explorer WebControls Version 1.0 to use
TREEVIEW control in VS.NET 2003.
After installed,i got Microsoft.Web.UI.WebControls.dll in build
directory.Upto this is OK.


I have to use this control in my webPart library projects(A project
for creating Web Part controls to use in SharePoint Web applications).I
added the Microsoft.Web.UI.WebControls.dll in bin directory and build my
project.

It shows the following error

Assembly generation failed -- Referenced assembly
'Microsoft.Web.UI.WebControls' does not have a strong name

Then i checked in gacutil,there is no such
controls('Microsoft.Web.UI.WebControls' ).
As given in the installation procedure this has to be added in the
GAC.

I tried to add in the GAC but it asks for STRONG NAME.

what could be the problem....please help me ...........

Regards,

KARTHICK.K
karthikatnet@xxxxxxxxx


--
karthik_k_83Posted from http://www.pcreview.co.uk/ newsgroup access

.



Relevant Pages

  • Re: Modifying searchresults.aspx
    ... I really did not want the control in the GAC, ... The fullname is composed of ... > Microsoft Product Support Services ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: Licensed Controls on Toolbox
    ... The GAC worked. ... >> I have written a custom license provider and applied it to a control. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Web Part error when placing on page
    ... "Gary A. Bushey" wrote: ... I am using wppackager.exe to create an install package. ... The assembly is placed in GAC. ... The safe control element is placed in the web.config. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: When to Strong Name
    ... It's not just the fact that I'm getting invalid cast exceptions. ... i.e., if I add Control A first, followed by Control B, everything works ... which includes the reply I mentioned about Strong Names and the GAC. ... > You should only put assemblies in the GAC if they are used by several ...
    (microsoft.public.dotnet.general)
  • Re: UserControl issues continue...
    ... Derrick, create a simple user control, signed, add to GAC. ... Now drag control onto the form - works. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)