简体   繁体   English

现在将.net Framework 3.5转换为4.0时,每当我尝试执行回发时,都会收到脚本错误

[英]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.

相关问题 如何将.Net Framework从版本3.5更改为版本4.0 - How do I change the .Net Framework from version 3.5 to version 4.0 如何使我的应用程序在带有oa配置文件的.NET 4.0和.NET 3.5上运行? - how do I get my app to run on .NET 4.0 and .NET 3.5 w/o a config file? 为什么每次尝试发布项目时都会出错? - Why I get error whenever I try to publish the project? 每当我尝试连接数据库时都会收到错误消息 - I get an error whenever I try to connect database 每当我尝试使用我的课程时,都会出现错误 - Whenever I try to use my class, I get an error 3.5 VS 4.0 .NET Framework - 3.5 VS 4.0 .NET Framework 如何获取Visual Studio Intellisense工具提示以显示.NET Framework 3.5的说明? - How do I get Visual Studio Intellisense tooltips to show descriptions for .NET Framework 3.5? 如何强制IE使用.net Framework 3.5加载网站? - How do I force IE to load site with .net framework 3.5? 每当我尝试刷新页面时,获取消息 - Get the message, whenever I try to refresh the page 我将我的项目升级到 .NET Framework 4.8 和新的包格式,现在我收到一条错误消息,提示 System.Net.Http 丢失 - I upgraded my project to .NET Framework 4.8 and the new package format, and now I get an error saying System.Net.Http is missing
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM