mayvelous

Me, Myself and Mayvelous

Archive for the ‘Infragistics’ Category

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.

  • Comments Off
  • Filed under: Asp.net, Bugs and Fixes, Infragistics
  • I’ve been moving around files and programs from the old XP to a new Vista machine and Infragistics is one of the problems I get while installing on Vista. Just posting it here for my own future reference.

    Program Version:

    # Infragistics NetAdvantage 2005 Volume2 + hotfixes
    # Windows Vista Ultimate

    Problem:

    The installer runs almost to the end then throws up some compatibility issues errors and didn’t get install properly. The dll library files get loaded in the GAC but cannot load the form design views and also there is no infragistics folder in C:\inetpub\wwwroot\aspnet_client.

    Solution:
    Need to follow these 4 steps properly.

    1. Disable User Account Control (UAC)
    2. Restart your machine
    3. Edit the System Registry for Internet Information Services (IIS)
    4. Enable IIS 6.0 Compatibility

    Reference Links:

    # FAQ:Installing NetAdvantage for .NET on Windows Vista
    # Tip/Trick: Using IIS7 on Vista with VS 2005

    Flickr Photos

    Downloads

    Twitter Status


    Goodie Links


    Mayvelous Friends


    I'm an Author for Global Voices

    Archives