Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How can I allow all users access to named pipes.

Posted on 2007-12-03
2
Medium Priority
?
1,862 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 1500 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

722 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