To resolve this issue, the Local DB instance directory must be copied from the Windows.old directory created during the upgrade to the Windows directory. To do so, either of the following methods may be used: Info |
---|
| Manually copy this directory: C:\Windows.old\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Microsoft SQL Server Local DB into this directory: C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft |
Info |
---|
| Run the following from an elevated Command Prompt: xcopy /E /I "C:\Windows.old\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Microsoft SQL Server Local DB" "C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\Microsoft SQL Server Local DB” |
NOTE: This solution applies to Windows Server upgrades as well |