Microsoft KB Archive/289020

= PUB2002: Outlook Script Error Message When You Send Publication as E-Mail =

Article ID: 289020

Article Last Modified on 11/5/2003

-

APPLIES TO


 * Microsoft Publisher 2002 Standard Edition

-



This article was previously published under Q289020



SYMPTOMS
When you send as an e-mail message a Microsoft Publisher publication that is based on the Bring-In Advertisement Wizard, the following behavior occurs when the message is received:  When the recipient previews the e-mail message in Microsoft Outlook 2002, the following message is displayed in the preview header:

This HTML message contains script, which Outlook cannot display. This may affect how the message appears.

 When the e-mail message is opened in Microsoft Outlook 2000, the recipient receives the following error message:

An error has occurred in the script on this page.

Line 1197

Char 1

Error 'wrapdiv292' is undefined

Code 0

URL outbind://3-

00000000B66D403D97244A47A3E4F3893561B635C400200

0

Do you want to continue running scripts on this page?





CAUSE
This behavior occurs because Outlook does not allow the Dynamic Hypertext Markup Language (DHTML) script in the publication to run. This script enables the text-wrap feature in the publication.

Because of security risks from e-mail-based viruses, Outlook blocks scripts from running that may compromise computer security.



WORKAROUND
To work around this issue, insert two rectangles that cover the entire publication. To do this, follow these steps:  Start Microsoft Publisher 2002, and then open the Bring-In Advertisement-based publication that you want. On the Insert menu, point to Picture, point to AutoShapes, point to Basic Shapes, and then click the Rectangle shape. Click and drag to position the rectangle around the publication.</li> Repeat steps 2 and 3 to insert a second rectangle into the publication.

NOTE: The rectangles must be inserted into the publication after all other editing is complete. Additionally, you may set the line color of the inserted rectangle shapes to No Line if you want. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Right-click the border of the shape that you want, and then click Format AutoShape on the shortcut menu that appears.</li> In the Format AutoShape dialog box, click the Colors and Lines tab.</li> Under Line, click No Line in the Color list, and then click OK.</li></ol> </li></ol>

Neither of the messages described in the &quot;Symptoms&quot; section of this article is now displayed when the publication is received as e-mail.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

<div class="moreinformation_section">

MORE INFORMATION
If you insert two rectangles that cover the entire publication, Outlook treats the resulting DHTML script as too complex to process when the publication is received as e-mail. Therefore, the script is not blocked, the error message is not generated, and the publication is displayed correctly.

Additional query words: prb

Keywords: kberrmsg kbbug kbnofix KB289020

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.