I'd like to login to my SQL Server 2012 Express with servername local
or (local)
but it doesn't work.
The only servername which works is PC-Name\SQLEXPRESS
.
local/(local)
has to work somehow because I have to use the following connection string:
Data Source=localhost;Initial Catalog=...
I've reinstalled it and ensures to select "default instance" instead of "named instance" during the installation. Now everything is fine again.