Error trying to connect to the database

2

I'm studying about C # and Asp.net and "trying" to draft a registration, change, and deletion project, following some videos I found on the net. The problem is when I connect the database created previously the application does not find it and this error appears on the screen.

The error says:

  

Provider: Named Pipes provider, error: 40 - Could not open a connection to SQL Server

How do I solve this problem?

    
asked by anonymous 05.05.2014 / 14:36

2 answers

1

I think your problem is Named Pipes and TCP / IP Connections disabled, follow a link with details to enable them

link

    
05.05.2014 / 15:50
1

Instead of GNW-PC put .\SqlExpress

    
05.05.2014 / 18:28