הגדרת connectionString ב Localhost
שלום! יש לי טבלת נתונים ב sqlexpress הממוקם אצלי על המחשב ב Localhost . אני מנסה להגדיר connectionString בצורה הבאה :
שלום! יש לי טבלת נתונים ב sqlexpress הממוקם אצלי על המחשב ב Localhost . אני מנסה להגדיר connectionString בצורה הבאה :
SqlConnection conn = new SqlConnection("Data Source=" + @".\SQLEXPRESS;Initial Catalog=peopleDetails;Integrated Security=True;Pooling=False");
ואני מקבלת את ההודעת שגיאה הבאה-An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
אני ממש אשמח לעזרה , אני לא מבינה מה הבעיה (העתקתי את הconnection מהאתר שממליצים עליו בטאגליינס)