错误信息 : There was an error processing the request
2008-01-28 15:47
561 查看
服务器环境:Win 2003 / IIS6 / ASP.NET AJAX 1.0 / C# 2.0
使用ASP.NET AJAX 1.0开发的一个网站,在页面提交的时候会出现如下错误信息。
There was an error processing the request
在网上搜索了一下找到了
http://dotnetslackers.com/columns/ajax/AspNetAjaxExceptionLogging.aspx
Another interesting thing I found when working with client exceptions is, when a server side exception (Web Service, Update Panel) is generated you will find the actual exception message, type, stack trace of that exception in JavaScript. Once you set the customErrors mode to On in the web.config file (recommended) when deploying the website, you'll obtain the generic message "There was an error processing the request" and no exception type and stack trace. I think this is unfortunate; at least the exception message and type should be present on the client side. May be the ASP.NET AJAX Team will consider this in future release.
解决的方法很奇怪。
需要设置 web.config 中的customErrors为Off
<customErrors mode="Off">
具体原因不清楚。
有了解这方面信息的吗?
使用ASP.NET AJAX 1.0开发的一个网站,在页面提交的时候会出现如下错误信息。
There was an error processing the request
在网上搜索了一下找到了
http://dotnetslackers.com/columns/ajax/AspNetAjaxExceptionLogging.aspx
Another interesting thing I found when working with client exceptions is, when a server side exception (Web Service, Update Panel) is generated you will find the actual exception message, type, stack trace of that exception in JavaScript. Once you set the customErrors mode to On in the web.config file (recommended) when deploying the website, you'll obtain the generic message "There was an error processing the request" and no exception type and stack trace. I think this is unfortunate; at least the exception message and type should be present on the client side. May be the ASP.NET AJAX Team will consider this in future release.
解决的方法很奇怪。
需要设置 web.config 中的customErrors为Off
<customErrors mode="Off">
具体原因不清楚。
有了解这方面信息的吗?
相关文章推荐
- errorCode: 500, msg: , result: {"Message":"There was an error processing the request
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
- [ASP.NET] - 提示错误:The server has encountered an error while loading an application during the processing your request
- magento 的错误:Invalid URI supplied 或 There has been an error processing your request
- 关于.net 未能加载文件或程序集 的另一种解决方法 错误信息:genasm.exe(1) : error There was an error initializing
- WCF分布式开发常见错误(19):There was an error opening the queue打开消息队列出错
- magento 安装时出现 There has been an error processing your request 错误解决方法
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500 解决办法
- WCF分布式开发常见错误(19):There was an error opening the queue打开消息队列出错
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500 解决办法
- 经验:SQL Server Compact 出现的错误解决方法. There was an error parsing the query
- Magento提示“There has been an error processing your request”
- windows上zend server安装 报The server encountered an internal error or misconfiguration and was unable to complete your request -解决方法 摘自网络
- 解决IIS7中出现An error occurred on the server when processing the URL错误提示的方法
- Xcode真机调试中"There was an internal API error"错误解决方法
- 错误信息:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ve
- 解决IIS7中出现An error occurred on the server when processing the URL错误提示的方法
- Xcode真机调试中"There was an internal API error"错误解决方法
- Xcode 真机调试中"There was an internal API error"错误解决方法