SSRS - An item with the same key has already been added

Ever got this message and wondered what does it means?
The query works fine in SSMS but fails to refresh and update the column names in SSRS !!



It happen to be that I've used the same column names in my query, but SQL handled it as I was using a table prefix in my join.

Just alias your column names !!!  and remember not to select * !!!

Comments

  1. Thanks a lot!!! I was just trying for almost 1/2 hour.....

    ReplyDelete
  2. Thanks!!! It saved a lot of time....

    ReplyDelete

Post a Comment

Popular posts from this blog

Open SSRS Linked URLS in a new window

SSRS Font Weight expressions