SQL Connection RRS feed

  • Question

  • User-140522291 posted
    I couldn't connect to the SQL server at first. When I track to the conn string setting in the .config file, it say the database server is "localhost". After I changed to "(local)" it works. Why is it using "localhost" as the datasource, instead of "(local)"? Shouldn't localhost only be used in IIS?
    Tuesday, August 5, 2003 4:33 PM

All replies

  • User1001868398 posted

    It's looking for the instance name, you can change it to the ip address:


    Thursday, October 26, 2006 3:37 PM