The definition of the report 'Main Report' is invalid

When you try to convert RDLC Report from VB.NET 2005/2008 to VB.NET 2010, you will encounter an error “The definition of the report 'Main Report' is invalid”. This error is caused by a wrong version on the Project Reference. The work around on this is to remove the two references: Microsoft.ReportViewer.Common Microsoft.ReportViewer.WinForms Here’s the screenshot of the two references that needs to be removed. After you remove the two references, add the correct version which is version 10.0.0.0 On the solution explorer, right click References and click “Add reference”. Hope this help.

This worked great! Thanks for sharing.

Its working!

Very nice solutions.

I was struggling for months

finally !

Working!!!

Thanks...

sir paano nman po kung 2010 to 2008 gusto ko rin po malaman paano paganahin yung iba nyo report gamit yung 2008

I think someone needs to send this guy a fruit basket...

Have spent most of the morning looking into this issue for a colleague and this fix worked perfectly. Thank you very much for taking the time to publish.

thanks for your post...Its Working Perfectly

Add new comment