IE Script Error message when Printing: access denied?

Dennis Faas's picture

Die-hard Infopackets Reader Colette C. writes:

" Dear Dennis,

I love your newsletter! It's very informative and gives us 'technologically challenged' folk a chance to understand what the heck is going on in the world of computers. Speaking of 'What the heck is going on?'...

Occasionally, an error message appears in Internet Explorer when I try to print out something. It reads: 'Internet Explorer Script Error: An error has occurred in the script on this page. Error: Access is denied. Line: 93 Char: 1, Error: Access denied: 0, URL: res://C:\WINDOWS \ SYSTEM \ SHDOCLC.DLL / preview.dlg. Do you want to continue running scripts on this page?'

Do you have any suggestions as to what might be causing it and what I can do to remedy the problem? As usual, your advice is appreciated, and I look forward to your response. "

My Response:

The error message may be appearing because the web site you are visiting contains a script (code / Javascript), and the Print Preview page is unable to reproduce the script in the preview pane.

You can disable script debugging in Internet Explorer so you bypass the message altogether. To do this:

  • Launch Internet Explorer
  • Click Tools -> Internet Options, and go to the Advanced Tab
  • Under the Browsing Header, click "Disable script debugging"

Unfortunately, this didn't solve Colette's Problem.

She emailed me back:

" Thanks for the information Dennis. I did as you recommended but the debugging is already disabled. I'm not sure what other things can be causing this problem. Any other ideas? Thanks again for all your help."

I decided to search Google for a solution by typing in "script error print access denied internet explorer" as my query. I managed to find a web site which detailed the exact error message Colette previously described.

From the web site (above) coupled with Microsoft's web site, I extracted the following solution:

Cannot Print in Internet Explorer if Surfairy Is Installed

When Divago Surfairy is installed on a computer that is running Internet Explorer 6 Service Pack 1(SP1) or the August 22, 2002, cumulative patch for Internet Explorer, you cannot print or use the Print Preview feature in Internet Explorer.

The web site then linked to the Microsoft Web site, where I found uninstall instructions for Surfairy:

  1. Click Start, and then click Run.
  2. Type "c:\program files\surfairy\uninstall.exe", and then press ENTER.
  3. Follow the instructions that appear on your screen.

You may be able to work around this problem by disabling third-party browser extensions in Internet Explorer. To do so, follow these steps:

  1. Start Internet Explorer.
  2. On the Tools menu, click Internet Options.
  3. Click the Advanced tab.
  4. Click to clear the Enable third-party browser extensions (requires restart) check box.
  5. Click Apply, and then click OK.

For full details, visit the Microsoft Web Site:

Rate this article: 
Average: 1 (2 votes)