Upload fails with 302 using custom handler

2 posts, 0 answers
  1. Michael
    Michael avatar
    3 posts
    Member since:
    Oct 2013

    Posted 31 Dec 2013 Link to this post

    Hello

    I've got a custom control built using AsyncUploader in manual mode targeting a custom handler.  The uploader works fine running locally in Visual Studio, but when deployed the upload never completes and Fiddler reports 302 result for the request to my custom handler.  Firefox and IE 11 both suffer from this problem.

    Our setup uses Forms authentication, and anonymous access is allowed.

    Do I need to allow anonymous access for the custom handler, i.e.

    <location path="CustomHandlers/CropImage.ashx">
      <system.web>
          <authorization>
              <allow users="*" />
          </authorization>
      </system.web>
    </location>

    Thanks!
    Michael
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 01 Jan 2014 Link to this post

    Hi Michael,

    Please have a look into this help documentation.

    Thanks,
    Shinu.

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