I got this error and i solved it by adding to the connection string, next to the sqlServerName (whatever your instance is named) the port number on which it's supposed to accept connections.
For example: Data Source=SRV\SQLEXPRESS,3000; (here 3000 is the TCP port)
To find your SQL port...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.