SQL DB Connection Problems

Please support our MS SQL advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2006
Posts: 3
Reputation: Matt.Austin is an unknown quantity at this point 
Solved Threads: 0
Matt.Austin Matt.Austin is offline Offline
Newbie Poster

SQL DB Connection Problems

 
0
  #1
Nov 3rd, 2006
Greetings all!

To get to the point, I'm having issues accessing SQL databases. The specific error is as follows:

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.

Here's the setup:

The workstation(s) and the SQL Server are in different Windows Domains - no trust relationship allowed. The DBs are Access front-ends and I've set up an ODBC connection to the SQL Server using SQL authentication and it passes all tests. The SQL Server is set up in mixed authentication mode (I've scoured Microsoft Support on this). When the user(s) attempt to access the DB, they recieve the above error, followed by a SQL Authentication box. If you clear the trusted connection box and enter in the SQL account password, you get a little farther before getting another 18452 error and the cycle starts again until whatever form/report/query opens.

To me, this seems like a timeout issue. Is there anything I can do to fix this?

The SQL Server is running on a 2K3 server and the clients are 2K.

Thanks in advance,
Matt
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 149
Reputation: Geek-Master is an unknown quantity at this point 
Solved Threads: 6
Geek-Master's Avatar
Geek-Master Geek-Master is offline Offline
Junior Poster

Re: SQL DB Connection Problems

 
0
  #2
Nov 7th, 2006
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.
The error report shows that it is not sending the username being '(null)'. I would make sure Access is asking for a login. If it were the login itself, you would recieve a SQL error like ID 'so-and-so' isn't a valid username, or something on those lines. So it might be an Access problem.
Last edited by Geek-Master; Nov 7th, 2006 at 4:11 pm. Reason: Needed to give more information
If in doubt, reach into the trash can and remove the user guide.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 3
Reputation: Matt.Austin is an unknown quantity at this point 
Solved Threads: 0
Matt.Austin Matt.Austin is offline Offline
Newbie Poster

Re: SQL DB Connection Problems

 
0
  #3
Nov 8th, 2006
Thanks, I'll give that a check and report back.

-Matt
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 2
Reputation: Jeanetta76 is an unknown quantity at this point 
Solved Threads: 0
Jeanetta76 Jeanetta76 is offline Offline
Newbie Poster

Re: SQL DB Connection Problems

 
0
  #4
Nov 16th, 2006
I have the exact error and i'm doing .NET 2003 and Crystal 8.5. I had to create the report by ODBC because of not passing fields correctly (OLE DB sends the data over as string but cuts it off at 255 characters but ODBC passes it as a memo so the whole field can be viewed). I get the same error and I can't seem to trace it. Can I ask Matt are you using a connection string?Did you get this issue fixed?
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 3
Reputation: Matt.Austin is an unknown quantity at this point 
Solved Threads: 0
Matt.Austin Matt.Austin is offline Offline
Newbie Poster

Re: SQL DB Connection Problems

 
0
  #5
Nov 16th, 2006
To the best of my knowledge, no we're not using a connection string. The issue is still outstanding with us, and the only way I've been able to work around it for the time being is to join a workstation to the same domain as the SQL server and things work fine. Unfortunately the scope of our pending accreditation will not allow for network connected clients belonging to that domain.

I'm trying to work within the enterprise security boundries of our oganization.
Reply With Quote Quick reply to this message  
Join Date: Nov 2006
Posts: 18
Reputation: r_jack is an unknown quantity at this point 
Solved Threads: 0
r_jack r_jack is offline Offline
Newbie Poster

Re: SQL DB Connection Problems

 
0
  #6
Dec 20th, 2006
Need some clarification. I am due to start a project on developing a video rental system, a major part of which involves building a database using SQL Server 2005. Like other systems development processes, I would expect the development of this system to follow the normal procedure, i.e using the following steps in order:
1 Requirements gathering and Analysis
2 Requirements specification
3 System(database design): ERD, followed by logical ERD, normalisation, convert logical ERD into physical database objects(tables, columns, keys)
4 Implement the database using a RDMS (in this case SQL Server 2005). And then produce the report which will also include processes undertaken to accomplish the project and give evaluation.

BUT in the case of my project, the client has specified the requirements for the system, among other things, the cliebt needs to perform queries to retrieve details of available videos, videos on loan etc. The client has specified the RDMS to use (SQL Server 2005) and he has detailed the tables and all fields. The client has provided the entity relationship diagram for the database tables. My question is that I do not know where to start from to develop the database. I have a feeling that the requirements gathering, specification, design (entity relationship diagrams etc), physical designs like tables have arleady been accomplished by the client themslves. Should I start by building the database straight away using SQL Server 2005. What do you think about this?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the MS SQL Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC