SQL Server->> MSG 7411, Level A, State 1, Line 1--The Server ' XXXX ' is not a configured for RPC.

Source: Internet
Author: User

With regard to the problem, there are two related server options.

  execSp_serveroption@server='cia-sh-svr-sis',@optname='RPC',@optvalue='true'  execSp_serveroption@server='cia-sh-svr-sis',@optname='RPC out',@optvalue='true'  


There are usually two ways to fetch data from the linked server. The first is access with a full path, that is, select*From[Server].[Database]sysobjects 。 The other is with the exec (<cmd>) at linked_server.

The first approach seems to be unaffected by the two RPC options above, at least if I set them all to false, you can still select data from linked server. The second option is to set RPC out to true, and I tried to return the data in the second method if RPC was false. Test environment: Microsoft SQL Server (X64) Enterprise Edition.

SQL Server->> MSG 7411, Level A, State 1, Line 1--The Server ' XXXX ' is not a configured for RPC.

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.