Unable to print from IE6

G

Guest

When I attempt to print a page displayed on IE6 i get the following message:

An error has occured in the script of this page.

Line 228
Char 1
Error Interface not registered
Code 0
URL res://C\WINDOWS\System32\shdoclc.dll/preview.dlg

Do you want to keep running scripts on this page.

This only started appearing recently and I knowingly have made no changes to
my computer. Previously I had no problems. I am running V6.0 2900
2180.xpsp_sp2_gdr. Thanks
 
G

Guest

I tried this but see no difference after dowloading and installing. Does the
file automatically install itself in the correct place,or do I have to take
any actions? I also noticed the script debugger. Would this help? I had a
look but it all seems like a foreign language to me.
 
R

Robert Aldwinckle

....
I tried this but see no difference after dowloading and installing. Does the
file automatically install itself in the correct place,or do I have to take
any actions? I also noticed the script debugger. Would this help? I had a
look but it all seems like a foreign language to me.

Did the script debugger show you the contents of line 228?


---
 
G

Guest

I cant get the debugger to run in ie, however it gives an error with outlook
on line 227,please see below:

g_fPreview = dialogArguments.__IE_PrintType == "Preview";

hope this helps.

Bouncy
 
R

Robert Aldwinckle

....
I cant get the debugger to run in ie, however it gives an error with outlook
on line 227,please see below:

g_fPreview = dialogArguments.__IE_PrintType == "Preview";

hope this helps.


I think it does. E.g. it probably helps explain why the regsvr32 command helped.

http://www.msdn.microsoft.com/works...preview/reference/objects/dialogarguments.asp

(MSN search for
dialogArguments site:microsoft.com
)


FYI I found out how we can see the source that the line numbers refer to.
Enter in the Address bar: res://shdoclc.dll/preview.dlg
and then use View Source (Alt-V,c)! That opens a Notepad window
in which (in XP) you can set Word Wrap off (uncheck with Alt-o,W)
and set Status Bar on (check with Alt-V,S). Then scroll to line 228
to see the above line.

BTW when I enter that "URL" in the Address bar it causes its own error message
which is clearer than the one you got and confirms the location of the error in the file.

<example>
Line: 228
Char: 1
Error: 'dialogArguments' is undefined
Code: 0
URL: res://shdoclc.dll/preview.dlg
</example>

I have never been clear in the case of embedded scripts if the line number
was relative to the start of the script or relative to the start of the file which
contained it. I guess we are getting pretty clear evidence from these two
error messages that it is the latter.

It sure would be easier to follow this in the debugger though.

One thing I'm surprised at is that there is no specification of which
script language is to be used. I think it has to be Javascript but
wonder what would happen if some users had VBScript as a default
script language (assuming that that could happen.) Perhaps the caller
establishes that. (Mysteries...)

Glad to see you found a solution.


Robert
---
 
G

Guest

Hi Bouncy:

I have been suffering badly, I almost want to reformat my computer as I
couldn't find any solution that could possiblely fix this problem. I am
having the exactly the same message as you had, so I am wondering which dlls
you actually registered cured the problem.

Many thanks, Kent
 
G

Guest

Yes, I checked these two articles. And did 1) reinstalled Script 5.6; 2)
re-registered both vbscript.dll and jscript.dll file. Still no joy. I even
tried unregisting these two dll files, reboot the computer and re-registered
them again. Sadly, still not working.

Also, I have found that it displays "error:49; Interface not registed" error
message when I was doing a search through the web page.

Any help will be much appreciated. And helper who fixes this problem will
be invited to have a dinner if he/she comes down to Vancouver. :)

Thanks, Kent
 
P

PA Bear

This is what often happens when you piggyback onto someone else's thread,
saying "I have the same problem."

What's *your* Windows version?

OP posted this error message:
An error has occured in the script of this page.
Line 228
Char 1
Error Interface not registered
Code 0
URL res://C\WINDOWS\System32\shdoc­lc.dll/preview.dlg

Is that *exactly* the same as yours? If not, please post it in its
entirety.

Have you re-registered *all* of the DLLs in
http://support.microsoft.com/?kbid=281679?
 
G

Guest

Super, the problem is solved by re-registering all DLL and a reboot. Thanks
all for your helps. It would be much easier for me just not to reformat my
computer which might take me a couple of weeks to fully configured.

Kent
 

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

Top