Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Webcontrols VS 2003 install

Reply
Thread Tools

Webcontrols VS 2003 install

 
 
p
Guest
Posts: n/a
 
      01-21-2004
Got it figured out finally. We had existing vs2002 web project using
webcontrols. Upgrading to vs2003 I downloaded and compiled the new
webcontrol.dll and added this to references (follow readme.txt). The
webcontrols were in VS toolbox but the vs2003 design mode for old pages, did
not show the Webcontrol Data (e.g. Treeview) and running resulted in an
error.

Noticed that Webcontrols.dll on VS2002 were in GAC but VS2003 are not (for
whatever reason).

So I had to change the assembly reference from strong named assembly, like
this (which for webcontrol in GAC but is not there)
<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls, Version=1.0.2.226, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" %>

Changed to generic assembly reference which does not look in GAC and
copylocal=true
<%@ Register TagPrefix="iewc" Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>


This allowed the webcontrols to work on .Net 1.1 VS2003

VS2003 Design View works and runtime also.
Hope this helps



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install Microsoft Office Document Imageing on Windows 2003(x64), when i install it the OCR in MODI doesnt work: DR Windows 64bit 1 02-08-2008 05:43 AM
Help with Server 2003 x64 and Exchange 2003 install - deploy block =?Utf-8?B?VG9tIERpZw==?= Windows 64bit 2 03-20-2006 06:55 PM
Object reference not set to an instance of an object. System.Web.UI.WebControls.ListItemCollection.SaveViewState() System.Web.UI.WebControls.ListControl.SaveViewState() Brano ASP .Net 3 11-08-2005 12:29 PM
How can I install Visual Studio 2003 on Windows 2003 Server 64 bit edition? Ertugrul Uysal Windows 64bit 3 10-19-2005 05:31 AM
No WebControls.dll after running Web Controls install Charlie@CBFC ASP .Net 2 11-06-2003 03:26 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57