I have a problem that I have been fighting for a couple of days now. I have developed a web application in VS 2008 SP1 utilizing many of the available .Net 3.5 AJAX functionality, as well as a lot of jQuery code. When testing on my local machine (XP Pro SP3, .Net 3.5 SP1), the application works great. This application is being deployed to our production server (2K3, .Net 3.5 SP1) as a subdirectory off of the main site (www.mainsite.com/newapp). The main site is a .Net 2.0 site. When I deploy this application to our production server as a subdirectory and run it, I get the elusive 'Sys.WebForms.PageRequestManager' is null or undefined.
I have been through dozens of posts from various sources checking web.config files, ISAP Mappings, GAC assemblies, 404 errors of the .axd file, etc. and none of them apply. In a last ditch effort to solve the problem, I created the application as a subdomain of the main site instead of a subdirectory (newapp.mainsite.com) and POOF it works! Everything works correctly, just like on my development machine.
So my question is, how can I get this to work as a subdirectory? No, subdomains are not an option, as this is a proof of concept for an app that will eventually become perhaps 100's of subdirectories. What am I missing? What should I be checking? And before anyone asks, yes it is configured as an application on IIS when it is a subdirectory (I have actually tried it both as an application and a virtual directory registered as an applicaiton, neither work).
Time is running out on this, so any help would be greatly appreciated. Thanks!
UPDATE: To help show that the server and site are both configured propertly for .Net 3.5, I am using the Entity Framework as well as LINQ to SQL objects to perform my data operations. All of this functionality is working correctly in both the subdomain AND subdirectory environment. I know this has something to do with the site's access to the MS Ajax jscript files, I just don't know how to figure out what that problems specifically is and how to correct it.