-
November 9th, 2005, 09:37 AM
#1
Sql server does not exist or access denied
I got this message when I try to run my asp.net web application on my computer. The code:
string baglan = "Data Source=localhost; Initial Catalog=Northwind; Integrated Security=SSPI";
SqlConnection vt_baglanti = new SqlConnection(baglan);
The error line is:
vt_baglanti.Open();
I couldn't find the problem.
-
November 9th, 2005, 09:41 AM
#2
Re: Sql server does not exist or access denied
Using Windows Authentication requires that the ASP.NET account has access to the SQL server. You need to either use impersonation or provide access to the ASP.NET account in SQL.
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
|