Unable to connect to remote MS SQL Server 2008 Express SP3 instance by name
- by Max
I am trying to connect to a remote MS SQL Server 2008 SP3 x86 Instance using it's name.
At the first glance all seems to work well (e.g. it is possible to connect to the server locally and succesfully telnet it's port remotely), but there is a thing I can't understand...
This line should connect us to the default instance of remote SQL Server:
osql -S ServerIP -d MyDatabase /U sa -P MyPassword
and it does the trick, however the next one:
osql -S ServerIP\MyInstance -d MyDatabase /U sa -P MyPassword
ends up with the following error:
[SQL Native Client]SQL Network Interfaces: Error Locating Server/Instance
Specified [xFFFFFFFF].
[SQL Native Client]Login timeout expired
[SQL Native Client]An error has occurred while establishing a connection to
the server. When connecting to SQL Server 2005, this failure may be caused by
the fact that under the default settings SQL Server does not allow remote
connections.
The only instance running on the server is MyInstance, which is (I guess) the default one.
Could you please put some time in explaining the issue.