Article ID: 183290 - Last Review: October 28, 2006 - Revision: 3.6 XFOR: Notes Client Gets Error Message: Error Loading MetafileThis article was previously published under Q183290 IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. On This PageSYMPTOMS
A Lotus Notes client (versions 4.5 and 4.6) may receive the following
error message:
Error loading Metafile
NOTE: For additional diagnostic symptoms of this issue, see the following Microsoft Knowledge Base article: 179197
(http://support.microsoft.com/kb/179197/EN-US/
)
XFOR: Notes Client Receives "Error Loading Metafile"
This problem can occur when all of the following statements are true:
CAUSE
The Lotus Notes client's export\import filters do not properly convert
inline bitmaps within a Rich Text Format (RTF) structure into a valid
Composite Data structure.
WORKAROUND
A Visual Basic for Applications (VBA) macro can be employed within the
Exchange client's enabling WordMail document template (Email.dot by
default) to replace the default Edit and Paste behavior of WordMail. A code
sample is provided below. Please read the MORE INFORMATION section and ALL
the information about this macro before using it.
WARNING: Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or Microsoft Advisory Services. For more information, visit these Microsoft Web sites: Microsoft Certified Partners - https://partner.microsoft.com/global/30000104 (https://partner.microsoft.com/global/30000104) Microsoft Advisory Services - http://support.microsoft.com/gp/advisoryservice (http://support.microsoft.com/gp/advisoryservice) For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site: http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS (http://support.microsoft.com/default.aspx?scid=fh;en-us;cntactms) The following macro changes the default behavior of the Edit and Paste functionality within any composition by using a document template (a Xxxxxxx.dot file) that has this macro added to it. It is recommended that you do the following:
Using the MacroThe macro is engaged whenever the user clicks Paste from the Edit menu, or alternatively whenever the user uses the Paste toolbar button or the shortcut key combination CTRL+V. The macro's action remains transparent to the user.The macro is selective about when, and if, it changes existing Edit and Paste behavior. It only changes existing behavior if the data pasted is of datatype DIB (device independent bitmap). Word identifies desktop screen captures as DIBs. Images cut and pasted from other applications usually carry the application's or object's OLE identity with them, and Word treats them as OLE objects within the document or message composition. The macro results in the screen capture being included in the document or message as an OLE Word object instead of an inline bitmap within the RTF_Body. These Word objects traverse the Connector for Lotus Notes and can be successfully rendered within the Notes client. Issues with Using this MacroThere are two issues with using this macro:
Installing the TemplateManual installation of a new template requires the following steps:
WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. For information about how to edit the registry, view the "Changing Keys And Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. With automated methods for installing the template, for example, Microsoft Systems Management Server, you must place the file in the desired location and specify the full path and file name to the template in the following registry value: For Office 98: HKEY_Current_User\Software\Microsoft\Office\8.0\Word\Stationary For Office 95: HKEY_Current_User\Software\Microsoft\Office\7.0\Word\Stationary Default Template:REG_SZ:<full-path-and-filename-to-document-template> RESOLUTION
Microsoft has modified the Exchange Notes Connector to improve
interoperability between Lotus Notes and Microsoft Exchange Server.
To obtain this feature, obtain the latest service pack for Exchange Server version 5.5. For more information, please see the following article in the Microsoft Knowledge Base: 191014
(http://support.microsoft.com/kb/191014/EN-US/
)
XGEN: How to Obtain the Latest Exchange Server 5.5 Service Pack
This feature was first included in Exchange Server 5.5 Service Pack 2. STATUS
Lotus Notes is manufactured by Lotus, a vendor independent of Microsoft; we
make no warranty, implied or otherwise, regarding this product's
performance or reliability.
MORE INFORMATION
The WordMail default action for pasting screen captures into an e-mail
composition is to paste the capture (recognized by WordMail as a device
independent bitmap [DIB]) from the clipboard into the message body as an
inline bitmap within the Rich Text Format (RTF) body of the composition.
Inline bitmaps are fully supported by the current RTF specification, and
RTF is a native document format of Microsoft Exchange Server.
The Lotus Notes native document format is Composite Data (CD). The Lotus Notes client provides Export\Import filters (Nxrtf.dll and Nirtf.dll), which include transforms for converting RTF-to-CD and vice versa. The Exchange Notes Connector and the earlier LinkAge Notes Connector rely on the functionality available in these Notes DLLs for conversion of RTF-to-CD (Exchange message body converted from Exchange Server to Notes) and CD-to- RTF (Notes message body converted from Notes to Exchange Server). Lotus Development has not updated these conversion routines to support the current RTF specification, and the routines do not properly handle RTF structures with inline bitmaps within the RTF_Body. The result is that a message that cannot be rendered can be delivered to the Notes recipient. APPLIES TO
| Article Translations
|
Back to the top
