Solved

The difference between a System DSN and a User DSN in Windows 7

Posted on 2011-09-21
5
386 Views
Last Modified: 2012-06-27
While signed in to a Windows 7 Pro 64-bit machine as an Admin, we noticed that when building a System DSN (Administrative Tools > Data Sources), the creation and test would succeed and the user name would save, but the password would not.  As such, the DSN would never work properly.  Creating a User DSN however would store the password correctly.  This seems to be different than in both XP and Vista (or at least XP) and we wanted to know if anyone knew the reason why.  Thanks.
0
Comment
Question by:james_axton
[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
  • 2
5 Comments
 
LVL 50

Assisted Solution

by:jcimarron
jcimarron earned 40 total points
ID: 36581463
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 36581602
I don't recall this working on XP even. If you want to store the Password, either use a File/User DSN. Is it not possible to use Trusted Authentication (using their current logon credentials)?

What type of DSN are you creating?
0
 

Author Comment

by:james_axton
ID: 36588488
jcimarron - thank you for the link.  We do understand the difference between the types but still found it strange that in Windows 7 we couldn't save a password and had to revert to a User DSN.  

johnb6767 - even though it disappears after the initial creation of the System DSN, yes - in XP it holds and passes the password to the SQL Server.  This work is at an office that's moving from XP machines to Windows 7 machines.  The XP machines have ubiquitous System DSNs that have been working for many years.  When we attempted to mimic those DSNs in Windows 7 (as System DSNs) we hit this problem.  The solution was to create User DSNs (as I said) but it made us wonder why things changed across the versions.  
   
0
 
LVL 66

Accepted Solution

by:
johnb6767 earned 85 total points
ID: 36590117
Ill have to play with that. I just dont rememebr that ever being avialable as an option in a SysDSN in XP. Course, most of my work with them is either using a SQL ID where it prompts, or Trusted Auth.....
0
 

Author Comment

by:james_axton
ID: 36590960
A prompt or TA would be a much better solution but we were trying to leave the existing infrastructure in place.  Long story.  
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

Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses

732 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