Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
tweidner
Helper I
Helper I

COM error: mscorlib, An item with the same key has already been added..

Hi everyone,

 

your help on the following issue would be highly appreciated:

 

I have a report sitting on PBI Report Server, which has a scheduled set up to refresh every 24hrs - no issues.

After switching to PBI RS (October 2020) Desktop, I had to do some minor changes on one of the visuals and after uploading the file to the Report Server the scheduled refreshs fails:

 

tweidner_0-1610621156926.png

 

Report is refreshing fine on PBI RS (October 2020) Desktop version...

 

I was able to identify the source of the issue, which is an append step of two sources (both SAP Business WH Application Server).

 

Refresh is working fine on RS as soon as I delete the append step. Due to the nature of the data I wasn't able (yet) to find another solution in order to life w/o the append step.

 

Lookig forward to your ideas!

 

Best Regards
Tobias

1 ACCEPTED SOLUTION
tweidner
Helper I
Helper I

I've now appended the data sources at BW level to get the measures and attributes I'm looking for.

Therefore I don't have to append two BW datasets at PBI query level anymore.

 

Thank you for your replies!

View solution in original post

7 REPLIES 7
xantari
Helper II
Helper II

I'm also getting this error since October 2020 update.

 

Installed latest hotfix from 1/8/2021 on server and Power BI Desktop application.

 

Still getting this:

SessionID: 2a175ab7-a51c-4407-b3ee-24b65784210e
[0] -1056505856: COM error: Microsoft.PowerBI.ReportServer.ASEngineManagedRoot, An item with the same key has already been added..
[1] -1055784828: The database operation was cancelled because of an earlier failure.
[2] -1055784932: The command has been canceled.. The exception was raised by the IDbCommand interface.
[3] -1055784932: The command has been canceled.. The exception was raised by the IDbCommand interface.
[4] -1055784932: The command has been canceled.. The exception was raised by the IDbCommand interface.
[5] -1055784932: The command has been canceled.. The exception was raised by the IDbCommand interface.
[6] -1056505856: COM error: Microsoft.PowerBI.ReportServer.ASEngineManagedRoot, An item with the same key has already been added..
[7] -1056505856: COM error: Microsoft.PowerBI.ReportServer.ASEngineManagedRoot, An item with the same key has already been added..

tweidner
Helper I
Helper I

I've now appended the data sources at BW level to get the measures and attributes I'm looking for.

Therefore I don't have to append two BW datasets at PBI query level anymore.

 

Thank you for your replies!

Anonymous
Not applicable

Try the solution in the mitigation method, How to Disable Enhanced Dataset Metadata
December 2020 Update – Issues Regarding Power BI R... - Microsoft Power BI Community

 

Paul Zheng _ Community Support Team

 

Hi Paul,

 

I tried both of your suggestions, but unfortunately noe of them was working.

 

Rgds

Tobias

Anonymous
Not applicable

I had the same issue, it appears to be a bug in the new update. Fortunately I was able to recreate my tables into a view in SQL and it fixed the issue but that isn't possible for everyone! The problem is with appending tables and the naming of the columns, check if you have any columns on your merged table that have the same name as the originals (even if capitalised power bi treats them as the same)

Hi Valley Girl,

 

Id id review column all column headers, but I wasn't able to similar names.

 

Thanks & Rgds

Tobias

Anonymous
Not applicable

@tweidner 
I am not sure how is your model look like. Seems the append step is trying to add rows to a table that is originally a unique column, this step would changes the exiting model relationship causing the error. Try Append Queries as New without changing the current relationship.


Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.