Symptoms
After you install SQL LocalDB 2016 Service Pack 2 (SP2), you can't print the information about the specified LocalDB instance, and an error occurs.
You observe the following messages when this fix is not applied (assume that you have a test instance that's named FOO that you created by running a command such as "sqllocaldb create FOO").
-
No issue when SQL LocalDB 2016 RTM is used:
C:\>sqllocaldb info FOO
Name: FOO
Version: 13.0.1601.5
Shared name:
Owner:
Auto-create: No
State: Stopped
Last start time:
Instance pipe name:
-
After you install SP1, the program still works as expected:
C:\>sqllocaldb info FOO
Name: FOO
Version: 13.1.4001.0
Shared name:
Owner:
Auto-create: No
State: Stopped
Last start time:
Instance pipe name:
-
After you install SP2, the following error occurs:
C:\>sqllocaldb info FOO
FormatMessageW failed. Error code returned: 15100
FormatMessageW failed. Error code returned: 15105
FormatMessageW failed. Error code returned: 15105
FormatMessageW failed. Error code returned: 15105
FormatMessageW failed. Error code returned: 15105
Resolution
Service pack information for SQL Server 2016
This update is included in the following service pack for SQL Server:
Service packs are cumulative. Each new service pack contains all the fixes that are in previous service packs, together with any new fixes. We recommend that you apply the latest service pack and the latest cumulative update for that service pack. You do not have to install a previous service pack before you install the latest service pack. Use Table 1 in the following article to find more information about the latest service pack and latest cumulative update.
Determine the version, edition, and update level of SQL Server and its components
References
Learn about the terminology that Microsoft uses to describe software updates.