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.

239 Kez Okundu

Kategoriler: