I started a basic web app in Visual Studio 2013 and when I try to run it, i get the error below.
Server Error in '/' Application. 'jquery.ui.combined' is not a valid script name. The name must end in '.js'. 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.InvalidOperationException: 'jquery.ui.combined' is not a valid script name. The name must end in '.js'. 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: [InvalidOperationException: 'jquery.ui.combined' is not a valid script name. The name must end in '.js'.] System.Web.UI.ScriptReference.GetDebugName(String releaseName) +426364 System.Web.UI.ScriptReference.ShouldUseDebugScript(String releaseName, Assembly assembly, Boolean isDebuggingEnabled, Assembly currentAjaxAssembly) +30 System.Web.UI.ScriptReference.DetermineResourceNameAndAssembly(ScriptManager scriptManager, Boolean isDebuggingEnabled, String& resourceName, Assembly& assembly) +95 System.Web.UI.ScriptReference.GetUrlFromName(ScriptManager scriptManager, IControl scriptManagerControl, Boolean zip, Boolean useCdnPath) +103 System.Web.UI.ScriptReference.GetUrlInternal(ScriptManager scriptManager, Boolean zip, Boolean useCdnPath) +601 System.Web.UI.ScriptReference.GetUrl(ScriptManager scriptManager, Boolean zip) +195 System.Web.UI.ScriptManager.RegisterUniqueScripts(List`1 uniqueScripts) +196 System.Web.UI.ScriptManager.RegisterScripts() +470 System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e) +122 System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +121 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1155 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408
If I comment out the following line, the error goes away, but so does the formatting, which I assume relies upon this reference:
<asp:ScriptReference Name="jquery.ui.combined" />
I have uninstalled an re-installed the jQuery.UI.Combined package from the NuGet console numerous times, with no different result.
PM> Install-Package jQuery.UI.Combined
All posts on the web I can find talk about simply installing or adding as a reference.
When I try to right-click "references" and select "Add", I cannot find AspNet.ScriptManager.jQuery.UI.Combined in any list...