all groups > sql server connect > november 2005 >
You're in the

sql server connect

group:

SQL Server does not exist or access is denied


SQL Server does not exist or access is denied J Duff
11/22/2005 8:49:03 AM
sql server connect:
I have a Windows 2003 svpk 1 server running SQL Ser 2000 svpk 3. Trying to
access a asp.net application on the same server and get the following:

System.Data.SqlClient.SqlException: SQL Server does not exist or access denied

Here is my connection string:
sqlConnectionString="data source=127.0.0.1;user id=aspstate;
password=aspstate" cookieless="false" timeout="90" />

I have also tried the data source as server name and ip address. I have
also tried the sa account and password but it did not work. TCP port is
active and working. I can log into the database with the query application
Re: SQL Server does not exist or access is denied J Duff
11/22/2005 12:48:04 PM
Yes it is lisening on port 1433. I looked in the SQL Server activity logs.
The logs also shows the user id password as being connected when I tried QA.

[quoted text, click to view]
Re: SQL Server does not exist or access is denied Kevin3NF
11/22/2005 1:52:56 PM
Have you verified from the SQL Server error log that the SQL Server is
listening on tcp? You say it is active and working but you don't mention
how you checked.

Also verify that the aspstate user has rights to the SQL Server and to its
default database.

Did you try QA with that user/pwd?

--
Kevin Hill
President
3NF Consulting

www.3nf-inc.com/NewsGroups.htm


[quoted text, click to view]

AddThis Social Bookmark Button