在IIS服务器网站上保存数据时出错 [英] error while saving data on IIS server website

查看:91
本文介绍了在IIS服务器网站上保存数据时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello frinds,



i点击我的IIS服务器网站上的保存按钮时出错。

看错误





未捕获的Sys.WebForms.PageRequestManagerServerErrorException:Sys.WebForms.PageRequestManagerServerErrorException:在服务器上处理请求时发生未知错误。从服务器返回的状态代码是:500





我该如何处理这个.. !!

i在谷歌搜索了很多但是无法得到任何解决方案..





感谢所有.... !!!

解决方案

以下将帮助您解决原因和方法:MSDN:Sys.WebForms.PageRequestManagerServerErrorException [ ^ ]



当处理请求时,服务器上发生错误,向浏览器返回错误响应,并使用Error.create函数创建PageRequestManagerServerErrorException对象。若要自定义错误处理并显示有关服务器错误的更多信息,请处理AsyncPostBackError事件并使用AsyncPostBackErrorMessage和AllowCustomErrorsRedirect属性。

Hello frinds,

i have error while click on save button on my IIS server website.
See the error


Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500


How can i handle this..!!
i have serach many in google but cant get any solution regarding this..


Thank To All....!!!

解决方案

Following will help you on why and how to troubleshoot it: MSDN: Sys.WebForms.PageRequestManagerServerErrorException[^]

When an error occurs on the server while the request is being processed, an error response is returned to the browser and a PageRequestManagerServerErrorExceptionobject is created by using the Error.create function. To customize error handling and to display more information about the server error, handle the AsyncPostBackError event and use the AsyncPostBackErrorMessage and AllowCustomErrorsRedirect properties.


这篇关于在IIS服务器网站上保存数据时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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