Click here to Skip to main content
15,910,661 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi.
in my winform project i have a controle in toll box named as ReportViewer when i try to drag and drop this report viewer in my project then it give me error message the error message is
"
Field to create component 'ReportViewer' The error message follow 'System.runtime.InteropServices.COMException(0x8004D745)' A reference to the component 'Microsoft.report.viewer.winform' Already exist in the project
"

What I have tried:

i dont know how can i solve it please tell me i'm search on google but no solution remove this error
Posted
Comments
Afzaal Ahmad Zeeshan 16-Feb-19 4:38am    
Basically, you are having multiple references to that component. Create a single ReportViewer and then add your elements there. You should check whether you (or the code) is creating any extra instance.
Fahid Zahoor 16-Feb-19 8:33am    
How can i remove other references from component

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900