PC Review


Reply
Thread Tools Rate Thread

Cannot connect to SQL Server - Defaults to Trusted Connection

 
 
=?Utf-8?B?cm1jb21wdXRl?=
Guest
Posts: n/a
 
      28th Mar 2007
A table was created which is connected to SQL Server through an ODBC
connection with a DSN file. The same DSN file is used in another database
for the same table and it works successfully. In this database the following
error is generated:

.......Login failed for user us\smithr

When OK is clicked on the above message screen, the SQL Server Login screen
is displayed with the Use Trusted Connection box checked and the user id,
smithr displayed. When the box is unchecked and the login information
existing in the DSN file is entered, it works. Can someone tell me why it
defaults to the trusted connection and not the DSN file in this database ?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trusted SQL Server connection Ray Valenti Microsoft ASP .NET 7 17th Nov 2003 09:37 PM
Trusted SQL Server connection Ray Valenti Microsoft ADO .NET 7 17th Nov 2003 09:37 PM
Not Associated with a Trusted SQL Server Connection Don Peters Microsoft ADO .NET 11 4th Nov 2003 09:50 PM
Not associated with a trusted SQL Server connection DMS Microsoft ADO .NET 5 1st Oct 2003 03:39 PM
Not associated with a trusted SQL Server connection vlad Microsoft ASP .NET 3 21st Aug 2003 05:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:59 AM.