面对Sys.WebForms.PageRequestManagerServerErrorException错误 [英] Facing error as Sys.WebForms.PageRequestManagerServerErrorException

查看:72
本文介绍了面对Sys.WebForms.PageRequestManagerServerErrorException错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在网络应用程序中收到错误。我正在描述这个场景 -

gridview中有一个链接按钮这页纸。每当我点击按钮时,都应该从数据库中获取数据并绑定到另一个gridview。但每当我点击按钮没有任何反应,我得到这个错误 -

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



问题是我只在生产服务器中收到此错误。我在本地IIS中托管了相同的代码,并在VS2008开发服务器中调试了它。代码运行正常,没有错误。

我已经尝试在我的MasterPage脚本管理器中增加AsyncPostBackTimeout我还设置了

该页面的ValidateRequest =false。但问题仍然存在。



请建议如何解决这个问题。

Hello everyone,
I am receiving an error in my web application.I''m describing the scenario --
There is a link button in a gridview in the page. Whenever I click the button data should be fetched from database and bind to another gridview. But whenever I click the button nothing happens and I get this error --
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

Problem is I get this error only in production server. I''ve hosted the same code in my local IIS and also debugged it in VS2008 development server.The code runs fine without an error.
I''ve tried increasing the AsyncPostBackTimeout in my MasterPage scriptmanager and I''ve also set
ValidateRequest="false" of that page. But still the problem persists.

Please suggest how to solve this problem.

推荐答案





没有特定的解决方案可以永久地避免这个问题,但暂时我们可以处理这个错误,但是你必须找到错误的确切原因,因为,这个由于许多原因可能导致错误,简而言之,如果处理请求时出现任何问题,则会发生此错误。



请参阅以下链接。



从服务器返回的状态代码为:500 [ ^ ]

从服务器返回的状态代码为:500 [ ^ ]

ASP.NET,从服务器返回的状态代码是:500 [ ^ ]



希望它有所帮助。
Hi,

There is no particular solution that will avoid this problem permanently, but temporarily we can handle this error, but exact cause for the error you will have to find, because, this error may cause due to many many reasons, in short, if anything went wrong in processing the request, this error will occur.

refer below links.

The status code returned from the server was: 500[^]
The status code returned from the server was: 500[^]
ASP.NET, The status code returned from the server was: 500[^]

hope it helps.


这篇关于面对Sys.WebForms.PageRequestManagerServerErrorException错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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