0

C#: Error HRESULT E_FAIL has been returned from a call to a COM component in Visual Studio 2015 While Adding Data Source to Rdlc report

tried all solutions from this url Error HRESULT E_FAIL has been returned from a call to a COM component VS2012 when debugging

but didn't succeed. Here attached error image

Manikanta P
  • 2,777
  • 2
  • 19
  • 22
  • What are you trying to do? A RDLC is HTML format so you can open with a text editor to see the source. The Queries are in COMMAND_TEXT tags. So make sure the queries work in SQL Server Management Studio. The command text is html so some special character like & have to be changed from & to test in SSMS. – jdweng Feb 26 '20 at 12:32
  • i'm trying to add Data source object to rdlc report viewer it give me above error.But i added a new project in that solutions and my problem solved.Thanks alot! – Mudassar Mushtaq Feb 27 '20 at 06:40
  • It sounds like the compiler didn't recompile one of the objects. Doing a clean build would of solved the issue. The dependencies in the compiler doesn't always recognize changes to Net Library. – jdweng Feb 27 '20 at 08:06

0 Answers0