FIX: Only System Administrators Can Perform Ad Hoc Queries in SQL Server Service Pack 3 (327969)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions) SP3
This article was previously published under Q327969 BUG #: 360547 (SHILOH_BUGS) SYMPTOMSYou may receive one of the following messages when you try
to perform an ad hoc query: Server: Msg 7415, Level 16,
State 1, Line 1 Ad hoc access to OLE DB provider
ProviderName has been denied. You must access this
provider through a linked server. If you are using Oracle, you
receive the following error message: Ad hoc access to OLE
DB provider ProviderName has been denied. You must
access this provider through a linked server. CAUSEBy default, in SQL Server Service Pack 3 (SP3) or later,
users who are not members of the sysadmin role (whether they are using SQL Server or Microsoft Windows
authentication) cannot perform ad hoc queries when the provider registry key is
not present. Only members of the sysadmin role can perform ad hoc queries when the provider registry key is
not present. However, if the provider is SQLOLEDB, all users can perform ad hoc
queries, even if the provider key is not present. RESOLUTION To resolve this problem, obtain the latest
service pack for Microsoft SQL Server 2000. For additional information, click
the following article number to view the article in the Microsoft Knowledge
Base: 290211 INF: How To Obtain the Latest SQL Server 2000 Service Pack STATUS Microsoft has
confirmed that this is a problem in the Microsoft products that are listed at
the beginning of this article.
This problem was first corrected in Microsoft SQL Server
2000 Service Pack 3.REFERENCESSQL Server Books Online: topic: "Configuring OLE DB
Providers for Distributed Queries"
Modification Type: | Major | Last Reviewed: | 10/16/2003 |
---|
Keywords: | kbbug kbfix kbSQLServ2000sp3fix KB327969 kbAudDeveloper |
---|
|