I have an issue that occurs with the following situation:
- I have a page that contains an Ajax UpdatePanel.
- The UpdatePanel contains an "ASP.NET" Ajax Control Toolkit control (e.g. the calendar control) that is initially hidden when the page is first loaded.
- The page is being run through a Juniper SSL VPN.
- The user does an action on the page that causes a partial postback that makes the control visible.
This causes the following error:
Error: Sys.ScriptLoadFailedException: the script '<appname>/ScriptResource.axd?d=<Long Code> could not be loaded.
What appears to be happening (from looking at the HTTP requests) is that when a partial postback occurs and the hidden Ajax control is shown, it tries to request a script from the server which it needs. The VPN normally rewrites the URLs for all HTTP requests made by the application so it knows how to redirect the request to the application server when it receives it. However, in the case above the URL does not get rewritten.
The actual URL requested that gets the 404 error from the server and causes the error is:
View Complete Post