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
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 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.
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0