RadAsyncUpload custom handler throws 403 on Post

2 posts, 0 answers
  1. Mela
    Mela avatar
    1 posts
    Member since:
    Aug 2012

    Posted 16 Apr 2015 Link to this post

    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>

  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 20 Apr 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top