Openrowset Error Messages in sql server

Опубликовано: 24 Февраль 2013
на канале: TheSSScreations
6,577
16

Hi,

In this video we will discuss the following error message which occurs when we are trying to use "OPENROWSET" or "OPENDATASOURCE".

Error Message:
----------------------
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.


We can resolve this error message by using sp_configure. Run the below commands in sql server to resolve the above openrowset error:


sp_configure 'show advanced options', 1
RECONFIGURE
sp_configure 'Ad Hoc Distributed Queries', 1
RECONFIGURE


На этой странице сайта вы можете посмотреть видео онлайн Openrowset Error Messages in sql server длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь TheSSScreations 24 Февраль 2013, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 6,577 раз и оно понравилось 16 зрителям. Приятного просмотра!