Can't compile a report correctly

Stimulsoft Reports.NET discussion
Post Reply
Jalal
Posts: 66
Joined: Sat Oct 09, 2010 4:10 am
Location: Palestine

Can't compile a report correctly

Post by Jalal »

Hello,

I am trying to do something like :

MemoryStream ms = new MemoryStream();
report.compile(ms)

But each time i check the memorystream, i found that length is 0. It look like compile faild for some reason! However, it works fine with other kind of reports.

Regards,
Jalal
Posts: 66
Joined: Sat Oct 09, 2010 4:10 am
Location: Palestine

Can't compile a report correctly

Post by Jalal »

I am using windows Azure to host the application.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Can't compile a report correctly

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Can you please clrarify do the same specific report not work or all reports?

Thank you.
Jalal
Posts: 66
Joined: Sat Oct 09, 2010 4:10 am
Location: Palestine

Can't compile a report correctly

Post by Jalal »

Hello,

Not for all reports. It works fine with other reports. However, The report that faild to compile is big in size compared to other reports.

code :

var blobContainer = StorageAcountDetails.GetCurrentContainer(tenant);

var blobfile = blobContainer.GetBlobReference(StorageAcountDetails.GetBlobNameByLocation(dllname, "dlls"));

using (BlobStream blobstream = blobfile.OpenWrite())
{
using (MemoryStream memStream = new MemoryStream())
{
_report.Compile(memStream);
blobstream.Write(memStream.ToArray(), 0, (int)memStream.Length);
}
}
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Can't compile a report correctly

Post by Alex K. »

Hello,

Please let me know, does the error occur if to compile the report on the local PC?
Also can you please send us a sample of such report for analysis.

Thank you.
Post Reply