开发者

Post Verb not allowed iis7

开发者 https://www.devze.com 2023-03-06 17:20 出处:网络
I\'m trying to implement an upload with progress bar code i found here. But when i run my example code i get the following error in IIS7 Windows7:

I'm trying to implement an upload with progress bar code i found here. But when i run my example code i get the following error in IIS7 Windows7:

Click开发者_运维问答 here for larger image

Post Verb not allowed iis7

I tried messing with my handlers but only messed it up more as i don't know what i'm doing. Can someone help me get this working?


It appears that your are trying to upload the file to (or trying to get process update from) a html file (fileupload.html) - now html files are considered as static files by IIS. So you can only issue GET request (there is no point in submitting POST to a static file because the content is not going to change based on POST data) and hence the error.

Perhaps, you have done integration incorrectly or may be using wrong plugin (the author is talking about using it in conjunction with apache module). You may want to look at alternatives from below links:

http://mattberseth.com/blog/2008/07/aspnet_file_upload_with_realti.html

File Upload with progress bar in Asp.Net Mvc/ jQuery?

0

精彩评论

暂无评论...
验证码 换一张
取 消