Sys.WebForms.PageRequestManagerServerErrorException

升级项目中的报表,结果与页面的javascript 冲突
JavaScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Value cannot be null. Parameter name: key.

最后还是在 Telerik 的网上找到问题所在
http://www.telerik.com/forums/rad-ajaxmanager-issue-with-telerik-reportviewer-webforms-reportviewer-control

需要禁用 browser link ,有两种方案
1: 改 web.config

<appSettings>
      <add key="vs:EnableBrowserLink" value="false"/>
</appSettings>

2: 改 Visual studio
vs2015

解决后感觉三年前遇到过这个问题,
由于公司今年换新电脑,所有软件重装,所以这个问题又出现了
还是写个 blog 记一下比较好

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s