October 29, 2009 at 5:36 am
Dear All;
I need to convert the sp to view but in sqlstmt to throw the following
Error Message;
pls help this;
SQL Server blocked access to STATEMENT 'OpenRowset/OpenDatasource' of component 'Ad Hoc Distributed Queries' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'Ad Hoc Distributed Queries' by using sp_configure. For more information about enabling 'Ad Hoc Distributed Queries', see "Surface Area Configuration" in SQL Server Books Online.
Thanks & Advance;
A.Faijurrahuman
October 29, 2009 at 6:01 am
Have you asked the sa for rights to OpenRowSet?
October 29, 2009 at 6:05 am
HOW CAN I CHECK WHETHER THE RIGHTS ARE ENABLED
OR OTHER WISE
HOW TO ASSIGNED THE RIGHTS
October 29, 2009 at 6:26 am
faijurrahuman17 (10/29/2009)
HOW CAN I CHECK WHETHER THE RIGHTS ARE ENABLEDOR OTHER WISE
HOW TO ASSIGNED THE RIGHTS
the error message from MS was really good; it basically said to check the Surface Area Configuration.
Lowell
October 29, 2009 at 6:27 am
Please don't shout at us (type all caps)
sp_configure 'Ad Hoc Distributed Queries'
There is a good reason this is disabled by default. Check with the DBA and whoever's responsible for security before you ask for it to be enabled.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
October 29, 2009 at 6:36 am
Thanks for awsome response;
God Bless you;
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply