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

  • Question

  • User-723833757 posted

    I am having an issue with Visual Web Developer 2010 and Web Platform Installer

    1. My hosting site supports Sql2008 and ASP.net 3.5

    2. When I tried to revert my site back to 3.5 I get the following error

     Method not found: 'Void System.Web.UI.ScriptResourceDefinition.set_LoadSuccessExpression(System.String)'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    
    Exception Details: System.MissingMethodException: Method not found: 'Void System.Web.UI.ScriptResourceDefinition.set_LoadSuccessExpression(System.String)'.
    
    Source Error:
    
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    
    Stack Trace:
    
    
    [MissingMethodException: Method not found: 'Void System.Web.UI.ScriptResourceDefinition.set_LoadSuccessExpression(System.String)'.]
       Microsoft.ScriptManager.WebFormsv45.PreApplicationStartCode.Start() +0
    
    [InvalidOperationException: The pre-application start initialization method Start on type Microsoft.ScriptManager.WebFormsv45.PreApplicationStartCode threw an exception with the following error message: Method not found: 'Void System.Web.UI.ScriptResourceDefinition.set_LoadSuccessExpression(System.String)'..]
       System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +423
       System.Web.Compilation.BuildManager.CallPreStartInitMethods() +306
       System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +591
    
    [HttpException (0x80004005): The pre-application start initialization method Start on type Microsoft.ScriptManager.WebFormsv45.PreApplicationStartCode threw an exception with the following error message: Method not found: 'Void System.Web.UI.ScriptResourceDefinition.set_LoadSuccessExpression(System.String)'..]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8946484
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
       System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +258
    

    I saw another post that said it was trying to access some .NET 4.5 dll files, like MSAJAX.dll but the post (like most do) forget to tell everyone where the reference was so that if other have the same problem they can refer to it.

    Web Platform is GREAT as an installer, but it does not give you an option to uninstall, WHY?

    Someone please help with reverting back to 3.5, (Yes I had a backup of my web.config file and I am using it), I downloaded .NET3.5 framework, but it doesn't seem to want to install, and Web Platform Installer says I have 4.0 installed, How do I remove it?

    Monday, December 31, 2012 5:07 PM

Answers

  • User-166373564 posted

    Hi Bobby-Z

    Web Platform is GREAT as an installer, but it does not give you an option to uninstall, WHY?

    The Microsoft Web Platform Installer (Web PI) is a free tool that makes getting the latest components of the Microsoft Web Platform<o:p></o:p>,

    Microsoft Web Platform Installer doesn't support an option to uninstall currently, but you have other option to uninstall.

    and Web Platform Installer says I have 4.0 installed, How do I remove it?

    You could use .NET Framework Cleanup Tool to uninstall .net framework 4.0 below,

    http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx

    hope it helps you,

    Kind regards

     

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, January 7, 2013 9:47 PM