Report throws exception on WebReportViewer Html tags

Posted by: sher-khan on 3 August 2017, 3:22 pm EST

  • Posted 3 August 2017, 3:22 pm EST

    I used simple Html like "

    Hi

    " for FormattedText Item and I am setting it from c#. But when I run the report in web application it throws exception and the message is ""An unexpected error occured. Additional information: 'Object reference not set to an instance of an object.'"
  • Replied 3 August 2017, 3:22 pm EST

    Hello,



    I was not able to replicate the issue at my end with the latest build of
    Data Dynamics Reports i.e v1.6.2260.3. I created a project that renders
    a report containing formatted text report item in the WebReportViewer. I have attached my sample project, I would request you to modify the same to depict your issue so that I can replicate the issue at my end and debug it further.

    Thanks,
    Manpreet Kaur

    2012/12/FormattedTextTest.zip
  • Replied 3 August 2017, 3:22 pm EST

    Thanks Manpreet,



    It works fine on IIS Express (Visual Studio built in IIS) but when you configure it on IIS. For example http://localhost/FormattedTextTest/Default.aspx then it crashes.



    Regards,



    Sher Khan
  • Replied 3 August 2017, 3:22 pm EST

    Hello,

    Your query has been answered at the following link: http://www.datadynamics.com/forums/150523/ShowPost.aspx. Hope it will help you. Please let me know if you have any queries further.

    Thanks,
    Manpreet Kaur
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels