Hi,
If you are running SQL Server or MSDE on the same machine as your ASP pages,
you are probably tempted to use the hostname "localhost." This doesn't always
work, due to different configuration issues, so try (local), 127.0.0.1, the
actual host name, or simply a period (".").
ref:http://databases.aspfaq.com/database/what-should-my-connection-string-look-like.html

Signature
Hope this helps.
Thanks and Regards.
Manish Bafna.
MCP and MCTS.
> Hi,
>
[quoted text clipped - 16 lines]
>
> thanks
NH - 11 Jun 2007 10:13 GMT
Thanks, would there be any performance benefit of using (local),"." or the IP
address over using the server name?
I thought by maybe using (local) or "." that that would improve performance
because asp.net would know the database is on the same server rather than
using the network to find the server.
> Hi,
> If you are running SQL Server or MSDE on the same machine as your ASP pages,
[quoted text clipped - 23 lines]
> >
> > thanks