So , the hosts file would read something like :
<sql server ip address>\<instance name> <alias>
i dont think it is possible because the hosts file can only to ip adress to
hostname resolution.
The named instance is not a valid hostname...
you can use cliconfg to configure aliases for named instances!
Michael
"John A Grandy" <johnagrandy-at-gmail-dot-com> schrieb im Newsbeitrag
news:uPfbzhVv...@TK2MSFTNGP03.phx.gbl...
Go to: Start -> Programs -> Microsoft SQL Server 2005\8 -> Configuration
Tools -> SQL Server Configuration Manager.
Then from the SQL Server Configuration Manager MMC: SQL Native Client
Configuration -> Aliases
--
Ekrem Önsoy
"John A Grandy" <johnagrandy-at-gmail-dot-com>, iletisinde şunu yazdı,
news:uPfbzhVv...@TK2MSFTNGP03.phx.gbl...
Thanks,
SK
You can always just use the server name followed by a comma and the port
number regardless what instance name may be. This doesn't need SQL Browser to
be online on the server side. So if your server name is ServerA and the
instance listens on port 6000, you can connect as:
osql -SServerA,6000 -E
> Question2: When I created the linked server using this alias from my
> computer, It comes with "Login timeout expired" and following error -
> Named Pipes Provider: Could not open a connection to SQL Server [53].
> (I did not enable Named Pipes protocol on the server for connection as I
> want it to use TCP/IP). Is there any way I can force SSMS to use TCP/IP? Or
> Am I missing anything here?
How did you create the linked server?
Linchi
Now my query:
Select * from [ServerAliasName].DBName.dbo.TableName
gives me error...