Technical Reference: FIX: MSIE Print causes res//C:\WINDOWS\System32\shdoclc.dll/preview.dlg

When trying to print from IE (MSIE, Microsoft Internet Explorer) you get a similar message:

Internet Explorer Script Error

An error has occurred in the script on this page
Line:  93
Char:  1
Error: Access is denied.
Code:  0
URL:  res//C:\WINDOWS\System32\shdoclc.dll/preview.dlg

We have found that performing a system clean of Adware can fix this.

We use AdAware, Spybot Search & Destroy, and for more advanced users HiJackThis.  Click here for our recommended list of spyware cleaners.

My best guess is that one of the adware programs is the type that "read" the page in order to pop-up ads relating to what you are currently browsing.  In doing so, it chokes on some of the code in the page you are trying to print.

Related Information:
811165 - Cannot Print in Internet Explorer if Surfairy Is Installed


If you are getting this when printing from Outlook 2000/2003:

Error Message:

Internet Explorer Script Error
An error has occurred in the script on this page.
Line: 1344
Char: 1
Error: Unspecifiec error.
Code: 0
URL: res://C:\WINDOWS\System32\shdoclc.dll/preview.dlg

Do you want to continue running scripts on this page?
Yes No"

Try this: Click Start / Run / regsvr32 ole32.dll

This article viewed 83148 times as of 05/26/2024 --- First published on 07/27/2004 --- Last modified on 07/27/2004

<< Back to Articles

Note: Some of our articles were originally published several years ago. There may be errors or newer information. If you find an error, please use the Contact page to let us know. We create these articles as a public benefit to our fellow IT Support and network administration professionals.