Microsoft KB Archive/274330

= FIX: Sending Open Files as Attachment in SQL Mail Fails with Error 18025 =

Article ID: 274330

Article Last Modified on 10/7/2005

-

APPLIES TO


 * Microsoft SQL Server 2000 Standard Edition

-



This article was previously published under Q274330



BUG #: 236112 (SHILOH_BUGS)



SYMPTOMS
When you attempt to send an open file (for example, SQL Error Log) as an attachment by using SQL Mail, you may receive the following error message (18025):

Server: Msg 18025, Level 16, State 1, Line 0

xp_sendmail: failed with mail error 0x80004005



RESOLUTION
To resolve this problem, obtain the latest service pack for 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.

A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem. This fix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next SQL Server service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:   File name    Platform ---

S80205I.exe Intel X86 NOTE: Because of file dependencies, the most recent hotfix (or feature that contains the above files) may also contain additional files.



WORKAROUND
First make a copy of the open file, and then send it as an attachment.



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

Additional query words: mapi error fileopen handle open sqlmail sqlmapi

Keywords: kbbug kbfix kbqfe kbsqlserv2000sp1fix KB274330

-

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

© Microsoft Corporation. All rights reserved.