Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
355
Can't run upgraded app
posted

Greetings.

I am attempting to upgrade an application to the latest version of the ASP.NET controls. I am using the trial edition to see how much work is involved in the upgrade process. The original application is currently in VS2003, using ASP.NET v1.1 and Infragistics 2006 vol 3.

I used the Microsoft upgrade wizard to migrate the pages to VS2008, which went well. I also used the Infragistics upgrade tool to update the references from 2006 to 2008 vol 1.

I am able to run the application and as long as I don't hit a page with an Infragistics control it works fine.

When I run a page containing an Infragistics control it gives me an error message similar to the following:

Compiler Error Message: CS0012: The type 'Infragistics.WebUI.Shared.IProvidesEmbeddableEditor' is defined in an assembly that is not referenced. You must add a reference to assembly 'Infragistics2.WebUI.Shared.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb'.

OR

Compiler Error Message: CS0234: The type or namespace name 'Style' does not exist in the namespace 'Infragistics.WebUI.Shared' (are you missing an assembly reference?)

What's confusing is that I already have a reference to the WebUI.Shared assembly in the project, and it compiles without error.

Any hints as to what I'm missing here? I really, really want to get this project upgraded to VS2008.

-Chuck

  • 3707
    posted

    I've saw this one a few times. There's two places you should check.

    1) Your Web.Config file should have the Infragistics controls your web application uses referenced.

    2) Make sure that your bin directory contains the needed web control DLL files from Infragistics.

    Also, as a normal practice I don't even bother searching for the exact web control libraries, I just copy all of them into the bin directory. This way I won't have to bother updating that directory anymore if I decide to use more of their control set.

    Hope that helps you out!

  • 795
    Offline posted

    I'm having the same issue!!! I just installed 2008 Vol 1, upgraded my app from 2007 Vol 3, everything compiles, but I get a ton of errors about "does not exist" and asking if I'm missing a reference to "Infragistics.WebUI.Shared". Just like your CS0235. First it's "Margin". So I removed that to see what would happen, then it complained about the next class. My project is now dead, can't run it.

     Help!

    Any ideas?