Login stoped working with install of Visual Studio
From: grs (gsmith1943_at_earthlink.net)
Date: 05/17/03
- Next message: Jasper Smith: "Re: Block all MSDE ports on a mobile client"
- Previous message: Dejan Sarka: "Re: urgnet need for complete C# code for Password encryption/decryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 17 May 2003 10:09:15 -0500
Last weekend I finally connected a workstation to a server running SQL with
the following:
aString = "server=dell330;uid=sa;pwd=XXXXXX;database=northwind";
SqlConnection mySqlConnection = new SqlConnection(aString);
SqlCommand mySqlCommand = new SqlCommand("select * from customers",
mySqlConnection);
try
{
mySqlConnection.Open();
.....
NOW, after installing Visual Studio 2003 (I first uninstalled 2002) I get
following error message:
System.Data.SqlClient.SqlException: SQL Server does not exist or access
denied.
at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean&
isInTransaction)
at
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnec
tionString options, Boolean& isInTransaction)
at System.Data.SqlClient.SqlConnection.Open()
at ConnectToNorthwind.frmMain.UseDataReader() in
c:\grsprojectvisualstudio\connecttonorthwind\frmmain.cs:line 334
This is a home network that I want to program on but all the time is spent
in networking problems.
The SQL server is running on a 2003 domain controller.
Also I never did get the windows authentication to work that is why I am
using the sql authentication.
thanks
grs
- Next message: Jasper Smith: "Re: Block all MSDE ports on a mobile client"
- Previous message: Dejan Sarka: "Re: urgnet need for complete C# code for Password encryption/decryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|