Server ‘<SERVERNAME' is not configured for RPC error

Recently, I was doing a proof of concept on database mirroring and needed to execute a stored procedure on the principal server through linked server. I ran into the following error when I attempt to execute the stored procedure from another server:

Server ‘<SERVERNAME’ is not configured for RPC

Upon further troubleshooting, I discovered that there is an option for ‘RPC’ and ‘RPC Out’. To resolve the issue, ‘RPC Out’ needs to be set to ‘True’ in order to successfully execute the stored procedure. ‘RPC’ allows stored procedure call from the linked server whereas ‘RPC Out’ allows stored procedure calls to go out to the linked server.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: