The time had come to invoke my light weight DB engine – SQL 2012 Local Install which effectively is a 33MB install from sites like
http://www.microsoft.com/betaexperience/pd/SQLEXPCTAV2/enus/default.aspx
(the sql management studio is 600MB – localDB engine is 33MB – cool)
So there I was in VSNET trying to create a new SQL ‘localdb’ database.
The classic ‘instance name’ is (localdb)\v11.0 which is similar to (local)\SQLExpress when using SQL Express.
Upon plugging this into VSNET, my Windows Event Log was suddenly fully of Red Stop signs and much chatter
After much attempting to Install Windows Updates and re-install SQL LocalDB the answer was quite simple really…
The Magic Juice – enter SqlLocalDB.exe
This guy is the admin tool of SQL LocalDB – so delving into the supported commands I could:
a) list all the known LocalDB instances
b) Delete an instance
c) Create an instance
So in short –
sqllocaldb delete “v11.0”
sqllocaldb create “v11.0”
too easy….. (2hrs I wont get back)
All working like a bought one now – beauty.
Blog Post by: Mick Badran