Welcome on Kweetix Technical Blog

Thursday, July 16, 2009

Embed script : ScriptLoadFailedException

Problem :

Error: Sys.ScriptLoadFailedException: The script '.../WebResource.axd?d=...' failed to load. Check for: Inaccessible path.
Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings.
Missing call to Sys.Application.notifyScriptLoaded().

Solution :

Add this line at the end of the javascript that is loaded :

if (typeof (Sys) !== 'undefined') Sys.Application.notifyScriptLoaded();

No comments:

Post a Comment