code_junkie

How can I setup MSSQL2005 to respond to “localhost” and another name at the same time

Nov 13th, 2011
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. <add name="myConnection"
  2. connectionString="Data Source=DevServer;Initial Catalog='devData';Persist Security Info=True;User ID=devUser;Password=devPass;"
  3. providerName="System.Data.SqlClient" />
  4.  
  5. 127.0.0.1 localhost
  6.  
  7. # Comment this line out when back on the normal network:
  8. 127.0.0.1 DevServer
Add Comment
Please, Sign In to add comment