Interesting thing happened to me today while deploying an updated version of one of our apps to a QA server in the U.K.
We run primarily a JSP based application interfacing with MS SQL 2000, we are systematically rewriting it in ASP.NET, module by module. One of the modules uploads Excel files to the site to be imported into the database, easy stuff.
But,……. this process can take some time, due to all the validation being done, etc, so I brought in some good old AJAX Modal popups to give the user a more rich experience, but I kept on getting the following Javascript error:
Sys.WebForms.pageRequestManager TimeoutException : the server request timed out
After Googling the error, I came across an entry on the ASP.NET site about AJAX 1.0 and iFrames.
Due to the RTM editionĀ of AJAX 1.0 having certain restrictions in place, if one uses AJAX in frames where the page are across different domains (or Virtual directories, as in my case), then you cannot access the script resources from the AJAX Extensions (which I thought the problem was at first). I eventually found the workaround at Bertrand Le Roy’s blog . Follow the instructions to the letter, and everything will work 100%.
P.S. This issue has been fixed in the AJAX Version shipped with C# 3.5!
This experience has taught me one thing, Frames == Trouble!
HTH someone else out there.