当尝试上传任意数量的文档(包括非常小的文件)时,似乎成功了 - 但随后重定向到错误页面,显示以下内容:
/_layouts/error.aspx?ErrorText=The%20HTTP%20verb%20POST%20used%20to%20access%20path%20%27%2F%5Fvti%5Fbin%2Fshtml%2Edll%2FSiteCollectionDocuments%2FForms%2FUpload%2Easpx%27%20is%20not%20allowed%2E
不允许使用 HTTP 动词 POST 来访问路径“/_vti_bin/shtml.dll/SiteCollectionDocuments/Forms/Upload.aspx”。
关于为什么 HTTP POST 操作会被拒绝,有什么想法吗?
事件日志中的错误如下所示:
Critical error has occured but the exception object has already been cleared
Current Url: /_vti_bin/shtml.dll/SiteCollectionDocuments/Forms/Upload.aspx
User Login: xxxxxxx
User is Authenticated: True
Performance Counters
% Processor Time Total: 0
Processor Queue Length: 1
ASP.NET Request Queued Total: 1
.NET CLR Exceptions, # of Exceps Thrown: 55
PATH_INFO: /_vti_bin/shtml.dll/SiteCollectionDocuments/Forms/Upload.aspx
PATH_TRANSLATED: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\isapi\shtml.dll
答案1
尝试删除 IIS 中的通配符应用程序映射。
HTTP POST 请求可能被错误地重新路由,并导致对 Upload.aspx 页面的请求失败。