Skip to content

Commit f8d3b08

Browse files
authored
Merge pull request #34693 from rwestMSFT/rw-0714-localdb-49987
Refresh LocalDB content (49987)
2 parents 35bec1b + a8cb7e9 commit f8d3b08

File tree

49 files changed

+1814
-1905
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1814
-1905
lines changed

docs/database-engine/configure-windows/sql-server-express-localdb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "SQL Server Express LocalDB"
33
description: Become familiar with SQL Server Express LocalDB. Developers can use this lightweight Database Engine for writing and testing Transact-SQL code.
44
author: rwestMSFT
55
ms.author: randolphwest
6-
ms.date: 05/19/2025
6+
ms.date: 07/14/2025
77
ms.service: sql
88
ms.subservice: configuration
99
ms.topic: conceptual
@@ -52,7 +52,7 @@ The LocalDB setup program uses the `SqlLocalDB.msi` program to install the neces
5252

5353
For more information about including LocalDB in an application, see [!INCLUDE [vsprvs](../../includes/vsprvs-md.md)] [Local Data Overview](/previous-versions/visualstudio/visual-studio-2012/ms233817(v=vs.110)), [Create a database and add tables in Visual Studio](/visualstudio/data-tools/create-a-sql-database-by-using-a-designer).
5454

55-
For more information about the LocalDB API, see [SQL Server Express LocalDB Reference](../../relational-databases/sql-server-express-localdb-reference.md).
55+
For more information about the LocalDB API, see [SQL Server Express LocalDB reference](../../relational-databases/sql-server-express-localdb-reference.md).
5656

5757
The `SqlLocalDB` utility can create new instances of LocalDB, start and stop an instance of LocalDB, and includes options to help you manage LocalDB. For more information about the `SqlLocalDB` utility, see [SqlLocalDB utility](../../tools/sqllocaldb-utility.md).
5858

docs/relational-databases/express-localdb-error-messages/localdb-error-admin-rights-required.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,30 @@ title: "LOCALDB_ERROR_ADMIN_RIGHTS_REQUIRED"
33
description: "LOCALDB_ERROR_ADMIN_RIGHTS_REQUIRED"
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
6-
ms.date: "03/04/2017"
6+
ms.reviewer: randolphwest
7+
ms.date: 07/14/2025
78
ms.service: sql
89
ms.subservice: supportability
910
ms.topic: "reference"
1011
---
1112
# LOCALDB_ERROR_ADMIN_RIGHTS_REQUIRED
12-
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
13-
14-
## Details
15-
16-
|Category|Value|
17-
|-|-|
18-
|Product Name|SQL Server|
19-
|Event ID|286|
20-
|Event Source|SQL Server Local Database Runtime 12.0|
21-
|Component|Local Database Runtime API|
22-
|Message Text|Administrator privileges are required in order to execute this operation.|
23-
24-
## Explanation
25-
The requested operation can only be performed by the user with admin rights.
26-
27-
## User Action
28-
Contact the computer Administrator for help.
29-
30-
13+
14+
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
15+
16+
## Details
17+
18+
| Category | Value |
19+
| --- | --- |
20+
| Product Name | SQL Server |
21+
| Event ID | 286 |
22+
| Event Source | SQL Server Local Database Runtime 12.0 |
23+
| Component | Local Database Runtime API |
24+
| Message Text | Administrator privileges are required in order to execute this operation. |
25+
26+
## Explanation
27+
28+
The requested operation can only be performed by the user with admin rights.
29+
30+
## User action
31+
32+
Contact the computer Administrator for help.

docs/relational-databases/express-localdb-error-messages/localdb-error-auto-instance-create-failed.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,30 @@ title: "LOCALDB_ERROR_AUTO_INSTANCE_CREATE_FAILED"
33
description: "LOCALDB_ERROR_AUTO_INSTANCE_CREATE_FAILED"
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
6-
ms.date: "03/04/2017"
6+
ms.reviewer: randolphwest
7+
ms.date: 07/14/2025
78
ms.service: sql
89
ms.subservice: performance
910
ms.topic: "reference"
1011
---
1112
# LOCALDB_ERROR_AUTO_INSTANCE_CREATE_FAILED
12-
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
13-
14-
## Details
15-
16-
|Category|Value|
17-
|-|-|
18-
|Product Name|SQL Server|
19-
|Event ID|280|
20-
|Event Source|SQL Server Local Database Runtime 12.0|
21-
|Component|Local Database Runtime API|
22-
|Message Text|Cannot create an automatic instance. See the Windows Application event log for error details.|
23-
24-
## Explanation
25-
Automatic instance creation failed.
26-
27-
## User Action
28-
See the event log for details.
29-
30-
13+
14+
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
15+
16+
## Details
17+
18+
| Category | Value |
19+
| --- | --- |
20+
| Product Name | SQL Server |
21+
| Event ID | 280 |
22+
| Event Source | SQL Server Local Database Runtime 12.0 |
23+
| Component | Local Database Runtime API |
24+
| Message Text | Cannot create an automatic instance. See the Windows Application event log for error details. |
25+
26+
## Explanation
27+
28+
Automatic instance creation failed.
29+
30+
## User action
31+
32+
See the event log for details.

docs/relational-databases/express-localdb-error-messages/localdb-error-caller-is-not-owner.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,30 @@ title: "LOCALDB_ERROR_CALLER_IS_NOT_OWNER"
33
description: "LOCALDB_ERROR_CALLER_IS_NOT_OWNER"
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
6-
ms.date: "03/04/2017"
6+
ms.reviewer: randolphwest
7+
ms.date: 07/14/2025
78
ms.service: sql
89
ms.subservice: performance
910
ms.topic: "reference"
1011
---
1112
# LOCALDB_ERROR_CALLER_IS_NOT_OWNER
12-
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
13-
14-
## Details
15-
16-
|Category|Value|
17-
|-|-|
18-
|Product Name|SQL Server|
19-
|Event ID|282|
20-
|Event Source|SQL Server Local Database Runtime 12.0|
21-
|Component|Local Database Runtime API|
22-
|Message Text|API caller is not Local Database instance owner.|
23-
24-
## Explanation
25-
User needs to be the instance owner to be able to execute the requested operation.
26-
27-
## User Action
28-
Contact the instance owner for help.
29-
30-
13+
14+
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
15+
16+
## Details
17+
18+
| Category | Value |
19+
| --- | --- |
20+
| Product Name | SQL Server |
21+
| Event ID | 282 |
22+
| Event Source | SQL Server Local Database Runtime 12.0 |
23+
| Component | Local Database Runtime API |
24+
| Message Text | API caller is not Local Database instance owner. |
25+
26+
## Explanation
27+
28+
User needs to be the instance owner to be able to execute the requested operation.
29+
30+
## User action
31+
32+
Contact the instance owner for help.

docs/relational-databases/express-localdb-error-messages/localdb-error-cannot-access-instance-folder.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,28 @@ title: "LOCALDB_ERROR_CANNOT_ACCESS_INSTANCE_FOLDER"
33
description: "LOCALDB_ERROR_CANNOT_ACCESS_INSTANCE_FOLDER"
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
6-
ms.date: "03/04/2017"
6+
ms.reviewer: randolphwest
7+
ms.date: 07/14/2025
78
ms.service: sql
89
ms.subservice: performance
910
ms.topic: "reference"
1011
---
1112
# LOCALDB_ERROR_CANNOT_ACCESS_INSTANCE_FOLDER
12-
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
13-
14-
## Details
15-
16-
|Category|Value|
17-
|-|-|
18-
|Product Name|SQL Server|
19-
|Event ID|261|
20-
|Event Source|SQL Server Local Database Runtime 12.0|
21-
|Component|Local Database Runtime API|
22-
|Message Text|Cannot access Local Database instance folder: %%LOCALAPPDATA%%\Microsoft\Microsoft SQL Server Local DB\Instances\\<instance name\>.|
23-
24-
## Explanation
25-
An instance folder cannot be accessed.
26-
27-
## User Action
28-
13+
14+
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
15+
16+
## Details
17+
18+
| Category | Value |
19+
| --- | --- |
20+
| Product Name | SQL Server |
21+
| Event ID | 261 |
22+
| Event Source | SQL Server Local Database Runtime 12.0 |
23+
| Component | Local Database Runtime API |
24+
| Message Text | Cannot access Local Database instance folder: %%LOCALAPPDATA%%\Microsoft\Microsoft SQL Server Local DB\Instances\\<instance name\>. |
25+
26+
## Explanation
27+
28+
An instance folder can't be accessed.
29+
30+
## User action

docs/relational-databases/express-localdb-error-messages/localdb-error-cannot-access-instance-registry.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,28 @@ title: "LOCALDB_ERROR_CANNOT_ACCESS_INSTANCE_REGISTRY"
33
description: "LOCALDB_ERROR_CANNOT_ACCESS_INSTANCE_REGISTRY"
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
6-
ms.date: "03/04/2017"
6+
ms.reviewer: randolphwest
7+
ms.date: 07/14/2025
78
ms.service: sql
89
ms.subservice: performance
910
ms.topic: "reference"
1011
---
1112
# LOCALDB_ERROR_CANNOT_ACCESS_INSTANCE_REGISTRY
12-
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
13-
14-
## Details
15-
16-
|Category|Value|
17-
|-|-|
18-
|Product Name|SQL Server|
19-
|Event ID|262|
20-
|Event Source|SQL Server Local Database Runtime 12.0|
21-
|Component|Local Database Runtime API|
22-
|Message Text|Unexpected error occurred while trying to access the Local Database instance registry configuration. See the Windows Application log for error details.|
23-
24-
## Explanation
25-
An instance registry cannot be accessed.
26-
27-
## User Action
28-
13+
14+
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
15+
16+
## Details
17+
18+
| Category | Value |
19+
| --- | --- |
20+
| Product Name | SQL Server |
21+
| Event ID | 262 |
22+
| Event Source | SQL Server Local Database Runtime 12.0 |
23+
| Component | Local Database Runtime API |
24+
| Message Text | Unexpected error occurred while trying to access the Local Database instance registry configuration. See the Windows Application log for error details. |
25+
26+
## Explanation
27+
28+
An instance registry can't be accessed.
29+
30+
## User action

docs/relational-databases/express-localdb-error-messages/localdb-error-cannot-create-instance-folder.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,28 @@ title: "LOCALDB_ERROR_CANNOT_CREATE_INSTANCE_FOLDER"
33
description: "LOCALDB_ERROR_CANNOT_CREATE_INSTANCE_FOLDER"
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
6-
ms.date: "03/04/2017"
6+
ms.reviewer: randolphwest
7+
ms.date: 07/14/2025
78
ms.service: sql
89
ms.subservice: performance
910
ms.topic: "reference"
1011
---
1112
# LOCALDB_ERROR_CANNOT_CREATE_INSTANCE_FOLDER
12-
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
13-
14-
## Details
15-
13+
14+
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
15+
16+
## Details
17+
1618
| Attribute | Value |
17-
| --------- | ----- |
18-
|Product Name|SQL Server|
19-
|Event ID|256|
20-
|Event Source|SQL Server Local Database Runtime 12.0|
21-
|Component|Local Database Runtime API|
22-
|Message Text|Cannot create folder for the Local Database instance at: %%LOCALAPPDATA%%\Microsoft\Microsoft SQL Server Local DB\Instances\\<instance name\>.|
23-
24-
## Explanation
25-
A folder cannot be created under %userprofile%.
26-
27-
## User Action
28-
19+
| --- | --- |
20+
| Product Name | SQL Server |
21+
| Event ID | 256 |
22+
| Event Source | SQL Server Local Database Runtime 12.0 |
23+
| Component | Local Database Runtime API |
24+
| Message Text | Cannot create folder for the Local Database instance at: %%LOCALAPPDATA%%\Microsoft\Microsoft SQL Server Local DB\Instances\\<instance name\>. |
25+
26+
## Explanation
27+
28+
A folder can't be created under %userprofile%.
29+
30+
## User action

docs/relational-databases/express-localdb-error-messages/localdb-error-cannot-create-sql-process.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,30 @@ title: "LOCALDB_ERROR_CANNOT_CREATE_SQL_PROCESS"
33
description: "LOCALDB_ERROR_CANNOT_CREATE_SQL_PROCESS"
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
6-
ms.date: "03/04/2017"
6+
ms.reviewer: randolphwest
7+
ms.date: 07/14/2025
78
ms.service: sql
89
ms.subservice: performance
910
ms.topic: "reference"
1011
---
1112
# LOCALDB_ERROR_CANNOT_CREATE_SQL_PROCESS
12-
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
13-
14-
## Details
15-
13+
14+
[!INCLUDE [SQL Server](../../includes/applies-to-version/sqlserver.md)]
15+
16+
## Details
17+
1618
| Attribute | Value |
17-
| --------- | ----- |
18-
|Product Name|SQL Server|
19-
|Event ID|268|
20-
|Event Source|SQL Server Local Database Runtime 12.0|
21-
|Component|Local Database Runtime API|
22-
|Message Text|Error occurred during Local Database instance startup: unable to create the SQL Server process.|
23-
24-
## Explanation
25-
A process for SQL Server cannot be created.
26-
27-
## User Action
28-
See the event log for details.
29-
30-
19+
| --- | --- |
20+
| Product Name | SQL Server |
21+
| Event ID | 268 |
22+
| Event Source | SQL Server Local Database Runtime 12.0 |
23+
| Component | Local Database Runtime API |
24+
| Message Text | Error occurred during Local Database instance startup: unable to create the SQL Server process. |
25+
26+
## Explanation
27+
28+
A process for SQL Server can't be created.
29+
30+
## User action
31+
32+
See the event log for details.

0 commit comments

Comments
 (0)