is there any bug when connecting visual studio express 2012 web that is installed on windows 7 to connect to SQL Server Express 2012 or 2008R2?
the error message is this:
> A network-related or instance-specific error occurred while
> establishing a connection to SQL Server. The server was not found or
> is not accessible. Verify that the instance name is correct and that
> SQL Server name is configured to allow remote connections. (provider:
> SQL Network Interfaces, error: 26 - Error Locating Server/Instance
> Specified.)
in my situation, VS connects to SQL only if from server OS to Server OS
or it is from win7 OS to win7 OS ?
here is the scenario I got in my environment : we have 4 machines
1-win2012Srv: -Virtual machine -windows 2012 serverSQL Server Express 2012 visual studio express 2012 web -Symantec antivirus (disabled) -firewall is disabled -Static IP address
2- win08r2srv: -Virtual machine -windows 2008 R2 server -SQL Express 2008 R2 -visual studio express 2012 web -no antivirus -firewall is disabled -Static IP address
3- Win7PC1: -Real machine (PC) -windows 7 -SQL Express 2012 -visual studio express 2012 web -Avast antivirus (removed already) -firewall is disabled -Dynamic IP address
4- Win7PC2: -Real machine (PC) -windows 7 -visual studio express 2012 web -Avast antivirus (Running) -firewall is disabled -Dynamic IP address
the result is:
> Legend :)
>
> VS = visual studio express 2012 web
> --> = connect (i.e. I can connect to the SQL Server database)
> X--> = cannot connect (i.e. cannot add database connection)
vs on win2012Srv --> SQL on win08r2srv
vs on win08r2srv --> SQL on win2012Srv
vs on Win7PC1 X--> SQL on win2012Srv
vs on Win7PC1 X--> SQL on win08r2srv
vs on Win7PC2 X--> SQL on win2012Srv
vs on Win7PC2 X--> SQL on win08r2srv
vs on Win7PC2 ---> SQL on Win7PC1
thanks
Hasan