Random Runtime Error - Lene 40 - Expected Identifier

A

Andre Uys

I have noticed recently that IE sometime pop-up this error when going to a
webpage:
A Runtime Error has occurred.
Do you wish to debug?
Line: 40
Error: Expected identifier
Yes and No Option to debug

After entering the debug tool, this is the code on line 40
if( '' != window."Hidden-Referrer")

Here is a larger portion of the code that might help to put this line into
perspective: (Did not paste as shown in debug, CR and LF not present)

if(doImage == null) { var a= new Array(); a[0] =
prepTrackingString(window.location.hostname,7); if (TType == null) { a[1] =
prepTrackingString('PV',8); } else { a[1] = prepTrackingString(TType,8); }
a[2] = prepTrackingString(window.location.pathname,0);

if( '' != window."Hidden-Referrer")

{ a[a.length] = prepTrackingString(window."Hidden-Referrer",5); } if
(navigator.userAgent.indexOf("SunOS") == -1 &&
navigator.userAgent.indexOf("Linux") == -1) { buildIMG(a); } }

Here is one website that causes the problem, and yeah, you guessed it, it is
a Microsoft website !!!!
http://www.microsoft.com/Office/clippy/game.asp

What could be the cause of this ?

Thanks
 
M

Mike Burgess

Andre,
if( '' != window."Hidden-Referrer")

Are you using a Firewall or "filtering software"?

Several of these are known to cause problems:
1) Zone Alarm Pro [Private Header Info - enabled?]
Reset "Ad Blocking" and "Cookie Control" to "medium"
"Mobile Code Control" = Off

2) Symantec (ISS\NIS)[Enable Browser Privacy - enabled]
Active Content - "Allow All Script To Execute"
Problem: some sites cannot detect the 128 bit encryption
Solution: Completely remove and reinstall NIS.
[more info]
Web Pages Display a Red "X" Instead of a Graphic
http://support.microsoft.com/?kbid=316545 [Norton Products]

3) Any "ad blocking" software that blocks "http_referer"
or contains entries that are blocking access to the desired site.

4) HOSTS file that contains entries that are blocking access to the desired
site.

5) Cookie blocking software that are blocking "required" Cookies.

6) Pop-up blockers that are stripping header\url info.

7) WebWasher Standard Filter/URL Filter

8) Make sure the following entry is not corrupt:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings]
"User Agent"="Mozilla/4.0 (compatible; MSIE 6.0; Win32)"

Note: "Win32" = Windows 98\ME
Other versions = (compatible; MSIE 6.0; Windows NT 5.0;)

To check your "User Agent":
Paste the below into the Address Bar and view the output:

javascript:navigator.userAgent

[Example]
[WinME] = Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)
[WinXP] = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
_______________________________________
Mike Burgess http://www.mvps.org/winhelp2002/
Blocking Spyware, Adware, Parasites, Hijackers, Trojans, with a HOSTS file
http://www.mvps.org/winhelp2002/hosts.htm [updated 8-11-03]
Please post replies to this Newsgroup, email address is invalid
--
What You Should Know About the Blaster Worm
http://www.microsoft.com/security/incident/blast.asp
--

Andre Uys said:
I have noticed recently that IE sometime pop-up this error when going to a
webpage:
A Runtime Error has occurred.
Do you wish to debug?
Line: 40
Error: Expected identifier
Yes and No Option to debug

After entering the debug tool, this is the code on line 40
if( '' != window."Hidden-Referrer")

Here is a larger portion of the code that might help to put this line into
perspective: (Did not paste as shown in debug, CR and LF not present)

if(doImage == null) { var a= new Array(); a[0] =
prepTrackingString(window.location.hostname,7); if (TType == null) { a[1] =
prepTrackingString('PV',8); } else { a[1] = prepTrackingString(TType,8); }
a[2] = prepTrackingString(window.location.pathname,0);

if( '' != window."Hidden-Referrer")

{ a[a.length] = prepTrackingString(window."Hidden-Referrer",5); } if
(navigator.userAgent.indexOf("SunOS") == -1 &&
navigator.userAgent.indexOf("Linux") == -1) { buildIMG(a); } }

Here is one website that causes the problem, and yeah, you guessed it, it is
a Microsoft website !!!!
http://www.microsoft.com/Office/clippy/game.asp

What could be the cause of this ?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Runtime Error Occurred 1
expected identifier 1
Runtime Error Line 0 Error: Object Expected 1
Runtime Error message 2
Runtime Error 1
Runtime Error 2
Runtime error in IE6 2
Runtime Error 1

Top