Cannot connect to SQL Server
From: Guian Smith (gsmith14@nyc.rr.com)
Date: 07/05/02
- Next message: Rob Taylor: "Re: Everyone Group"
- Previous message: BP Margolin: "Re: Everyone Group"
- Next in thread: Farooq Mahmud [MS]: "RE: Cannot connect to SQL Server"
- Reply: Farooq Mahmud [MS]: "RE: Cannot connect to SQL Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Guian Smith" <gsmith14@nyc.rr.com> Date: Fri, 5 Jul 2002 00:54:20 -0400
Help!
I had no problems with SQL Server 7.0, but after installing SQL Server 2000 (Personal Edition), I cannot connect to SQL Server thru an ODBC (or DB-lib) connection using ANY login userid, including sa. For example I can use odbcping with the default user as follows('VAIO' is my machine name), and it works:
C:\>odbcping -S VAIO (This works fine...)
CONNECTED TO SQL SERVER
ODBC SQL Server Driver Version: 03.81.9001
SQL Server Version: Microsoft SQL Server 2000 - 8.00.194 (Intel X86)
Aug 6 2000 00:57:48
Copyright (c) 1988-2000 Microsoft Corporation
Personal Edition on Windows NT 5.0 (Build 2195: Service Pack 2)
BUT when I try to use a login user & password, the connection is rejected even though I know I have the correct userid and password, and the user has admin priviledges. For example, ('sa' has not been assigned a password):
C:\>odbcping -S VAIO -U sa (This does not work)
COULD NOT CONNECT TO SQL SERVER
SQLState: 28000 Native Error: 18452
Info. Message: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'sa'. Reason: Not associated with a trusted SQL Server connection.
Does this have something to do with the Personal Edition? Everything else works fine (Enterprise Manager, etc).
Any help or suggestions will be greatly appreciated!
Thanks
Guian
- Next message: Rob Taylor: "Re: Everyone Group"
- Previous message: BP Margolin: "Re: Everyone Group"
- Next in thread: Farooq Mahmud [MS]: "RE: Cannot connect to SQL Server"
- Reply: Farooq Mahmud [MS]: "RE: Cannot connect to SQL Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|