Hi there I followed theis article on how to use web.config to change the directory locations but I get the following script load error:
---------------------------Error---------------------------A Runtime Error has occurred.Do you wish to Debug?Line: 3311Error: Sys.ScriptLoadFailedException: The script 'JS/NetAdvantage/20081CLR20/Scripts/ig_shared.js' 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().---------------------------Yes No ---------------------------
in my web.config I've got the following entries:
<section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
...
<infragistics.web imageDirectory="JS/NetAdvantage/images" javaScriptDirectory="JS/NetAdvantage/20081CLR20/Scripts" cssDirectory="JS/NetAdvantage/20081CLR20/Styles" formsDirectory="JS/NetAdvantage/20081CLR20/Forms" />
Things to note:
And this is where I run out of ideas....
Any help greatly apreciated!
THANK YOU for posting the solution. I too have to use absolute paths, it was to resolve an issue in one of the js files (solution was found on these forums somewhere but I forget what it was about). I also have a web grid inside an update panel and started getting these script load failures.
Good to see lots of other people are having the same problem, but it sucks to know that after all this time Infragistics still has not just put these few lines of code into all their .js files!
Thanks again!!
I am using V9.1 and everything "works on my machine", but when I deploy to a hosted environment, I receive the above error. I am not deploying any js files (so I assume the scripts are being retrieved from the dlls as resources). I am using the signed APTCA versions of the dlls. The problem seems to be associated with the WebDialogWindow. It was working with one WDW, then I added another and it broke, then I removed it and it was still broken (???). I was hoping to not have to add some hack to get this stuff to work - that is why I paid $$. I am NOT doing anything crazy here 9a simple WDW with a couple of text boxes and a button). Why doesn't this work??? makes me want to just roll my own ...
Please - I have spent way too much time on this already - does anyone have an idea or two?
THANK YOU in advance!
thank you to emilyankov that solution worked well.
We have the same problem here with 2009 Vol.2 .
Adding the lines solves the problem. It would be great, if Infragistics could add these lines by default.
Thanks
I just installed NetAdvantage Select 2009 Volume 1 and this issue has crept back in. I got the above mentioned error in the page that uses web charts. I compared the .js file with the previous version and this line is missing from the end of the file:
if (typeof(Sys) != "undefined" && typeof(Sys.Application) != "undefined" ) { Sys.Application.notifyScriptLoaded();}I added it back and the error is gone.