[英]Converted .net framework 3.5 to 4.0 now i get a scripting error whenever i try to do a postback
The action is being fired from a button inside an update panel. 该操作是通过更新面板中的按钮触发的。 I have triggers on the button as well.
我在按钮上也有触发器。
This is the Error: 这是错误:
Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object
Sys.WebForms.PageRequestManagerServerErrorException:对象引用未设置为对象的实例
When i view the trace this is the function it is failing on: 当我查看跟踪时,这是功能失败:
function Sys$WebForms$PageRequestManager$_endPostBack
A general idea: 总体思路:
Where do you call it from ? 你从哪里叫它? Local IIS or VS Devserver ?
本地IIS还是VS Devserver?
If iss, check if the AppPool of the Site points already to 4.0. 如果iss,请检查站点的AppPool是否已指向4.0。
Cheers Sascha 干杯萨沙
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.