vpn - Connect different Windows User in SQL Server Management Studio (Windows 10) -


in windows 7, used following method connect sql server different domain/user:

runas /netonly /user:domain\username program.exe 

source: connect different windows user in sql server management studio (2005 or later)

however, has stopped working since windows 10 update. following error:

a network-related or instance-specific error occurred while establishing connection sql server. server not found or not accessible. verify instance name correct , sql server configured allow remote connections. (provider: sql network interfaces, error: 26 - error locating server/instance specified) (microsoft sql server, error: -1) 

i'm using vpn, seems working (can use remote desktop , view intranet pages). have used setup on multiple locations, on multiple systems. used windows 7 or 8.1, hence why think 10 problem.

has had luck fixing this?

thanks!

update: have rolled windows 7 , works again. tried pinging server, gives me 127.x.x.x address on windows 10, , correct ip on windows 7. no entries in hosts file. gives?

i had exact same problem. workaround on technet worked me. short answer add entry hosts file when running windows 10. use hostname instead of ip address connect database in ssms (yes, counter-intuitive, worked me).

it's fun note affected db running on 192.168.xx.xx. have db running on 172.17.xx.xx , connect 1 fine without workaround.

it devilish issue occurred intermittently. sometimes, connect db in ssms.exe without workaround , couldn't.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -