How can I with \"code\" create a new .mdf/.sdf database?
I\'ve tried this: http://support.microsoft.com/kb/307283
All it does is fail on the ConnectionString
Use a connectionString with InitialCatalog = master. Since only master has default access to create a database.
InitialCatalog = master