•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Windows NT / 2000 / XP / 2003 section within the Tech Talk category of DaniWeb, a massive community of 391,770 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,203 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Windows NT / 2000 / XP / 2003 advertiser:
Views: 55569 | Replies: 9
![]() |
•
•
Join Date: Feb 2004
Posts: 92
Reputation:
Rep Power: 5
Solved Threads: 0
hey guys, i dont know if this is the right forum for SQL errors but i need some help on the following error:
Connection failed:
SQL state: '28000'
SQL Server Error:18452
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
ok, so now that you have the error, here's what i'm doing. in the odbc under the system dsn tab, we have a driver for connection to our case management system which has SQL server installed on that server, its called "dataserver". the way we connect is by just dropping a shortcut from that server right to the desktop. there's no installation on the client machine. we used to be able to connect to this software using TCP/IP connection and "windows NT authenication using the network login ID". our primary server went down, we had to switch to connect through named pipes which is DOGGING everyones connection to that server. we finally brought our primary server back up and tried switching a few people back to TCP/IP and now we get the above error. running windows 2000 server and SQL server 2000, everyone is using w2k pro on all workstations. configurations are all set (at least we think) in enterprise manager. we are using mixed modes, so its set to both SQL authentication AND windows NT. any help would be greatlly appreciated!
also in the EM, all the security and permissions seem to be set correctly.
Connection failed:
SQL state: '28000'
SQL Server Error:18452
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
ok, so now that you have the error, here's what i'm doing. in the odbc under the system dsn tab, we have a driver for connection to our case management system which has SQL server installed on that server, its called "dataserver". the way we connect is by just dropping a shortcut from that server right to the desktop. there's no installation on the client machine. we used to be able to connect to this software using TCP/IP connection and "windows NT authenication using the network login ID". our primary server went down, we had to switch to connect through named pipes which is DOGGING everyones connection to that server. we finally brought our primary server back up and tried switching a few people back to TCP/IP and now we get the above error. running windows 2000 server and SQL server 2000, everyone is using w2k pro on all workstations. configurations are all set (at least we think) in enterprise manager. we are using mixed modes, so its set to both SQL authentication AND windows NT. any help would be greatlly appreciated!
also in the EM, all the security and permissions seem to be set correctly.
•
•
Join Date: Apr 2004
Posts: 321
Reputation:
Rep Power: 5
Solved Threads: 8
Just a thought, but have you tried creating a new odbc driver connection to that server?
•
•
Join Date: Apr 2004
Posts: 321
Reputation:
Rep Power: 5
Solved Threads: 8
When your main server went down, was it the only domain controller? How did you restore it? IOW was active directory still intact and recovered?
•
•
Join Date: Feb 2004
Posts: 92
Reputation:
Rep Power: 5
Solved Threads: 0
we actually have another server, "ntserver" that was acting as the backup controller in case our primary server ever went down. because of that, we didnt lose anything in our AD and just pulled all the data from "ntserver" to the new domain controller when we brought it back up. so we never in fact lost anything, AD was still intact, except having a problem with DNS, which is now working again. i just had someone tell me that i need to recreate the users in SQL since the controller went down, but i would think that would the case if we lost the entire AD....correct me if i'm wrong.
•
•
Join Date: Apr 2004
Posts: 321
Reputation:
Rep Power: 5
Solved Threads: 8
That was actually what I was alluding to. I don't see how you could save the AD directory on NT4 since NT4 doesn't support it, unless there is some MS utility I don't know about, which of course is possible. I have had Windows2000 do some really weird things involving users and some of those questions remain unanswered to this day. So yes, I would definetly try recreating some users in the SQL server and see what happens.
•
•
Join Date: Feb 2004
Posts: 92
Reputation:
Rep Power: 5
Solved Threads: 0
our ntserver is actually not running NT4, its running w2k server, as is our entire server farm, and SQL server 2000. so thats how we were able to retain all the AD data and dump it back onto our new DC. so i will delete the group "domain users" in the EM and see if i can re-create it but i wont be able to restart SQL service until the end of the day so i will let you know if that worked. thanks for you help.
•
•
Join Date: Apr 2004
Posts: 321
Reputation:
Rep Power: 5
Solved Threads: 8
Ok, hehe ntserver was just a name not a designation. I'm so easily fooled these days! About all I can say off hand about that, is that it is done through Active Directory Domains and Trusts on a domain controller. If the server was installed as a member server of the domain it should already be there though.
•
•
Join Date: Feb 2004
Posts: 92
Reputation:
Rep Power: 5
Solved Threads: 0
yea, i hear you on that one....we actually spent hrs last night running diagnostics on the server to see what connections it had and what it didnt. using netdiag, we found it had no trust relationship to the domain so we tried this other utility "netdom" which did nothing for us because it kept giving us interface unknown errors. that was supposed to help us reset the trust relationship but never worked. so we finally sucked it up and had to rejoin that server to the domain because everything else was failing and we were VERY lucky we didnt lose connection to anything else. so that finally worked for us and everyone is back on tcp/ip in ODBC drivers. although our trust is pointing to the backup controller, everything is working fine. i am just wondering if there is a way to point the trust relationship to the primary controller instead of the backup, but thats not a big deal....thanks for your help with everything!
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Windows NT / 2000 / XP / 2003 Marketplace
•
•
•
•
aero apple browser cd computer crack daniweb database dell developer development download drm explorer france ie 7 install internet leopard licensing linux microsoft mobile network news novell office open operating os parliament photo qmail red hat security server software source sql survey switching system ubuntu unix upgrade vista windows windows update windows vista xp
- Previous Thread: Sudden Loss of Dial-Up Connection Box in XP Pro
- Next Thread: How do i make a bootable backup copy of winxp?


Linear Mode