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?