ASP.NET Ajax client-side framework failed to load

I am getting error message "ASP.NET Ajax client-side framework failed to load."  During the compile I see the warning messages:

Warning    1    The primary reference "Microsoft.ScriptManager.MSAjax, Version=4.5.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".  

Warning    2    The primary reference "Microsoft.ScriptManager.WebForms, Version=4.5.6.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".  

Warning    3    The primary reference "Microsoft.AspNet.Membership.OpenAuth, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".  

The targeted Framework is 4.0 because it has to be.

This application is a test application to explore a process.  The only thing I care about on the Default page is the code behind and a JQuery document.ready event which calls a function with a JQuery get for another page whereby the process takes place.  I do need to be sure that the function with the "get" will work on a page that uses a master page.

So I need to know how to change the Script manager in the master page to be that used in the 4.0 framework.  I am not using anything dealing with membership.OpenAuth so I don't care about that warning.
Edward JoellAsked:
Who is Participating?
 
Edward JoellAuthor Commented:
The script manager was on the master page not my page and it seemed to be running a bunch of scripts there.

However, I devised a very simple method to resolve this.  I deleted the site.master from the project then I did an add for a Site.Master from a VS 2010 project.  Then I created a new folder under the root called "Styles" and added an existing site.css from the same vS 2010 project.  Now all is right with the world.  The sun is shining, the birds are singing, and I am happy, and can get on with the real development issues with which I am dealing.  Thanks to everyone who took a look at this.
0
 
Carl TawnSystems and Integration DeveloperCommented:
If you are using JQuery, rather than Microsoft AJAX, then you shouldn't need a ScriptManager on your page at all. Have you tried removing it and just using a standard reference to the JQuery library?
0
 
Edward JoellAuthor Commented:
I found an excellent work-around so that I did not have to deal with the issue at all.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.