G
Guest
не как не могу сделять connecting to SQL SERVER 2005 from Visual C# (ДБ я создал в Microsoft Visual C# 2005 Express Edition)
я использую следушие команды
SqlConnection conn = new SqlConnection("Data Source=(local); Initial Catalog = PRO; integrated Security = true");
conn.Open();
и выдается сообшение
"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)"
если поможите буду искренее блогодарен
я использую следушие команды
SqlConnection conn = new SqlConnection("Data Source=(local); Initial Catalog = PRO; integrated Security = true");
conn.Open();
и выдается сообшение
"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)"
если поможите буду искренее блогодарен