SQL Server’da Blocked Access to STATEMENT ‘OpenRowset/OpenDatasource’ of Component ‘Ad Hoc Distributed Queries’ Hatası
![](https://sqlserveregitimleri.com/wp-content/uploads/2023/07/sql-serverda-blocked-access-to-statement-openrowset-opendatasource-of-component-ad-hoc-distributed-queries-hatasi.jpg)
Herkese merhaba. Bu yazıda SQL Server’da blocked access to STATEMENT ‘OpenRowset/OpenDatasource’ of component ‘Ad Hoc Distributed Queries’ hatası hakkında bilgi vereceğim.
SQL Server’da Excel’den veri okurken bu tarz bir hata ile karşılaşabilirsiniz.
Aşağıdaki sorguyu aşağıdaki çalıştırırsanız hata gidecektir.
EXEC sp_configure 'show advanced options', 1
RECONFIGURE WITH OVERRIDE
GO
EXEC sp_configure 'ad hoc distributed queries', 1
RECONFIGURE WITH OVERRIDE
GO
Herkese çalışma hayatında ve yaşamında başarılar kolaylıklar.