Microsoft KB Archive/281293

From BetaArchive Wiki

Article ID: 281293

Article Last Modified on 11/5/2003



APPLIES TO

  • Microsoft SQL Server 2000 Standard Edition



This article was previously published under Q281293

BUG #: 236652 (SHILOH_bugs)

SYMPTOMS

The SQL Mail feature of SQL Server 2000 does not work if Microsoft Outlook 2000 is not installed on the server that functions as the mail client.

If Microsoft Outlook 2000 is not installed on the server that is the mail client and you attempt to use the SQL Mail features of SQL Server 2000, the following symptoms occur on a computer that is running either Microsoft Windows NT 4.0 Service Pack 5 (SP5) or Service Pack 6a (SP6a) or Microsoft Windows 2000:

  • In the SQL Server 2000 Enterprise Manager, no profiles are listed in the Profile Name drop-down list. NOTE: You can get to the Profile Name drop-down list by following these steps:

    1. Expand the Support Services folder.
    2. Right-click SQL Mail, and then click Properties.

    If you do type a valid profile name in the Profile Name box, and you then click the Test button, you receive the following error message:

    Error 18025 : xp_test_mapi_profile failed with mail error 0x80040106

  • In the SQL Server 2000 Query Analyzer, each of the following EXEC statements returns the error message listed underneath the statement:

    exec xp_test_mapi_profile <profile_name>

    Server: Msg 18025, Level 16, State 1, Line 0
    xp_test_mapi_profile : failed with mail error 0x80070057

    exec xp_get_mapi_default_profile

    Server: Msg 18025, Level 16, State 1, Line 0
    xp_get_mapi_default_profile: failed with mail error 0x80040106

    exec xp_get_mapi_profiles

    Server: Msg 18025, Level 16, State 1, Line 0
    xp_get_mapi_profiles: failed with mail error 0x80040106

    exec xp_startmail

    Server: Msg 18024, Level 16, State 1, Line 0
    xp_startmail: failed with operating system error 2


CAUSE

The SQL Mail feature of SQL Server 2000 only supports extended MAPI, and needs the client DLLs to be able to work with MAPI in a service.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack


Hotfix

NOTE: The following hotfix was created prior to Microsoft SQL Server 2000 Service Pack 1.

The English version of this fix should have the following file attributes or later:

   Date          Version      File name     
   ----------------------------------------

   11/10/2000    8.00.0220    SQLMap70.dll    

NOTE: Due to file dependencies, the most recent hotfix or feature that contains the preceding files may also contain additional files.

STATUS

Microsoft has confirmed that this is a problem in Microsoft SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.

MORE INFORMATION

The following list describes some supported and unsupported configurations for using the SQL Mail feature of SQL Server 2000:

  • SQL Mail 2000 does not and will not work with Windows Messaging.


  • SQL Mail 2000 is not supported with Microsoft Outlook 97.
  • SQL Mail 2000 works with Microsoft Outlook 98 with the 8.00.0220 SQLMap70.dll. This only applies if Outlook 98 is installed with Microsoft Exchange support (by choosing the Corporate or Email Workgroup Services option), even to connect to a SMTP/POP3 server.
  • SQL Mail 2000 works with Outlook 2000.



Additional query words: sqlmail email e-mail emails e-mails message messages msg msgs

Keywords: kbbug kbfix kbqfe kbsqlservmail kbsqlserv2000sp1fix KB281293