
12-09-2008
|
|
|
|
Re: Run Time Error: Expected 'x'
Raisleger wrote on Tue, 9 Dec 2008 05:15:01 -0800:
> I am frequently getting a pop-up window in IE7 with:
> A Runtime Error has occurred.
> Do you wish to debug?
> Line xxxx
> Error: Expected 'y'
> This does not happen on all pages, but when it does, it is repeatable
> on that page. I do not believe that these pages truely have errors in
> the scripts because this has occurred on way too many different pages.
> Is there something I can look into when this occurs again so I resolve
> this issue.
Do you have a URL of a page that does this? It does look like scripting
errors. If you know a little about scripting you could install the Microsoft
Script Debugger and then hit Yes when you get one of those errors and see
the line in the debugger that is causing it, it might help you determine
what the problem is.
Often these errors are down to libraries that are used by multiple sites
that have flaws in them which don't affect the script running, but are
enough to trigger the debug dialog in IE. You could disable the debug
scripts options in the IE advanced settings and ignore them, if the page
seems to work fine despite the errors then this is what I tend to do.
--
Dan
|