Me, Myself and Mayvelous
3 Oct
I have reinstalled Visual Studio.Net 2003 just to work with some of the old .net 1.1 projects. This one project uses infragistics web components and I’m getting the error on those pages with infragistics controls.
Program Version:
# Infragistics NetAdvantage 2005 Volume2 + hotfixes
# Visual Studio.Net 2003
# Windows Vista Ultimate
Problem:
I have my project with valid references, building and running fine except while browsing to those pages with any reference to infragistics components I’m getting the compilation error as mentioned below.
Error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.Compiler Error Message: BC30009: Reference required to assembly ‘Infragistics.WebUI.Shared.v5.2′ containing the implemented interface ‘Infragistics.WebUI.Design.IGetClientSideEvents’. Add one to your project.
Line 1: <%@ Register TagPrefix="igsch" Namespace="Infragistics.WebUI.WebSchedule" Assembly="Infragistics.WebUI.WebDateChooser.v5.2, Version=5.2.20052.1039, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>
Solution:
In order to run applications that use the Infragistics Web Controls on your machine, you will need to set the Copy Local flag to True for the Infragistics.WebUI.Shared.dll Assembly. This is because that assembly is registered into the Global Assembly Cache by the Windows Forms products, but ASP.NET Web Applications, by default, do not look in the GAC to resolve assembly references at runtime. Therefore, the Infragistics.WebUI.Shared assembly must be copied to the local project directory in order to run the Web application under IIS.
References:
#Knowledge Base Article: KB01932
# More detail explanations: Whats the deal with Infragistics.WebUI.Shared.dll and the CopyLocal property?
If you don’t want to make Infragistics.WebUI.Shared.dll copylocal property to true then, add the dll file in the bin folder and refresh your page, it will work but better to make CopyLocal property to true.
No related posts.