Hi all, here is my situation:
I have Server1 and Server2 load balancing - I have an AJAX page that uses an ajax timer to check the status of something and update the UI with results.
When I run the page specifying Server1 it works fine, likewise if I specify Server2. However, if I don't specify and I let the load balancer determine the server, all is well until one of the ajax postbacks goes to the alternate server - I then get the error message:
"Sys.ScriptLoadFailedException. The script '/mysite/ScriptResource.axd?d=......" failed to load.
When I enable script debugging in IE I get:
"Missing call to Sys.Application.notifyScriptLoaded()"
I made sure that the machinekeys are the same between both servers and ran a Fiddler trace to see what was going on - and the call to notifyscriptloaded does not occur when the ajax postback is routed to the other server after it has already hit the first server.
My setup is ASP.net 2.0 on Server2003, the page in question has a masterpage, and the script manager is in the page within a content region.
Anyone experience this or have a work-around. I don't think there is a way to tell it where to find the ScriptResource.axd file... Thanks for any help!


Reply With Quote

