I have a web application – that I open in VS and run successfully on my PC.
On a new netbook, I have installed VS 2008 Professional with SP1 and turned on IIS features. Using the exact same solution and code (copied from PC) it will not connect to the database server on the netbook. I do not have SQL server installed on the netbook as the database being used is remote.
The database is located on a hosting provider’s database server. So remote connections on the db server is of course enabled. The connection string works when running the web application on VS on my PC so I assume all is OK with the database server configuration and it is something to do with the setup on the netbook.
the error is as such…
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)
Any ideas?
Cheers
On the netbook, does VS2008 have access to the internet/network?
Are you accessing the sqlserver via IP or by a network name?