Solved

How can I allow all users access to named pipes.

Posted on 2007-12-03
2
1,838 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

617 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