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

Telerik is undefined

2 Answers 144 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 19 Jun 2015, 12:07 PM

I am gettting a 'telerik is undefined' error on a webpage which i have only one radasyncupload control.  The error is breaking the page stopping the rest of the javascript on the page loading. Everything works fine if i remove the asyncupload control. 

This works fine when developing in Visual Studio, works fine on an internal server but i am getting the above error when deployed to an external server (with the same web.config values for the http handlers) Servers both running IIS 7. Below are the settings from system.web and system.webserver config sections.

 

<system.web>
    <compilation targetFramework="4.5" />
    <globalization uiCulture="auto" culture="auto" />
    <httpRuntime targetFramework="4.5" />
    <customErrors mode="Off"/>
    <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>
    <pages enableSessionState="true">
      <controls>
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
      </controls>
    </pages>
  </system.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="RadUploadModule" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
      <remove name="RadCompression" />
      <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" />
      <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
    </handlers>
    <httpRedirect enabled="false" destination="" />
  </system.webServer>

 

IIS 7

Telerik version 2015.1.401.45

 

2 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 24 Jun 2015, 07:48 AM
Hello,

Thank you for contacting Telerik Support.

Please, try the solution suggested in the following section of our General Troubleshooting documentation article and let us know in case the issue still persists.

Looking forward to your reply.

Regards,
Ivan Danchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Marc
Top achievements
Rank 1
answered on 24 Jun 2015, 07:53 AM

Thank you Ivan but i had been through that article which did not resolve the issue.

 

I resolved issue by removing all references of Telerik in the project and then re-adding them through the visual studio wizard.

Tags
AsyncUpload
Asked by
Marc
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Marc
Top achievements
Rank 1
Share this question
or