未找到方法:“虚空System.Web.UI.ScriptResourceDefinition.set

编程入门 行业动态 更新时间:2024-10-26 22:17:43
本文介绍了未找到方法:“虚空System.Web.UI.ScriptResourceDefinition.set_LoadSuccessEx pression(System.String)”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在尝试部署到它给此错误的服务器的Web应用程序4.0,虽然它的做工精细有IIS7在本地计算机上

When trying to deploy the web application 4.0 on to the server it is giving this error, although its working fine on the local machine having IIS7

推荐答案

的 LoadSuccessEx pression 属性是.NET 4.5的新特性。因为你的主机只支持.NET 4中,部署在该属性不存在。

The LoadSuccessExpression property is a new property in .NET 4.5. Since your host only supports .NET 4, this property does not exist when deployed.

它可以在本地计算机上,因为.NET 4.5是就地升级到.NET 4.如果您安装Visual Studio 2012,这个属性会被发现,并没有给当地的例外。

It works on your local machine since .NET 4.5 is an in-place upgrade to .NET 4. If you install Visual Studio 2012, this property will be found and not give exceptions locally.

更多推荐

未找到方法:“虚空System.Web.UI.ScriptResourceDefinition.set

本文发布于:2023-11-12 07:48:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580918.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:虚空   未找到   方法   System   set

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!