SQL Connection

Last post 10-26-2006 3:37 PM by albertpascual. 1 replies.

Sort Posts:

  • SQL Connection

    08-05-2003, 4:33 PM
    • Member
      30 point Member
    • chenzhansd
    • Member since 04-03-2003, 1:29 AM
    • Posts 6
    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?
  • Re: SQL Connection

    10-26-2006, 3:37 PM
    • All-Star
      17,453 point All-Star
    • albertpascual
    • Member since 05-23-2003, 10:11 AM
    • Riverside, CA
    • Posts 3,474
    • TrustedFriends-MVPs

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

    127.0.0.1

     

    Cheers
    Al
    My Blog
    MapStats.NET
    Please click on 'Mark as Answer' if this post answered your question!
Page 1 of 1 (2 items)