KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q106623: FFAPI: ERR MSG: Unknown Service or Bad Address

Article: Q106623
Product(s): Microsoft Mail For PC Networks
Version(s): MS-DOS:2.1,3.0
Operating System(s): 
Keyword(s): 
Last Modified: 08-NOV-1999

-------------------------------------------------------------------------------
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 query words: import errmsg

======================================================================
Keywords          :  
Technology        : kbAudDeveloper kbMailSearch kbSDKSearch
Version           : MS-DOS:2.1,3.0

=============================================================================

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.

Copyright Microsoft Corporation 1986-2002.