Method not found: 'Void System.Web.UI.ScriptResourceDefinition.set_LoadSuccess[removed]System.String)'

后端 未结 1 751
后悔当初
后悔当初 2021-01-21 20:15

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条回答
  • 2021-01-21 21:14

    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.

    0 讨论(0)
提交回复
热议问题