Guys i'm getting this error while creating a new SQL Server database in VS 2012.
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 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)