Sql Error:A network-related or instance-specific error while establising connection

I have developed a c# winforms application. On my developement system the application is working correctly.

I created the setup and installed the application on the test system. On the test computer I installed sql server express

and the services of the testing computer the sql server and sql browser are running.

But when opening the application. It is showing the following error

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

connection string i have given is

<add name="JaithramConnectionString" connectionString="Data Source=.\SQLExpress;Initial Catalog=EasyCab;Integrated Security=True" providerName="System.Data.SqlClient" /> </connectionStrings>

on testing computer the sql express is installed as Use the Built in Account - local system and instance default instance

Sql surface is configured to accept remote connection.with named and tcp/ip pipes.

I am Confused with this.

Thanks in advance.

Category:c# Time:2011-04-06 Views:0

Related post

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 0.592 (s). 13 q(s)