I am building a web site using ASP.NET C# in Visual studio 2012. When adding login control to form and running the website to test it , it gave me an error that it can't connect to server. this is the error message
(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) )
I tried it on another machine which have both( SQL server 2008 R2 & Visual studio 2012 ) installed , but it still gives me the same error. Any idea about this?
