I am using sql server 2005 and asp.net 2.0 in my home.

I established connection in my application and put code in page load

protected void Page_Load(object sender, EventArgs e)
{
string constring = "server=.\\SQLEXPRESS;uid=sa;pwd=;data source=dbAshok";

//Open the connection
sqlconnection = new SqlConnection(constring);

sqlconnection.Open();

string strquery = "select *from Employee";

dataset = new DataSet(strquery);

sqlconnection.Close();
}

But i got an error in open the connection. My error is below.
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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

I couldn't fix this bugs. Please suggest me.

Hope yours reply.

Thanks