I've created alias for my instance, like it is said here How do we alias a Sql Server instance name used in a Connection String .config? or here http://technet.microsoft.com/en-us/library/ms190445.aspx.
I can connect to it locally using InstanceAliasName
.
But I can't connect locally to this alias using MachineName\InstanceAlias
.
I receive an error:
"A network-related or instance-specific error occurred while establishing a connection to SQL Server. 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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)"
How can I connect to ServerName\InstanceAlias
?