问题
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.
来源:https://stackoverflow.com/questions/16038404/method-not-found-void-system-web-ui-scriptresourcedefinition-set-loadsuccessex