Visual Studio 2010 does not run the project [duplicated]

1

What happens is that in my development team a project is being carried out, Tortoise is used to keep the repository updated. On my laptop, the project does not start, however, on my colleagues' computers, yes. The project is located following directory:

C:\Users\Felipe Flores\Desktop\ProyectoIntegrador\SGRO

also thinking that the empty space in my username caused a problem, I also have it in another location within a backup partition

D:\ProyectoIntegrador\SGRO

However, in neither of the two locations mentioned above allows the project to run. I have also tried to configure the connection to the database manually using the graphic visual studio environment, but at the time of testing the connection it sends me an error with the following 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: Named   Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Seeing the message, I decided to check the Web.config file to make sure that the IP addresses of the databases were correct. And yes, I checked it several times and both the IP addresses and the names of the databases and the user and password that I have been using were correct.

What can be the problem that is causing this error?

    
asked by Felipe Flores 09.02.2017 в 19:17
source

2 answers

0

For 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: Named   Pipes Provider, error: 40 - Could not open a connection to SQL Server)

You should check first:

  • ensure the service is running

  • If you ensure you are running the service, check the name of the instance that your project is trying to use.
answered by 09.02.2017 в 20:56
0

If you are running from local (PC) and the SQL database server is in your network or another domain you have to register your user to be able to access, since they are credentials and permissions issues. The error you report is due to that.

  

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 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)

Also, if you have downloaded the same source code as it does, it is not a versionator TortoiseSVN issue.

    
answered by 19.02.2017 в 06:38