Page 1 of 1

Can't compile a report correctly

Posted: Tue Apr 24, 2012 2:32 am
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,

Can't compile a report correctly

Posted: Wed Apr 25, 2012 7:29 am
by Jalal
I am using windows Azure to host the application.

Can't compile a report correctly

Posted: Wed Apr 25, 2012 8:50 am
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.

Can't compile a report correctly

Posted: Wed Apr 25, 2012 10:06 am
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);
}
}

Can't compile a report correctly

Posted: Thu Apr 26, 2012 8:17 am
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.