Server is not configured for RPC(Remote Procedure Calls)
I was setting up a new database on a new SQL Server 2005 installation that has a few linked servers configured (which happen to be SQL Server 2000), while testing execution of a remote stored procedure it failed with the error:
Msg 7411, Level 16, State 1, Line 1
Server 'psp6new' is not configured for RPC.
The problem was that RPC was not configured for the linked server. this is not set by default, you can see what settings are configured with
exec sp_helpserver
If ‘rpc and rpc out’ are not in the results, then the the linked server isn’t configured for RPC. To do so:
exec sp_serveroption @server='myserver', @optname='rpc', @optvalue='true'
exec sp_serveroption @server='myserver', @optname='rpc out', @optvalue='true'
Or alternatively you can right click on your linked server bring up it’s properties and select True for the value from the RPC and RPC Out rows.
Hope this helps!
Thank you, it worked perfectly
rahul@yahoo.com
August 19, 2013 at 8:54 am
My pleasure!
lordfu
October 18, 2013 at 8:52 am
Thank You worked perfectly – I tried first to execute the sql from another suggestion on another forum and it would not work, then I saw your screen shot and it work perfectly – Thank You.
M Johnson
October 17, 2013 at 4:08 pm
Glad it helped!
lordfu
October 18, 2013 at 8:52 am