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

RadAsyncUpload custom handler throws 403 on Post

1 Answer 257 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mela
Top achievements
Rank 1
Mela asked on 16 Apr 2015, 07:46 AM

Hello!

I am using RadAsyncUpload control in my sharepoint web page. But the Custom Handler throws 403 error on POST (Get is Ok). I have modified web config, but i didnt help. What is problem?

<handlers>
      <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2013.3.1114.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
      <add name="FileUploadToLibraryHandler" verb="*" path="/_layouts/15/Asp.Str.UI/Pages/FileUploadToLibraryHandler.ashx" type="Asp.Str.UI.HttpHandlers.FileUploadToLibraryHandler,  Asp.Str.UI, Version=2014.1.0.1, Culture=neutral, PublicKeyToken=a9a40be1d4d5fefa"/>...</handlers>

 <location path="_layouts/15/Asp.Str.UI/Pages/FileUploadToLibraryHandler.ashx">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>

1 Answer, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 20 Apr 2015, 08:36 AM
Hi Mela,

This is configuration problem. You must allow the access to this FileUploadToLibraryHandler.ashx handler for unauthenticated users. Be sure that there is no other setting which overrides this:

 <location path="_layouts/15/Asp.Str.UI/Pages/FileUploadToLibraryHandler.ashx">
    <system.web>
      <authorization>
        <allow users="*" />
      </authorization>
    </system.web>
  </location>

Look here you may find this for useful http://blogs.technet.com/b/praveenh/archive/2013/04/30/intermittent-quot-http-403-forbidden-quot-error-while-trying-to-browse-to-a-sharepoint-web-app.aspx

Regards,
Hristo Valyavicharski
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
General Discussions
Asked by
Mela
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Share this question
or