Solved

How can I allow all users access to named pipes.

Posted on 2007-12-03
2
1,750 Views
Last Modified: 2013-11-28
Im having trouble running reports from a MSAccess 2000 database via tables linked to a SQL 6.5 database. ODBC SQL driver version 2000.85.1022.00

When the reports are run by an administrator the ODBC connection runs via named pipes as expected. However for regular users the ODBC connection defaults to TCP/IP and the queries take an inordinate amount of time to run or fail to complete.

When a user attempts to reconfigure the ODBC connection to named pipes, they get the following message from SQL Client Network Utility.

Your login account does not have the permissions required to make this operation. Consult your system administrator to obtain the required permissions in your windows registry.

If the user is given administrative rights the ODBC connection configuration then defaults to named pipes.
0
Comment
Question by:russell_its
2 Comments
 
LVL 4

Accepted Solution

by:
Sowmya_K earned 500 total points
ID: 20401194
Hi,
Machine\Users should have access to the following key on the local machine:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS
SQLServer\Client\ConnectTo

Local machine users group requires;
Query Value, Enumerate Subkeys, Notify & Read Control

Hope it helps!
0
 

Author Comment

by:russell_its
ID: 20408112
Hi
Thanks for the info. Users had those permissions already but it pointed me in the right direction.
Using regmon I found that when attempting to modify the ODBC connection method, access was being denied to CreateKey in both

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS
SQLServer\Client\ConnectTo and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MS
SQLServer\Client\DB-Lib.

Consequently I had to add Set Value and Create SubKey to the local machine users group
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question