Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

What would cause DSN file to change database to master? Expand / Collapse
Author
Message
Posted Wednesday, April 29, 2009 8:22 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 12:20 PM
Points: 6,545, Visits: 8,763
Users access sql server via MS Access 2003, with DSN connections. In sql, there is a domain group where the default db is set to their db. Yesterday users started having problems, where they weren't seeing the tables in their database. It ends up that somehow, all users have had their dsn's changes from their db to master. The group login was still pointing to their db.

What would cause this?


Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then DON'T USE IT on a production system! After all, you will be the one supporting it!
Links: For better assistance in answering your questions, How to ask a question, Performance Problems, Common date/time routines,
CROSS-TABS and PIVOT tables Part 1 & Part 2, Using APPLY Part 1 & Part 2, Splitting Delimited Strings
Post #706859
Posted Wednesday, April 29, 2009 9:25 AM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Monday, April 14, 2014 1:34 PM
Points: 15,442, Visits: 9,588
Most likely, a change in the domain. Otherwise, something changed in the DNS files or the server.

- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread

"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Post #706944
Posted Wednesday, April 29, 2009 10:29 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 12:20 PM
Points: 6,545, Visits: 8,763
GSquared (4/29/2009)
Most likely, a change in the domain.

Agreed. Investigating to see if any updates might have been pushed to the workstations.

Otherwise, something changed in the DNS files

What would have changed them? The users didn't. They need the help desk to make the changes.

or the server.

What could have changed on the server to affect multiple users DSN entries? Since these are "System" DSNs, all of the settings are stored in the user's registry... and the user's can't get to that except through the "Data Sources (ODBC)" control panel applet.

I just got back from visiting the users. They all share an access "program" (though only one can be in it at a time). They are using linked tables with the DSN. This needs for all of the users to have the same named DSN, with the same properties. Some of the users had a different name (space vs. underscore). However, several also had their "Change the default database to:" unchecked, and those had the "master" database selected (though dimmed).

Once the DSNs are changed to be consistent, then there doesn't appear to be any problems.

But, with many users, this is a PIA. I'm just looking for ways that all of these user's settings could have been altered.


Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then DON'T USE IT on a production system! After all, you will be the one supporting it!
Links: For better assistance in answering your questions, How to ask a question, Performance Problems, Common date/time routines,
CROSS-TABS and PIVOT tables Part 1 & Part 2, Using APPLY Part 1 & Part 2, Splitting Delimited Strings
Post #707032
Posted Wednesday, April 29, 2009 10:38 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: 2 days ago @ 11:24 AM
Points: 32,781, Visits: 14,942
Any changes to databases? renames?






Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #707041
Posted Wednesday, April 29, 2009 11:36 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 12:20 PM
Points: 6,545, Visits: 8,763
Nothing about the databases or the servers the database is on was changed.

Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then DON'T USE IT on a production system! After all, you will be the one supporting it!
Links: For better assistance in answering your questions, How to ask a question, Performance Problems, Common date/time routines,
CROSS-TABS and PIVOT tables Part 1 & Part 2, Using APPLY Part 1 & Part 2, Splitting Delimited Strings
Post #707089
Posted Thursday, January 26, 2012 4:39 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, January 26, 2012 4:37 PM
Points: 1, Visits: 17
Just today, Similar scenario occurred for all the users at my end as well. System DSN for a DB somehow got changed to master on that server for al teh users in domain. Now, Though I am able to change the DSN back to the db manually on my local machine, but it is still a chaos among all other users. I checked with the DBA and there was no change to the database or the server hosting the database. Please keep posted if someone finds the reason and how do you deal with such situation.
Post #1242526
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse