Host connectionstring problem

I am coding my Project using ASP.Net and C#.My database is ms sql server 2005 express.I publish my project in server but I have a problem.

The problem is;

error: 40 - Could not open a connection to SQL Server

I think the problem is my connectionstring!

How do I write connectionstring?

0 answers