Thursday, August 8, 2013

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

You will get this error if you try to host your application on IIS Application pool running on .Net. 4.0 and your web application is built in .Net 4.5.By default the selected target framework for Visual Studio 2012 is .Net 4.5.

Right Click on your application in Visual Studio 2012, select the build configuration and choose .Net 4.0 framework.



1 comment:

El pinguino said...

im having the same issue, all i found is that the situation is about framework 4.5 adn the server just have framework 4
still trying to found a solution.