What happens when you ping localhost from a command line? Have you tried
(local), your machine name, 127.0.0.1, etc.?
--
http://www.aspfaq.com/
(Reverse address to reply.)
"Savas Ates" <sa***@indexinteractive.com> wrote in message
news:Os**************@TK2MSFTNGP12.phx.gbl...
Set baglantim=Server.Createobject("ADODB.Connection")
Outpost="PROVIDER=SQLoledb;Initial Catalog=friends;User
Id=sa;password=;Data Source=localhost"
when i write
Data Source=111.111.111.111(myip)
in my connection string it works
when i write
Data Source=localhost
it doesnt work
why?