Emails don't print--"A Runtime Error has occurred"

G

Guest

suddenly I can't print individual email messages. When I try, I get a
message saying that a Runtime Error has occurred (at Line 1343).

When I debug, I get the following (the last line producing the error):

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;


Any suggestions?
Thanks
 
H

Hal Hostetler [MVP P/I]

This might fix the problem; go to 'Start|Run', type:

regsvr32 ole32.dll

and click OK.

Hal
--
Hal Hostetler, CPBE -- (e-mail address removed)
Senior Engineer/MIS -- MS MVP-Print/Imaging -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Still Cadillacin' - www.badnewsbluesband.com
 
G

Guest

I have a slightly different runtime error, as of yesterday (which happens to
be when I installed IE7beta3, which makes me suspicious). I'm running
Outlook 2003, with all SPs and patches installed. If I am viewing emails in
my Inbox, using the Reading Pane, and I click on the printer icon on the main
Outlook toolbar, I get:

"A Runtime Error has occurred. Do you wish to debug?
Line: 251. Error: Permission Denied."

but ... if instead I open the email by double-clicking on it so that it
opens in its own child window, and then I click on the printer icon on the
toolbar in that window, it prints just fine to the default printer.

This seems to be consistent across all emails in the Inbox, so it doesn't at
this stage appear to be content related.

Any suggestions?
--
*******************
Cogito, ergo Deus est!


Hal Hostetler said:
This might fix the problem; go to 'Start|Run', type:

regsvr32 ole32.dll

and click OK.

Hal
--
Hal Hostetler, CPBE -- (e-mail address removed)
Senior Engineer/MIS -- MS MVP-Print/Imaging -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Still Cadillacin' - www.badnewsbluesband.com

sek0910 said:
suddenly I can't print individual email messages. When I try, I get a
message saying that a Runtime Error has occurred (at Line 1343).

When I debug, I get the following (the last line producing the error):

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;


Any suggestions?
Thanks
 
G

Guest

I have the exact same Runtime error as described below by Frosty. If there
is a fix, please let me know by enail at (e-mail address removed). Thanks...

Frosty said:
I have a slightly different runtime error, as of yesterday (which happens to
be when I installed IE7beta3, which makes me suspicious). I'm running
Outlook 2003, with all SPs and patches installed. If I am viewing emails in
my Inbox, using the Reading Pane, and I click on the printer icon on the main
Outlook toolbar, I get:

"A Runtime Error has occurred. Do you wish to debug?
Line: 251. Error: Permission Denied."

but ... if instead I open the email by double-clicking on it so that it
opens in its own child window, and then I click on the printer icon on the
toolbar in that window, it prints just fine to the default printer.

This seems to be consistent across all emails in the Inbox, so it doesn't at
this stage appear to be content related.

Any suggestions?
--
*******************
Cogito, ergo Deus est!


Hal Hostetler said:
This might fix the problem; go to 'Start|Run', type:

regsvr32 ole32.dll

and click OK.

Hal
--
Hal Hostetler, CPBE -- (e-mail address removed)
Senior Engineer/MIS -- MS MVP-Print/Imaging -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Still Cadillacin' - www.badnewsbluesband.com

sek0910 said:
suddenly I can't print individual email messages. When I try, I get a
message saying that a Runtime Error has occurred (at Line 1343).

When I debug, I get the following (the last line producing the error):

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;


Any suggestions?
Thanks
 
D

Dutch5899

I experienced the same message since I installed IE7 B3. I have
searchede everywhere but not found a solution have you?
I have a slightly different runtime error, as of yesterday (which happens to
be when I installed IE7beta3, which makes me suspicious). I'm running
Outlook 2003, with all SPs and patches installed. If I am viewing emails in
my Inbox, using the Reading Pane, and I click on the printer icon on the main
Outlook toolbar, I get:

"A Runtime Error has occurred. Do you wish to debug?
Line: 251. Error: Permission Denied."

but ... if instead I open the email by double-clicking on it so that it
opens in its own child window, and then I click on the printer icon on the
toolbar in that window, it prints just fine to the default printer.

This seems to be consistent across all emails in the Inbox, so it doesn't at
this stage appear to be content related.

Any suggestions?
--
*******************
Cogito, ergo Deus est!


Hal Hostetler said:
This might fix the problem; go to 'Start|Run', type:

regsvr32 ole32.dll

and click OK.

Hal
--
Hal Hostetler, CPBE -- (e-mail address removed)
Senior Engineer/MIS -- MS MVP-Print/Imaging -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Still Cadillacin' - www.badnewsbluesband.com

sek0910 said:
suddenly I can't print individual email messages. When I try, I get a
message saying that a Runtime Error has occurred (at Line 1343).

When I debug, I get the following (the last line producing the error):

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;


Any suggestions?
Thanks
 
B

Brian Tillman

Dutch5899 said:
I experienced the same message since I installed IE7 B3. I have
searchede everywhere but not found a solution have you?

Uninstall IE7 and see if the problem stops.
 
G

Guest

I can confirm now that this is an Internet Explorer v7 Beta 3 issue. I have
installed IE7b3 on another machine @ home, and Outlook 2003 there is
generating a very similar fault ... it also cannot print unless you open the
email in its own child window ... but the error message is more detailed and
is one line further on in the script. It reports:

Internet Explorer Script Error
Line: 252
Char: 1
Error: Permission denied
Code: 0
URL: res://ieframe.dll/preview.dlg

I have not (yet) tested to see whether removing IE7b3 corrects the problem.

Steve
 
G

Guest

I can now confirm that, for me anyway, uninstalling IE7b3 does restore the
ability to print from the Reading Pane view.

Steve
 
G

Guest

For me the same problem. If somebody konw the solution I am very happy. It
likes a bug in IE 7Coen

"Brian Tillman" schreef:
 
G

Guest

I finally solved it.

Following the installation of IE 7 Beta 3, I had the identical problem and
error message when trying to print from the Outlook reading panel. After
doing some research (including this very useful thread) I tried liberalizing
the security settings in Outlook, but without success.

The solution was to reduce the security setting in IE for Intranet sites to
"low." Then. after shutting down both IE and Outlook, when I restarted
Outlook printing from the reading panel worked again.

Tah-dah!
 

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