IE Script Error in OE when trying to print

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I get this error when trying to print a newsletter I subscribe to while in O
--------------------------------------------------------------------------------
Line: 1344
Char: 1
Error: Unspecified error.
Code: 0
URL: res://C:\WINDOWS\system32\shdoclc.dll/preview.dlg

Do you want to continue running scripts on this page?
---------------------------------------------------------------------------
I use an HP PSC 2175 printer.

I can get around it by copying everything into Word or Easy Word and
printing the text. But then the pictures are lost. I know this has
something to do with HTML setting somewhere, but can't find it.

Anyone know how to fix this?

Thank you.

Never used to see this.
 
Windows version?

Are you fully up-to-date at Windows Update?

Did you just recently upgrade to IE6 SP1?
 
Sorry-everything's uptodate in Kansas City! XP Home, SP2, all upgrades
through last Tuesday's bunch. All Java updates and to the best of my
knowledge all MS script updates. Unless they come in packages other than
what one finds at the Windows Update site.
 
I did it and that didn't stop it either. Given the hundreds of posts I found
about this on the web it seems to be something much more pernicious.

What's next? I'll keep looking on the web.
 
One of last week's patches was a Cumulative Security Update for IE
(MS05-025, KB883939). If your anti-virus application was running in the
background (or you had other IE windows open) when this update was
installed, you may have gotten a "dirty" install which may be causing the
problem.

Try this:

With your AV app and all other applications closed, uninstall 'Security
Update for Windows XP (KB883939)' via Add/Remove Programs and reboot.

In the same environment, go to Windows Update, download/install KB883939
again and reboot.

To assure a clean install, your anti-virus application should be disabled
and all other running processes closed before installing/uninstalling
anything, including Windows Updates.
 
This is goofy. I cannot see that Hotfix with Add/REmove programs or a third
party uninstaller I have. I went to Windows Update and it scanned my machine
and found no updates. Now what? Can't uninstall if I can't see and I'm not
sure how to force it to the surface.

What is your advice, please?
 
I can see this file in Explorer

$NtUninstallKB883939$

It is obviously there, but Add/Remove Programs doesn't see it. Do I just
delete this, or is that a recipe for disaster?
 
Found it. Thank you, never noticed that button before. It didn't help. I
uninstalled and reinstalled. Same thing.

What's next? There are some hairy Registry fixes out on the web--far beyond
my comfort level. What in the world might cause this? I have downloaded
many, many Windows updates in the past with nothing like this. So, maybe the
update isn't it. Obviously, the reinstall didn't do it.
 
I've tried everything you've suggested and a bunch of other stuff that other
folks have offered from other sources. I did Sys Restore finally to before
the updates last week. No help at all. I doubt whether printer drivers are
responsible--no one else has gotten rid of this thing by reinstalling them.
I can print just fine from IE or any other application I try. It is only
emails in OE that give the error. This is clearly a MS issue and it needs to
be escalated up the ladder to them to get help. Can an MVP get their
attention? Nobody else seems able to do it.

Unless you have another idea---I think I'll try to boot in Safe Mode and see
it that gets around it. Let you know what happens.
 
In
benedict1 said:
I've tried everything you've suggested and a bunch of other stuff
that other folks have offered from other sources. I did Sys Restore
finally to before the updates last week. No help at all. I doubt
whether printer drivers are responsible--no one else has gotten rid
of this thing by reinstalling them. I can print just fine from IE or
any other application I try. It is only emails in OE that give the
error. This is clearly a MS issue and it needs to be escalated up
the ladder to them to get help. Can an MVP get their attention?
Nobody else seems able to do it.

Unless you have another idea---I think I'll try to boot in Safe Mode
and see it that gets around it. Let you know what happens.

I had the same problem which was fixed by a suggestion in OE newsgroup
which I have copied whole:

************************************************
Re: Outlook Express Printing Problem
For the benefit of others here and archiving, the purported fix is:

<QP>
Solution: From a Win2000 machine export these files from the registry
and
import on the machine with the print problem/script error. These work on
both 2000 and WinXP.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{00000320-0000-0000-C000-
000000000046}] @="PSFactoryBuffer"

[HKEY_CLASSES_ROOT\CLSID\{00000320-0000-0000-C000-
000000000046}\InprocServer32] @="C:\\WINNT\\system32\\ole32.dll"
"ThreadingModel"="Both"

[HKEY_CLASSES_ROOT\Interface\{0C733A30-2A1C-11CE-ADE5-
00AA0044773D}] @="ISequentialStream"

[HKEY_CLASSES_ROOT\Interface\{0C733A30-2A1C-11CE-ADE5-
00AA0044773D}\NumMethods] @="5"

[HKEY_CLASSES_ROOT\Interface\{0C733A30-2A1C-11CE-ADE5-
00AA0044773D}\ProxyStubClsid32]
@="{00000320-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\Interface\{0000000c-0000-0000-C000-
000000000046}] @="IStream"

[HKEY_CLASSES_ROOT\Interface\{0000000c-0000-0000-C000-
000000000046}\NumMethods] @="14"

[HKEY_CLASSES_ROOT\Interface\{0000000c-0000-0000-C000-
000000000046}\ProxyStubClsid32]
@="{00000320-0000-0000-C000-000000000046}"
</QP>

In the next reply, a poster wrote:

<QP>
I didn't have another Windows machine to export from, so I added the
missing
keys myself by editing the registry. Everything is working properly now.
</QP>

Now, what in the world "breaks" these keys in the first place?
 
benedict1 said:
I get this error when trying to print a newsletter I subscribe to while in OE
--------------------------------------------------------------------------------
Line: 1344
Char: 1
Error: Unspecified error.
Code: 0
URL: res://C:\WINDOWS\system32\shdoclc.dll/preview.dlg


Let's try doublechecking what you have at that line in your version
of that module.

E.g. enter in the Address bar of an IE window:
res://shdoclc.dll/preview.dlg
and do a View Source of the result.

Assuming that opens up a Notepad window make sure
that Word Wrap is unchecked (e.g. in Format menu)
and Status Bar is checked (e.g. in View menu)

Next scroll to line 1344 and see what's there.
E.g. here is what I have from 1338 to 1344 inclusive:

<example>
function CPrintDoc_InitDocument( fUseStreamHeader )
{
var fReallyUseStreamHeader = (fUseStreamHeader && (dialogArguments.__IE_OutlookHeader != null));
this._anMerge[1] = (fReallyUseStreamHeader) ? 1 : 0;
this._nStatus = (fReallyUseStreamHeader) ? 0 : 1;
this.AddFirstPage();
this._aaRect[this._nStatus][0].contentSrc = (fReallyUseStreamHeader)
</example>


FWIW

Robert Aldwinckle
---
 
No--the printer drivers are from HP and are the latest they have-April, 2004.
And, they were installed under the phone supervision of someone from their
Printer Advanced Support Group since there was a problem I couldn't fix when
I set up this new machine and installed the printer--it was a scanning issue
and he got it fixed. For two months everything worked fine until this came
up.

Note the other posts--the scary Registry fix has shown up. Do you recommend
I try it??
 
okay--this is what I have--I hope it's the correct line number set--I have no
numbers indicated in the source so I just found the first line and matched it
to your post. It seems that I have two extra lines--one having something to
do with Outlook, which I do not have on my computer; and , the next one
about a URL entry.
Is this the problem??? Picked these two lines up from God knows Where!!


-----------------------------------------------------------------------------------------

function CPrintDoc_InitDocument( fUseStreamHeader )
{
var fReallyUseStreamHeader = (fUseStreamHeader &&
(dialogArguments.__IE_OutlookHeader != null));
this._anMerge[1] = (fReallyUseStreamHeader) ? 1 : 0;
this._nStatus = (fReallyUseStreamHeader) ? 0 : 1;
this.AddFirstPage();
this._aaRect[this._nStatus][0].contentSrc = (fReallyUseStreamHeader)
? dialogArguments.__IE_OutlookHeader
: this._strDocURL;

--------------------------------------------------------------------------------
Thank you for your help,

benedict1



Robert Aldwinckle said:
benedict1 said:
I get this error when trying to print a newsletter I subscribe to while in OE
--------------------------------------------------------------------------------
Line: 1344
Char: 1
Error: Unspecified error.
Code: 0
URL: res://C:\WINDOWS\system32\shdoclc.dll/preview.dlg


Let's try doublechecking what you have at that line in your version
of that module.

E.g. enter in the Address bar of an IE window:
res://shdoclc.dll/preview.dlg
and do a View Source of the result.

Assuming that opens up a Notepad window make sure
that Word Wrap is unchecked (e.g. in Format menu)
and Status Bar is checked (e.g. in View menu)

Next scroll to line 1344 and see what's there.
E.g. here is what I have from 1338 to 1344 inclusive:

<example>
function CPrintDoc_InitDocument( fUseStreamHeader )
{
var fReallyUseStreamHeader = (fUseStreamHeader && (dialogArguments.__IE_OutlookHeader != null));
this._anMerge[1] = (fReallyUseStreamHeader) ? 1 : 0;
this._nStatus = (fReallyUseStreamHeader) ? 0 : 1;
this.AddFirstPage();
this._aaRect[this._nStatus][0].contentSrc = (fReallyUseStreamHeader)
</example>


FWIW

Robert Aldwinckle
---

Do you want to continue running scripts on this page?
---------------------------------------------------------------------------
I use an HP PSC 2175 printer.

I can get around it by copying everything into Word or Easy Word and
printing the text. But then the pictures are lost. I know this has
something to do with HTML setting somewhere, but can't find it.

Anyone know how to fix this?

Thank you.

Never used to see this.
 
Bear, this is all well and good but I don't know how to put these in the
Registry. Do I copy them? I tried to find them in my Registry with and I
can't them. That's the problem, I'm just a simpleminded old man who wants to
print email messages and I have no experience at this stuff.

I don't even know what he means when after a key he puts"@blahblahblah.."
What does that mean?? Search for that term in the Registry?

Can somebody please help me to learn how to do this?
 
jj have followed this thread closely, have experienced the exact same
problem, believe that MS nust be aware and working the issue, because of
their total lack of addressing the issue anywhere on ms.com
 
In
benedict1 said:
Bear, this is all well and good but I don't know how to put these in
the Registry. Do I copy them? I tried to find them in my Registry
with and I can't them. That's the problem, I'm just a simpleminded
old man who wants to print email messages and I have no experience at
this stuff.

I don't even know what he means when after a key he
puts"@blahblahblah.." What does that mean?? Search for that term in
the Registry?

Can somebody please help me to learn how to do this?

This is how I did it: Copy the following starting at REGEDIT4 using a
text editor (and rejoin each line so that each HKEY item is a single
line) and save as say printer.reg then follow the instructions in the
comments line. Make sure you back up the registry before you do this!

REGEDIT4
: Double click this file
; in Windows Explorer to add these entries to registry.
; Generated on 26/05/2005.

[HKEY_CLASSES_ROOT\CLSID\{00000320-0000-0000-C000-000000000046}]
@="PSFactoryBuffer"

[HKEY_CLASSES_ROOT\CLSID\{00000320-0000-0000-C000-000000000046}\InprocServer32]
@="C:\\WINNT\\system32\\ole32.dll"
"ThreadingModel"="Both"

[HKEY_CLASSES_ROOT\Interface\{0C733A30-2A1C-11CE-ADE5-00AA0044773D}]
@="ISequentialStream"

[HKEY_CLASSES_ROOT\Interface\{0C733A30-2A1C-11CE-ADE5-00AA0044773D}\NumMethods]
@="5"

[HKEY_CLASSES_ROOT\Interface\{0C733A30-2A1C-11CE-ADE5-00AA0044773D}\ProxyStubClsid32]
@="{00000320-0000-0000-C000-000000000046}"

[HKEY_CLASSES_ROOT\Interface\{0000000c-0000-0000-C000-000000000046}]
@="IStream"

[HKEY_CLASSES_ROOT\Interface\{0000000c-0000-0000-C000-000000000046}\NumMethods]
@="14"

[HKEY_CLASSES_ROOT\Interface\{0000000c-0000-0000-C000-000000000046}\ProxyStubClsid32]
@="{00000320-0000-0000-C000-000000000046}"
 
Back
Top