Tim Zych
2007-02-22 01:24:33 UTC
I can run a query that accesses a server and database no problem, as a
developer. The user can run the same query no problem on another database
and server.
When a user tries to run a query (via a VB.Net project), they get an error:
"Ad Hoc access to OLE DB provider 'MSDASQL' has been denied
You must access this provider through a linked server."
The query that it's stopping on, I believe, is using OPENROWSET.
However, I can run this no problem. And, the user can run the query no
problem on another database and server
What must be modified to allow them to run this? The user seems to have the
same rights to the query from what I can see in Enterprise Manager.
SQL Server 2000.
Any help is appreciated. Thanks.
developer. The user can run the same query no problem on another database
and server.
When a user tries to run a query (via a VB.Net project), they get an error:
"Ad Hoc access to OLE DB provider 'MSDASQL' has been denied
You must access this provider through a linked server."
The query that it's stopping on, I believe, is using OPENROWSET.
However, I can run this no problem. And, the user can run the query no
problem on another database and server
What must be modified to allow them to run this? The user seems to have the
same rights to the query from what I can see in Enterprise Manager.
SQL Server 2000.
Any help is appreciated. Thanks.