Aggiornando Sql Server Express alla versione 2008 R2 , Visual Studio 2010 restituisce questo strano messaggio:
Failed to generate a ser instance od SQL Server due to a failure in starting the process for the user instance. The connection will be closed
e naturalmente non ne vuole sapere di effettuare l’attach del database.
Per risolvere basta eliminare la cartella SQLEXPRESS
Per XP:
la directory è “c:\Documents and Settings\username\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS ”
Per Vista, Seven:
la directory è “c:\Users\<username>\AppData\Local\Microsoft\Microsoft Sql Server Data\SQLEXPRESS”
Riavviando il pc tutto tornerà a funzionare a dovere…