Solved

How can I allow all users access to named pipes.

Posted on 2007-12-03
2
1,671 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
Comment Utility
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
Comment Utility
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now