sqlconnection
-
hi how can i fix this problem in my connection string ? LocalConnection = new SqlConnection("data source=localhost;database=Alarms;Integrated Security=True"); it will fixed when i substitute "localhost" with ".\\sqlexpress" i want to work with sqlServer 2005 not sqlexpress the error is: 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)
-
hi how can i fix this problem in my connection string ? LocalConnection = new SqlConnection("data source=localhost;database=Alarms;Integrated Security=True"); it will fixed when i substitute "localhost" with ".\\sqlexpress" i want to work with sqlServer 2005 not sqlexpress the error is: 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)
-
hi how can i fix this problem in my connection string ? LocalConnection = new SqlConnection("data source=localhost;database=Alarms;Integrated Security=True"); it will fixed when i substitute "localhost" with ".\\sqlexpress" i want to work with sqlServer 2005 not sqlexpress the error is: 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)