fatmidget:...
- it seems I had the DB still opened inside my IDE (Visual Web Developer Express), in the database explorer. Right-clicking the database and selecting "close connection" fixed it.
Hope this helps.
Hi,
I run into the same problem.
Because
the close connection is disabled at Database Explorer, I delete the database then add a new connection
by choosing the same database deleted. I can now disable the enabled close
connection by right clicking the database.
By adding a new connection, the connectionString attribute in connectionStrings at web.config replaces the default connection to
connectionString="Data Source=[SERVERNAME]\SQLEXPRESS;AttachDbFilename=|DataDirectory|\smsdata.mdf;Integrated Security=True" providerName="System.Data.SqlClient"/>
just replace the [SERVERNAME] to period(.) like so Data Source=.\SQLEXPRESS
Thanks Fatmidget!
cheers,
imperialx