|
-
Sep 11th, 2003, 11:57 AM
#1
Thread Starter
New Member
I cant connect to Sql Server...
Im learning ASP.net and I have the MSDE (stripped down version of SQL server) installed on my computer. I worte a simple 1 page asp. net project and when I try to connect to the database I fail.
Here is the error message...
Exception Details: System.Data.SqlClient.SqlException: SQL Server does not exist or access denied.
Source Error:
Line 48: 'open the database connection and put results into the data reader
Line 49: '----------------------------------------------------------------------
Line 50: objConnection.Open()
Line 51: objReader = objCommand.ExecuteReader
Line 52: '----------------------------------------------------------------------
Now....
The server does exists and there should be no need for a uid or psw.
here is my connection string
Dim objConnection As New SqlClient.SqlConnection("server=.;database=KeepFit;trusted_connection=true")
Any help, I have been stuck for 2 days now.
Last edited by Roto23; Sep 11th, 2003 at 12:02 PM.
-Roto-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|