Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I developed an ajaxtools website that works in vs2010 using.net4 and ajax4. When tried to deploy it on server for shared hosting site, the ajaxtools pages didn't work. When I disabled the ajax functions, the website otherwise works.
The host says that .net4 is available, but only ajax 3.5.
Is there a known problem with developing in ajax 4.0 and deploying in ajax3.5, and if so, is there a workaround?
Posted

1 solution

Is there a known problem with developing in ajax 4.0 and deploying in ajax3.5,
It's not a problem! If you build something on v4 and try to use a previous old version then you are bound to have issues! It's as per design.

If you see in Web.Config file, there must be references in it based on v4.0. If you want it to work with v3.5 , you need to make/change your config to reference v3.5 version. Easiest way would be to create a new website with v3.5 and then copy the web.config from there.
 
Share this answer
 
Comments
Member 9445358 10-Jan-13 9:21am    
Was hoping perhaps it was backwards compatible.
Since v3.5 if for vs2008 .net3.5 do i then have to change project to .net3.5 and will it be ok to do it in vs2010?
Member 9445358 10-Jan-13 9:22am    
and yes, i know vs2010 can develop .net3.5, but the ajax version says for development in vs2008
Sandeep Mewara 10-Jan-13 9:26am    
As I told, your web.config files have specific reference to Ajax file and defined version. You need to work on them if you want to go back.
Member 9445358 13-Jan-13 10:32am    
I was a little casual with my words. A website has the reference built into the webconfig file. A web application, which i am developing, has it built into the .aspx page.

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



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