Click here to Skip to main content
15,885,435 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
ep on receiving this error: Server Error in '/' Application.

The assembly 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not contain a Web resource that has the name 'respond'. Make sure that the resource name is spelled correctly.

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: The assembly 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken= 31bf3856ad364e35' does not contain a Web resource that has the name 'respond'. Make sure that the resource name is spelled correctly.

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: The assembly 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken= 31bf3856ad364e35' does not contain a Web resource that has the name 'respond'. Make sure that the resource name is spelled correctly.] System.Web.UI.WebResourceUtil. VerifyAssemblyContainsReleaseW ebResource(Assembly assembly, String releaseResourceName, Assembly currentAjaxAssembly) +438 System.Web.UI.ScriptReference. ShouldUseDebugScript(String releaseName, Assembly assembly, Boolean isDebuggingEnabled, Assembly currentAjaxAssembly) +178 System.Web.UI.ScriptReference. DetermineResourceNameAndAssemb ly(ScriptManager scriptManager, Boolean isDebuggingEnabled, String& resourceName, Assembly& assembly) +307 System.Web.UI.ScriptReference. GetUrlFromName(ScriptManager scriptManager, IControl scriptManagerControl, Boolean zip, Boolean useCdnPath) +111 System.Web.UI.ScriptReference. GetUrlInternal(ScriptManager scriptManager, Boolean zip, Boolean useCdnPath) +467 System.Web.UI.ScriptManager. RegisterUniqueScripts(List`1 uniqueScripts) +358 System.Web.UI.ScriptManager.RegisterScripts() +655 System.Web.UI.ScriptManager. OnPagePreRenderComplete(Object sender, EventArgs e) +281 System.Web.UI.Page. ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4389

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18408 -

I have searched everywhere can't lay my hand on any help. What am i doing wrong?
Posted

1 solution

Hi,

it seems your bundleConfig is not started.
Usually this is done in Global.asax (cs).
It might be an idea to check that ( and move global.asax.cs into APP_Code if you are using a ASP.NET site instead of an app.

Erik
 
Share this answer
 
Comments
RandomOrder 5-Dec-14 10:48am    
Good hint to solving same when converting web site to web application. Had not yet copied in the Global.asax. Worked (or at least on to next bump in the road) after copying in the Global.asax.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900