You setup a linked server in SQL Server Management Studio, on a SQL 2008 server and it works as expected. Another person or user logs into SQL Server Management Studio and tries to view the linked server databases (under Server Objects > Linked Servers > LinkedServerName > Catalogs) and gets the error:
TITLE: Microsoft SQL Server Management Studio ------------------------------ Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476 ------------------------------ ADDITIONAL INFORMATION: An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo) ------------------------------ The EXECUTE permission was denied on the object 'xp_prop_oledb_provider', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229) For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.2500&EvtSrc=MSSQLServer&EvtID=229&LinkId=20476 ------------------------------ BUTTONS: OK ------------------------------
I have encountered this issue and the fix is to run this:
GRANT EXECUTE ON sys.xp_prop_oledb_provider TO [UserDomain\Account Name];
ex. GRANT EXECUTE ON sys.xp_prop_oledb_provider TO [AD\MyLogin]
My personal notes from work -> Shared, Simply & Clearly. Windows Administration, Server Admin, IIS, SharePoint, Web Servers, SQL 2005, SQL 2008, Microsoft SQL Server Management Studio, Microsoft Visual Studio, SSIS, Microsoft System Center, Service Manager SCSM, some Tomcat, and other useful Tips from my daily job.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment