Method not found: 'Void System.Web.UI.ScriptResourceDefinition.set_LoadSuccessExpression(System.String)'

喜夏-厌秋 提交于 2020-01-21 13:43:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!