LoadDocument fails in prerelease build

Stimulsoft Reports.WEB discussion
Post Reply
Lynn
Posts: 42
Joined: Tue Oct 06, 2009 9:58 am
Location: United States

LoadDocument fails in prerelease build

Post by Lynn »

When we switched from the previous version (2009.2.500.0) to the prerelease version (2009.3.511.0), our code broke:

Code: Select all

Stream reportFile = GetFileStream("Report.mdc");
if (reportFile != null)
{
     StiReport reportOutput = new StiReport();
     reportOutput.LoadDocument(reportFile);
...
The error is occurring in the LoadDocument call, and appears to be due to a problem with reading the stream (offset parameter to Seek is a negative value).

Is this a known issue / will it be addressed?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

LoadDocument fails in prerelease build

Post by Edward »

Hi

I checked that code with both versions of our libraries. Everything worked correctly.

Could you please send a sample to support[at]stimulsoft.com which reproduces the problem.

Thank you.
Post Reply