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

RADAsyncUpload Control files stay in uploading state

2 Answers 72 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Shilpa
Top achievements
Rank 1
Shilpa asked on 13 Jan 2014, 09:52 AM
Hi,

I am using RADAsycUpload control(2013.3.114.35) in my Sharepoint 2013 list form. The requirement is to be able to upload multiple files.
I have done all the configuration using Telerik support links. But when I try to upload the files, they remain in uploading state and never get uploaded. Attached is the error screen shot. On checking in Chrome console, below is the error message i see:

  1. Uncaught SyntaxError: Unexpected token < ScriptResource.axd?d=ZxXzxOrMD3Bq85ND-7C3BhVYlw9PiRUgERjd5bruwV6jWu4cJJuNSVEMdwlQBFKUzotS7ry_wiv8vw…:3
    1. l


Below is my control code in .aspx page:

<

 

 

telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" MultipleFileSelection="Automatic" UseApplicationPoolImpersonation="true" TemporaryFolder="E://Applications//SPC Folder"/>

 

Please let me know how can I get this resolved.

Thanks,
Shilpa

2 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 16 Jan 2014, 08:51 AM
Hello Shilpa,

Similar behavior is most often observed if some of the web config handlers are not registrated:
<system.web>
   <compilation debug="false" targetFramework="4.5" />
   <httpRuntime targetFramework="4.5" />
   <pages>
     <controls>
       <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
     </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>
  
 <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" />
     <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
     <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
     <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
     <remove name="Telerik_Web_UI_DialogHandler_aspx" />
     <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
     <remove name="Telerik_RadUploadProgressHandler_ashx" />
     <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
     <remove name="Telerik_Web_UI_WebResource_axd" />
     <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
   </handlers>
 </system.webServer>

Hope this will help you solve the issue.

Regards,
Plamen
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.
0
Igor
Top achievements
Rank 1
answered on 28 Jun 2017, 11:19 AM
Check your security permissions on directory.
Tags
AsyncUpload
Asked by
Shilpa
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Igor
Top achievements
Rank 1
Share this question
or