2 lizhaoyin581 lizhaoyin581 于 2013.08.05 17:41 提问

本地提交到服务器失败

服务器上有一个基本的查询功能

4个下拉菜单来限制条件,点击按钮提交,数据填充到一个表格中。

我想在本地写一个html网页,点击提交时form的action为服务器该页的地址。下拉菜单和按钮的id与服务器页面的相同,但是结果每次在提交的时候服务器会报错:

Server Error in '/' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".





Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.





请问如何解决.求大神

1个回答

qingzhishuishou
qingzhishuishou   2013.08.06 09:11

有错误啊,到服务器上运行一下,看看报什么错

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!