FFAPI: ERR MSG: Unknown Service or Bad Address

Last reviewed: October 20, 1997
Article ID: Q106623
2.10 3.00 MS-DOS kb3rdparty

The information in this article applies to:

  • Microsoft Mail Software Development Kit: FFAPI for Gateways and Applications, versions 2.1, 3.0

SYMPTOMS

Microsoft Mail File Format API (FFAPI) "put" programs may return the following errors:

   151-1-2 - Unknown service xxx
   142-1-2 - Bad Address

CAUSE

File Format API (FFAPI) uses address type CSI (for Consumer Software Inc.) to denote a Microsoft Mail style address. For example, if a foreign directory synchronization message is being submitted to MS Mail Directory Synchronization from FFAPI, the "TO:" line could be one of the following:

   TO:CSI:net/po/$system
   TO:net/po/$system

Inside the message body, however, address updates and the reqname field use address type PCM (for PC Mail) because this part of the message is processed by directory synchronization. For example:

   [dirsync]
   task=export
   reqname=PCM:net/po
   transactions=inbody

   [dirsync-transactions]
   1200 A Martin, Robert   PCM:net/po/rmartin

RESOLUTION

Specify address type CSI or no address type at all whenever FFAPI has to interpret the address. Otherwise, use address type PCM.


Additional reference words: import errmsg
KBCategory: kb3rdparty
KBSubcategory: MailGWSFFAPI


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.