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
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
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.