在尝试部署到它给此错误的服务器的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
发布评论