We getting an exception when we switch to IE 6.0 from IE
5.5.
Here's the error message:
DynAPI reported an error
Error in project: 'http://..../...../desktop.jsp
Line number: 185
Message: Exception occurred.
I was able to track this message in Dynapi.js in the function
call:
DynAPIObject.prototype.errorHandler = function (msg, url,
lno) {
if (!this.loaded || !this.errorHandling) return false;
if (is.ie) {
lno-=1;
alert("DynAPI reported an
error\n\nError in project: '" + url + "'.\nLine number: " + lno
+ ".\n\nMessage: " + msg);
} else if (is.ns4) {
alert("DynAPI reported an
error\n\nError in file: '" + url + "'.\nLine number: " + lno
+ ".\n\nMessage: " + msg);
} else return false;
return this.returnErrors;
}
I can't determine wherethe exception is occuring in the
desktop.jsp.
The line number seems to be misleading.
Can any one help us?
Can some one tell us how to find out which version of
Dynapi we're using. We inherited the code from a vendor
and we don't know which version of Dynapi we're using.
Thanks.... for your support....
Logged In: YES
user_id=184788
Can someone please remind us how to turn off the dynapi
error handling?
I expect it will be a lot easier for them to debug if they
could get the "raw" error.
Junn: if the root of your dynapi folder looks something like
this:
/dynapi/
/lib/
dynapi.js
then you are using an older version in which case I will
need more info to tell you what version you are using.
DynAPI 3+ has a structure more like this:
/src/
/api/
/ext/
/fx/
/gui/
/util/
dynapi.js
version.xml
with version.xml containing the exact version.