Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
159 views
in Technique[技术] by (71.8m points)

JQuery File Uploader = error 405 IIS8.5

I have a frustratingly annoying issue which I can't resolve and have checked LOTS of forum posts (including lots from stack overflow), and CANNOT find the resolution to the dreaded 405 error.

I'm using the JQuery plugin - https://github.com/blueimp/jQuery-File-Upload/wiki/Basic-plugin - and have the most minimalistic page you can imagine to get it working, but each time I attempt to upload a file, in the console I get a message:

HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.

I've done lots of searching regarding HTTP verbs, and have edited my .asp configuration (as I'm still using Classic ASP), also added a .json one, edited some of the other ones to add POST,GET etc - but nothing works! I always return a 405 error.

Has anyone actually resolved this issue? I've seen plenty of fixes but none work for me.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

If you are using lower versions of IE then try this

forceIframeTransport: true

Hope this helps :)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...