SQL Server 2000 error sending mail via linked server

Source: Internet
Author: User
Tags microsoft sql server 2005

Case Environment:

Server A system: Windows Server 2000

Database version: Microsoft SQL Server 2000-8.00.2282 (Intel X86)

Server B System: Windows Server 2003

Database version: Microsoft SQL Server 2005-9.00.5000.00 (Intel X86)

The developer wants to link to Server B via the linked server on Server A, performing exec [LinkedServer]. [Msdb].dbo.sp_send_dbmail

The following two questions were encountered:

1: The following error message is reported when executing the SQL statement

exec [LinkedServer]. [Msdb].dbo.sp_send_dbmail

@profile_name = ' xxxx ',

@recipients = '[email protected]',
@copy_recipients = '[email protected]',
@blind_copy_recipients = '[email protected]',
[email protected] [Email Protected]_string2,
@query_result_width = 300,
@subject = ' xxxxx '

Msg 15404, Level 16, State 10, line 1th

Could not obtain information about Windows NT group/user ' xxxx ', error code 0xffff0002.

Where the error message inside the account is linked to the account used by the server, this error occurs because the mail configuration, the corresponding configuration file name (Profile_name) properties are not public. So this error occurs.

2: After solving the first problem, immediately after the issue 2, execute the above SQL statement, the message was sent successfully. However, the following error message appears:

Msg 0, Level 11, state 0, line No. 0

A critical error has occurred with the current command. Any results that may result should be discarded.

And then it can't be solved, but I tested OK,SQL Server 2008 with SQL Server 2008 on both SQL Server 2005 and SQL Server 2008 is OK. It seems that the problem is still on the SQL Server 2000 Server itself. The specific reason is not very clear.

SQL Server 2000 error sending mail via linked server

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.