I am trying to have access to my project from the browser, I have put it on my server .
My database is on SQL Server 2008 R2 .
When I try to login I have always
You should "Database" rather than "AttachDbFileName" as it is not recommended for production servers.
Hence your connection string should be: