本文介绍了JQuery File Uploader =错误405 IIS8.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个令人沮丧的令人沮丧的问题,我无法解决并检查了很多论坛帖子(包括来自堆栈溢出的批次),并且无法找到可怕的405错误的解决方案。

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.

我正在使用JQuery插件 - - 并且拥有您可以想象的最简约的页面以使其正常工作,但每次我尝试上传文件时,都在控制台中我收到一条消息:

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.

我已经完成了很多关于HTTP动词的搜索,并编辑了我的.asp配置(就像我一样)我还在使用Classic ASP,还添加了一个.json,编辑了其他一些来添加POST,GET等 - 但没有任何作用!我总是返回405错误。

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.

推荐答案

如果您使用的是较低版本的IE,那么试试这个

If you are using lower versions of IE then try this

forceIframeTransport: true

希望这会有所帮助:)

这篇关于JQuery File Uploader =错误405 IIS8.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 01:32