When I loaded a form which had been created using the previous installed version I got the message
"The server tag 'telerik:RadAjaxLoadingPanel' is ambiguous. Please modify the associated registration that is causing ambiguity and pick a new tag prefix."
I therefore decided to uninstall the new version of the controls and added the old dlls to my bin folder instead
I still got the message even though I had uninstalled the controls.
What can I do to get rid of this message?
7 Answers, 1 is accepted
If you have several different tag registrations and one of them uses a fully qualified name for the assembly to access it from the GAC you may end up with several references in your project.
I advise you take a look at this blog post for upgrading and that you use the following tag registration in the web.config if you use Bin deployment and also remove the tag registrations from each separate page:
the Telerik team
I have also emptied the Temporary Asp.net directories and checked there are no GAC entries for Telerik.
However I am still getting the "Ambiguous references" message as before.
Is it worth trying to upgrade the Telerik dlls or is there something else I can do to resolve the problem?
Extracts from web.config
Our assemblies are standard .NET assemblies and the error you get means that VisualStudio still references different versions in the same project. This can happen if there are tag registrations in a user control used on the problematic page, for example, or if another project in the solution references different versions.
On the GAC - we automatically add the Design assembly to the GAC and it should be there in case you have not removed it explicitly. This is why it can be causing such an issue and you can remove the reference to Telerik.Web.Design if you are not using the design surface to create your pages.
I suggest you examine this article on working with the GAC: http://www.telerik.com/help/aspnet-ajax/introduction-add-to-global-assembly-cache.html. Also note that since .NET 4.0 there is a new place for the GAC. Executing gacutil -l Telerik.Web.UI from the VS command prompt will show you the assemblies you have in the GAC.
Restarting VS and disabling the add-ons can also help.
the Telerik team
I have now checked and there are no references to Telerik in the GAC
Should I add any binding references to make sure my web site accesses the correct version of the DLLs ?
A bindingRedirect is used to make sure that old references in the project are executed from the newer version of the assembly. Such references can be register directives in user controls, for example. They are not related to the versions of the assembly present in the GAC, but to the references in the current project.
If you have updated the project and there are no other references to Telerik.Web.UI except in the web.config it should be safe to skip the bindingRedirect. You can simply test your site without it, and if you get no errors then there are not old references and you should not need it.
All the best,
the Telerik team
What is a GAC?
I advise you start from the following article and review all relevant information, especially the MSDN articles: http://docs.telerik.com/devtools/aspnet-ajax/deployment/using-the-global-assembly-cache#what-is-the-gac.