Yes, that is on a different domain. Even then I have access to the database with my domain authentication(windows logon) when I am on the domain network. But, when I try it through VPN I cannot connect to it. So, I always logon(RDC) to a remote server and and then use sql management studio to connect from there. When I want to connect from code remote server is not of any help.