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

Upload fails with 302 using custom handler

1 Answer 61 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 31 Dec 2013, 08:16 PM
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

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 02 Jan 2014, 03:57 AM
Hi Michael,

Please have a look into this help documentation.

Thanks,
Shinu.

Tags
AsyncUpload
Asked by
Michael
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or