i have just upgraded a test copy of my site to asp.net 4.0 and have noticed a strange issue that only arises when i upload the site to my server.
the site has an asm
well i managed to track it down by reading up about ajax web services requests are handled here...
http://www.asp.net/%28S%28ywiyuluxr3qb2dfva1z5lgeg%29%29/learn/ajax/tutorial-05-cs.aspx
basically a handler from asp.net 3.5 needs to be declared in your web.config handlers section under system.webserver so that it can return a JSON response instead of the default.
here is what you need to add to the web.config handlers section (also add to httpHandlers section if you need to support IIS6)...
i have my suspicions that this will need replacing with a .net 4.0 version of the same handler, but for now, it works.