SSPI Context
From: Ivan Morales (imorales@aceitesdelmayo.com)
Date: 12/18/02
- Next message: linda deng[MS]: "RE: SQL Server Login Management"
- Previous message: Tony Su: "Delegate Power of God to only 1 database - How?"
- Next in thread: Bill Cheng [MSFT]: "RE: SSPI Context"
- Reply: Bill Cheng [MSFT]: "RE: SSPI Context"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Ivan Morales" <imorales@aceitesdelmayo.com> Date: Tue, 17 Dec 2002 16:31:16 -0800
Why I get the following error when I try to open
database "Cannot generate SSPI context" I'm using SQL
Server 2000 on windows 2000 server with windows XP Pro as
client.
This is the code:
cnnSQLServer.ConnectionTimeout = 25
cnnSQLServer.Provider = "sqloledb"
cnnSQLServer.Properties("Network
Address").Value= "192.168.0.12"
cnnSQLServer.CommandTimeout = 180
cnnSQLServer.Properties("Network Library").Value
= "dbmssocn"
cnnSQLServer.Properties("Data Source").Value
= "MyServerName"
cnnSQLServer.Properties("Initial Catalog").Value
= "Northwind"
cnnSQLServer.CursorLocation = adUseServer
cnnSQLServer.Properties("Integrated Security").Value
= "SSPI"
cnnSQLServer.Open
Any ideas?,
thanks
- Next message: linda deng[MS]: "RE: SQL Server Login Management"
- Previous message: Tony Su: "Delegate Power of God to only 1 database - How?"
- Next in thread: Bill Cheng [MSFT]: "RE: SSPI Context"
- Reply: Bill Cheng [MSFT]: "RE: SSPI Context"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|