ASP.Net 回发时无法找到指定的 URL [英] ASP.Net when post back get The specified URL cannot be found

查看:71
本文介绍了ASP.Net 回发时无法找到指定的 URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 asp.net 网页表单页面上单击保存按钮时,我立即得到以下信息:

When clicking the save button on a asp.net web form page, I get the following immediately:

找不到指定的网址

当我使用 Web 服务器上的浏览器尝试此操作时不会发生这种情况.

This does not happen when I try this using a browser on the web server.

有没有人遇到过这个问题?这是某种安全问题吗?

Has anyone run across this problem before? Is this some kind of security issue?

<小时>更多信息.我尝试了一个包含所有表单字段和一个按钮的测试页面,该按钮除了写入 log4net 日志之外什么都不做.单击按钮时出现同样的问题.这太奇怪了.


More information. I tried a test page that included all of the form fields and a button that didn't do anything but write to a log4net log. Same problem on the button click. This is just weird.

推荐答案

找到了解决方案!!!结果发现防火墙阻止了查询字符串中包含超过 40 个参数的请求.

Found the solution to this!!! Turns out the firewall was blocking request that had more then 40 parameters in the query string.

这篇关于ASP.Net 回发时无法找到指定的 URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆