Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi!
I am trying to test SQL Server mirroring with our on-premises SQL Server.
I keep having the error
Internal system error occurred. ArtifactId: 8190a71d-9f0b-46c1-a3b9-1971eacef801
For troubleshooting I have set up a new DB on the same server with the same credentials. That works. I have also copied said table over to the new DB and set it up there, that also works. I have also removed the whole set up and started all over, same error.
Any idea how to proceed? Any help is much appreciated
I have set up the Eventstream to see if there is any additional info. Unfortunately not:
{
"Timestamp": 2025-09-29T00:38:32.3870290Z,
"OperationName": FailTable,
"ItemId": 8190a71d-9f0b-46c1-a3b9-1971eacef801,
"ItemKind": MirroredDatabase,
"ItemName": pstDemo,
"WorkspaceId": aafc7d2e-<redacted>-74ebe90bc7b8,
"WorkspaceName": Atom Mirroring Test,
"CapacityId": ee0ceb4e-<redacted>-60e741eb1685,
"CorrelationId": ,
"OperationId": ,
"Identity": ,
"CustomerTenantId": 32452ef0-<redacted>-b289b2f6f29c,
"DurationMs": ,
"Status": ,
"Level": ,
"Region": WestEurope,
"WorkspaceMonitoringTableName": MirroredDatabaseTableExecution,
"OperationStartTime": 2025-09-29T00:38:32.3740310Z,
"OperationEndTime": 2025-09-29T00:38:32.3740310Z,
"MirroringSourceType": MSSQL,
"SourceTableName": F_AccCostWOByPeriod,
"SourceSchemaName": dbo,
"ProcessedRows": 0,
"ProcessedBytes": 0,
"ReplicatorBatchLatency": 0,
"ErrorType": SystemError,
"ErrorMessage": Internal system error occurred. ArtifactId: 8190a71d-9f0b-46c1-a3b9-1971eacef801,
"IngestionTime": 2025-09-29T00:39:28.8586580Z
}
and
{
"Timestamp": 2025-09-29T00:38:32.3870290Z,
"OperationName": FailTable,
"ItemId": 8190a71d-9f0b-46c1-a3b9-1971eacef801,
"ItemKind": MirroredDatabase,
"ItemName": pstDemo,
"WorkspaceId": aafc7d2e-<redacted>-74ebe90bc7b8,
"WorkspaceName": Atom Mirroring Test,
"CapacityId": ee0ceb4e-<redacted>-60e741eb1685,
"CorrelationId": ,
"OperationId": ,
"Identity": ,
"CustomerTenantId": 32452ef0-<redacted>-b289b2f6f29c,
"DurationMs": ,
"Status": ,
"Level": ,
"Region": WestEurope,
"WorkspaceMonitoringTableName": MirroredDatabaseTableExecution,
"OperationStartTime": 2025-09-29T00:38:32.3740310Z,
"OperationEndTime": 2025-09-29T00:38:32.3740310Z,
"MirroringSourceType": MSSQL,
"SourceTableName": F_AccCostWOByPeriod,
"SourceSchemaName": dbo,
"ProcessedRows": 0,
"ProcessedBytes": 0,
"ReplicatorBatchLatency": 0,
"ErrorType": SystemError,
"ErrorMessage": Internal system error occurred. ArtifactId: 8190a71d-9f0b-46c1-a3b9-1971eacef801,
"IngestionTime": 2025-09-29T00:39:28.8586580Z
}
Thanks
Solved! Go to Solution.
Hi!
I have found the issue:
select
name,
is_cdc_enabled
from sys.databases;
EXEC sys.sp_cdc_enable_db
returned that CDC is not enabled for the DB.
When trying to enable it with:
EXEC sys.sp_cdc_enable_db
it failed with
Could not update the metadata that indicates database pstDemo is enabled for Change Data Capture. The failure occurred when executing the command 'SetCDCTracked(Value = 1)'. The error returned was 15517: 'Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.'. Use the action and error to determine the cause of the failure and resubmit the request.
This I fixed with
ALTER AUTHORIZATION ON DATABASE::[pstDemo] TO [sa];
Afterwards I was able to enable CDC and the mirroring started working.
Hi!
I have found the issue:
select
name,
is_cdc_enabled
from sys.databases;
EXEC sys.sp_cdc_enable_db
returned that CDC is not enabled for the DB.
When trying to enable it with:
EXEC sys.sp_cdc_enable_db
it failed with
Could not update the metadata that indicates database pstDemo is enabled for Change Data Capture. The failure occurred when executing the command 'SetCDCTracked(Value = 1)'. The error returned was 15517: 'Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission.'. Use the action and error to determine the cause of the failure and resubmit the request.
This I fixed with
ALTER AUTHORIZATION ON DATABASE::[pstDemo] TO [sa];
Afterwards I was able to enable CDC and the mirroring started working.
Hi @bentz ,
Thanks for reaching out to the Microsoft fabric community forum.
Thanks for your prompt response.
I wanted to follow up and confirm whether you’ve had the opportunity to review the information provided by @tayloramy If you have any questions or need further clarification, please don’t hesitate to reach out.
We appreciate your collaboration and support!
Best regards,
Lakshmi.
Hi @bentz,
“Internal system error occurred. ArtifactId: …” is Fabric’s generic way of saying the mirror couldn’t bring a specific table into a healthy state. Your Eventstream rows (OperationName=FailTable, ErrorType=SystemError) confirm the failure happened at the table level for dbo.F_AccCostWOByPeriod. In practice, this almost always traces back to (a) a table/DB feature that mirroring doesn’t support, (b) missing prerequisites (CDC/change feed depending on SQL version), or (c) a tenant/gateway setting blocking the replicator. See Microsoft’s docs for supported scenarios, limits, and log fields you’re already looking at: Mirroring SQL Server, Limitations, MirroredDatabaseTableExecution schema, and Troubleshooting.
EXEC sp_change_feed_disable_db;Then re-enable via Fabric.
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
User | Count |
---|---|
4 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
12 | |
10 | |
4 | |
3 | |
2 |