Cant connect to local sql server 2000 from VB.NET running WinXP Pro SP2
From: dee (dee_at_1)
Date: 02/14/05
- Next message: Jim Heavey: "AutoCommit - Oracle."
- Previous message: Keenan Newton: "Re: Enterprise Library, DataSets, and Windows Forms binding."
- Next in thread: Miha Markic [MVP C#]: "Re: Cant connect to local sql server 2000 from VB.NET running WinXP Pro SP2"
- Reply: Miha Markic [MVP C#]: "Re: Cant connect to local sql server 2000 from VB.NET running WinXP Pro SP2"
- Reply: William \(Bill\) Vaughn: "Re: Cant connect to local sql server 2000 from VB.NET running WinXP Pro SP2"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Feb 2005 13:29:49 -0500
Hi
I just installed SQL Server 2000 to run locally on a WinXP Pro SP2 PC.
When I run the following VB.NET code:
Protected Const SQL_CONNECTION_STRING As String = _
"Server=localhost;" & _
"DataBase=Northwind;" & _
"Integrated Security=SSPI"
Dim connectionString As String = SQL_CONNECTION_STRING
Dim cnnNW As New SqlConnection(connectionString)
I can't connect to sql server.
This code works fine on a Windows 2000 Pro SP2 pc.
Thanks.
Dee
- Next message: Jim Heavey: "AutoCommit - Oracle."
- Previous message: Keenan Newton: "Re: Enterprise Library, DataSets, and Windows Forms binding."
- Next in thread: Miha Markic [MVP C#]: "Re: Cant connect to local sql server 2000 from VB.NET running WinXP Pro SP2"
- Reply: Miha Markic [MVP C#]: "Re: Cant connect to local sql server 2000 from VB.NET running WinXP Pro SP2"
- Reply: William \(Bill\) Vaughn: "Re: Cant connect to local sql server 2000 from VB.NET running WinXP Pro SP2"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|