how to connect .rdlc to form

hi!!! All,
While debuging the report I encountered the error mesage ;-The report definition for "Organisation.Reports.org.rdlc" has not been specified.

Anybody help,
Regards
Tirthankar Ray





Answer this question

how to connect .rdlc to form

  • damonbaker

    The message means that there is no embedded resource named "Organisation.Reports.org.rdlc" in the assembly which contains the form. You can list the resources in the assembly with a tool like idlasm. Note that the name is case-sensitive.

    -Albert


  • Jason Brower

    Hello tirthankar,

    Could you post the code with which you connect the report to the form I also had some troubles with this.

    My solution was the following piece of code:

    ReportViewer1.LocalReport.ReportEmbeddedResource = "CMS.Medewerker_Detailoverzicht.rdlc"

    CMS = project namespace.

    Medewerker_Detailoverzicht.rdlc = report name.

    Hope this helps!

    Greets Frenske


  • how to connect .rdlc to form