This is a migrated thread and some comments may be shown as answers.

Rocky Start! Then Came Q3'13...

1 Answer 47 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vincent
Top achievements
Rank 1
Vincent asked on 22 Oct 2013, 05:53 PM
Hello,

I've had a pretty rough start with RadControls and it looks like things are getting worse.  I installed the free trial about a month ago and then purchased a license from there.  I've had some issues with the GAC and which version (or which type?) of Telerik assemblies are either registered there...or not...I don't know.  Using VS2012, .NET 4.5, and ASP.NET Web Forms.  Support wasn't able to sort out the issue for me, but I found a work-around and was fine...until I ran the Q3'13 upgrade yesterday.  Now I'm getting the following error when I drag a RadGrid onto a page:

Error Creating Control - RadGrid1
The server tag 'telerik:radgrid' is ambiguous.  Please modify the associated registration that is causing the ambiguity and pick a new tag prefix.


Here's the tag declaration and RadGrid code, on the page:

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<telerik:radgrid id="RadGrid1" runat="server"></telerik:radgrid>


Here's my web.config:

<?xml version="1.0"?>
<configuration>
    <configSections>
        <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </configSections>
    <connectionStrings>
        <add name="*****" connectionString="metadata=res://*/Model.*****.csdl|res://*/Model.*****.ssdl|res://*/Model.*****.msl;provider=System.Data.SqlClient;provider connection string="data source=*****;initial catalog=*****;persist security info=True;user id=*****;password=*****;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" />
    </connectionStrings>
    <system.web>
        <compilation debug="false" targetFramework="4.5">
            <assemblies>
                <add assembly="Telerik.Web.UI, Version=2013.2.717.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
            </assemblies>
        </compilation>
        <httpRuntime targetFramework="4.5" />
        <pages>
            <controls>
                <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI, Version=2013.2.717.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
            </controls>
        </pages>
        <httpHandlers>
            <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
            <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
            <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
            <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
        </httpHandlers>
        <httpModules>
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
        </httpModules>
    </system.web>
    <appSettings>
        <add key="imgDir" value="../Images/" />
        <add key="jQueryVersion" value="2.0.0" />
        <add key="jQueryUIVersion" value="1.10.2" />
    </appSettings>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules runAllManagedModulesForAllRequests="true">
            <remove name="RadUploadModule" />
            <remove name="RadCompression" />
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
            <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />
        </modules>
        <handlers>
            <remove name="ChartImage_axd" />
            <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
            <remove name="Telerik_Web_UI_DialogHandler_aspx" />
            <remove name="Telerik_RadUploadProgressHandler_ashx" />
            <remove name="Telerik_Web_UI_WebResource_axd" />
            <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
            <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
        </handlers>
    </system.webServer>
    <entityFramework>
        <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
            <parameters>
                <parameter value="v11.0" />
            </parameters>
        </defaultConnectionFactory>
    </entityFramework>
</configuration>


I'm not new to ASP.NET but I am new to the Telerik controls, so you'll have to bear with me.  I'm not sure where to go from here and support always takes around 24 hrs. to respond.  Hopefully someone here has already been through this.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 24 Oct 2013, 12:50 PM
Hi Vincent,

I am sorry to hear you are having difficulties with our controls.
I will try to epxlain how our installers work and some basic requirements here. I hope they will help you resolve the case:
- On working with the GAC I would advise that you examine this blog post that will also explain you how to check what you have available there, add and remove assemblies, as well as a tutorial on working with GAC references in your project: http://blogs.telerik.com/aspnet-ajax/posts/13-09-19/working-with-assemblies-in-the-global-assembly-cache.
- When upgrading, I would advise that you follow this procedure: http://blogs.telerik.com/aspnet-ajax/posts/12-12-21/upgrade-the-version-of-your-telerik-asp.net-controls-in-6-easy-steps.
- This help article details a troubleshooting process for the design-time environment: http://www.telerik.com/help/aspnet-ajax/introduction-design-time-troubleshooting.html.

Please also note that even if design-time does not work for you, you can still use the source view to add controls - either by typing, or through drag-and-drop from the toolbox. The design mode is not equivalent to the final page result anyway.

I have also reviewed our support history and I see that you have the same post in a ticket where the basic suggestions are the same.

What I see from the code you pasted is the same as what my colleague said - you have different assembly references which cause the problem. The references in the pages section of the web.config will reference the Q2 2013 SP1 version in yhour project and if you add another reference (e.g. copy a file to the bin) things will break. You need to ensure consistency between the references in your project and the easiest way to do is is to have this reference in the web.,config (you can also remove the fully qualified assembly name to make it non-version-specific) and remove the Register directives from pages and user controls, because a fully qualified reference with a different version number will break your project.

On the ticket response time - we provide a 24 hour response time for support tickets and I see that my colleagues have adhered to that without fault in your other tickets. It is often that we are able to send a reply earlier, but this depends on a lot of factors and is not guaranteed. In the forums we cannot guarantee a response, even though we monitor them closely.


Regards,
Marin Bratanov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
General Discussions
Asked by
Vincent
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or