The type 'x' is defined in an assembly that is not referenced. You must add a reference to the assembly 'abc123'.
I have a .NET 2.0 web application that references my assembly 'abc123'. The assembly exists in the GAC, and I checked that it is the correct (same) version. The rest of the application has no problems except one .aspx page. There is a repeater on the page in question, which displays the user control as one of its โfieldsโ. After binding the list of type y to the repeater, I give the user control of type x (property y), as shown here:
<uc1:usercontrol id="ucusercontrol " runat="server" myPublicUserControlProperty='<%#Eval("CollectionOfX") %>'/>
In the custom item property set, I bind a list of type x to the gridview in the user control.
It is strange to note that this report works fine on my development computer, but not on any servers after deployment. My computer is Windows XP, IIS6, VS2005. Servers are Windows Server 2003, IIS6.
I hope I explained it quite well. Thanks in advance for any information you can provide.
Mike T Nov 12 '08 at 16:09 2008-11-12 16:09
source share