Group:  Microsoft Outlook ยป microsoft.public.outlook.printing
Thread: Emails don't print--"A Runtime Error has occurred"

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Emails don't print--"A Runtime Error has occurred"
sek0910 22.06.2006 21:05:01
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
Re: Emails don't print--"A Runtime Error has occurred"
"Hal Hostetler [MVP P/I]" <hhh[ at ]kvoa.com> 28.06.2006 04:22:36
This might fix the problem; go to 'Start|Run', type:

regsvr32 ole32.dll

and click OK.

Hal
--
Hal Hostetler, CPBE -- hhh[ at ]kvoa.com
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" <sek0910[ at ]discussions.microsoft.com> wrote in message
news:55C4D490-FAC9-4BA5-AC44-4175AABF8650[ at ]microsoft.com...
[Quoted Text]
> 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


Re: Emails don't print--"A Runtime Error has occurred"
Frosty 06.07.2006 07:12:01
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 [MVP P/I]" wrote:

[Quoted Text]
> This might fix the problem; go to 'Start|Run', type:
>
> regsvr32 ole32.dll
>
> and click OK.
>
> Hal
> --
> Hal Hostetler, CPBE -- hhh[ at ]kvoa.com
> 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" <sek0910[ at ]discussions.microsoft.com> wrote in message
> news:55C4D490-FAC9-4BA5-AC44-4175AABF8650[ at ]microsoft.com...
> > 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
>
>
>
Re: Emails don't print--"A Runtime Error has occurred"
Nallis 06.07.2006 17:43:02
I have the exact same Runtime error as described below by Frosty. If there
is a fix, please let me know by enail at nallis[ at ]bellsouth.net. Thanks...

"Frosty" wrote:

[Quoted Text]
> 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 [MVP P/I]" wrote:
>
> > This might fix the problem; go to 'Start|Run', type:
> >
> > regsvr32 ole32.dll
> >
> > and click OK.
> >
> > Hal
> > --
> > Hal Hostetler, CPBE -- hhh[ at ]kvoa.com
> > 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" <sek0910[ at ]discussions.microsoft.com> wrote in message
> > news:55C4D490-FAC9-4BA5-AC44-4175AABF8650[ at ]microsoft.com...
> > > 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
> >
> >
> >
Re: Emails don't print--"A Runtime Error has occurred"
"Dutch5899" <ryand[ at ]usmetalco.com> 06.07.2006 17:43:45
I experienced the same message since I installed IE7 B3. I have
searchede everywhere but not found a solution have you?

Frosty wrote:
[Quoted Text]
> 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 [MVP P/I]" wrote:
>
> > This might fix the problem; go to 'Start|Run', type:
> >
> > regsvr32 ole32.dll
> >
> > and click OK.
> >
> > Hal
> > --
> > Hal Hostetler, CPBE -- hhh[ at ]kvoa.com
> > 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" <sek0910[ at ]discussions.microsoft.com> wrote in message
> > news:55C4D490-FAC9-4BA5-AC44-4175AABF8650[ at ]microsoft.com...
> > > 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
> >
> >
> >

Re: Emails don't print--"A Runtime Error has occurred"
"Brian Tillman" <tillman1952[ at ]yahoo.com> 06.07.2006 20:35:56
Dutch5899 <ryand[ at ]usmetalco.com> wrote:

[Quoted Text]
> 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.
--
Brian Tillman
Re: Emails don't print--"A Runtime Error has occurred"
Frosty 06.07.2006 23:06:01
I can confirm now that this is an Internet Explorer v7 Beta 3 issue. I have
installed IE7b3 on another machine [ at ] 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


"Frosty" wrote:
[Quoted Text]
> 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.

Re: Emails don't print--"A Runtime Error has occurred"
Frosty 07.07.2006 07:34:01
I can now confirm that, for me anyway, uninstalling IE7b3 does restore the
ability to print from the Reading Pane view.

Steve

"Frosty" wrote:
[Quoted Text]
> I can confirm now that this is an Internet Explorer v7 Beta 3 issue. I have
> installed IE7b3 on another machine [ at ] 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.

Re: Emails don't print--"A Runtime Error has occurred"
rjclaro[ at ]gmail.com 07.07.2006 11:09:59
I'm experiencing the same problem. Any news to solve this?

Re: Emails don't print--"A Runtime Error has occurred"
"Brian Tillman" <tillman1952[ at ]yahoo.com> 07.07.2006 16:07:10
rjclaro[ at ]gmail.com <rjclaro[ at ]gmail.com> wrote:

[Quoted Text]
> I'm experiencing the same problem. Any news to solve this?

Like the previous person said: uninstall IE7
--
Brian Tillman
Re: Emails don't print--"A Runtime Error has occurred"
coen 11.07.2006 18:11:01
For me the same problem. If somebody konw the solution I am very happy. It
likes a bug in IE 7Coen

"Brian Tillman" schreef:

[Quoted Text]
> rjclaro[ at ]gmail.com <rjclaro[ at ]gmail.com> wrote:
>
> > I'm experiencing the same problem. Any news to solve this?
>
> Like the previous person said: uninstall IE7
> --
> Brian Tillman
>
Re: Emails don't print--"A Runtime Error has occurred"
Brian G. 18.08.2006 23:04:01
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!

"coen" wrote:

[Quoted Text]
> For me the same problem. If somebody konw the solution I am very happy. It
> likes a bug in IE 7Coen
>
> "Brian Tillman" schreef:
>
> > rjclaro[ at ]gmail.com <rjclaro[ at ]gmail.com> wrote:
> >
> > > I'm experiencing the same problem. Any news to solve this?
> >
> > Like the previous person said: uninstall IE7
> > --
> > Brian Tillman
> >

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net