Erros in Export

Stimulsoft Reports.WEB discussion
Post Reply
Javier Lozano
Posts: 6
Joined: Wed Aug 06, 2014 2:26 pm

Erros in Export

Post by Javier Lozano »

Hello,

I'm continuing my evaluation of your product, but I'm getting some errors in the export process:

PDF Format: I'm getting the error "PdfFonts error at point 6, code #80004005: The operation completed successfully". See Capture.PNG
XPS Format: Object reference not set to an instance of an object. See Capture2.PNG.
All graphics formats are exporting only the current page, not the entire report.

The assemblies version is 2014.1.1900.0

Javier
Attachments
Error in XPS Format
Error in XPS Format
Capture2.PNG (109.98 KiB) Viewed 2945 times
Error in PDF Format
Error in PDF Format
Capture.PNG (115.54 KiB) Viewed 2945 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Erros in Export

Post by HighAley »

Hello.

Could you specify what our component do you use (StiWebDesigner, StiWebViewer, StiMvcViewer, StiMvcMobileViewer and etc.)?
Could you specify what did you do before you got this error?
What settings did you use?

Thank you.
Javier Lozano
Posts: 6
Joined: Wed Aug 06, 2014 2:26 pm

Re: Erros in Export

Post by Javier Lozano »

Please take a look in the attached snapshot, it is the code in the controller. Hope this helps

let me know if you need anything else
Attachments
View Code
View Code
Capture3.PNG (17.22 KiB) Viewed 2932 times
Controler Code
Controler Code
Capture.PNG (38.15 KiB) Viewed 2932 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Erros in Export

Post by Alex K. »

Hello,

Can you please clarify the following information:
pdf:
- the error occurs on any reports or particular report?
- does it depend on the particular font?
- occurs immediately at the first run or after some time?
xps:
- the error occurs on any reports or particular report?
images:
we have added this task in our to-do list.

Thank you.
Javier Lozano
Posts: 6
Joined: Wed Aug 06, 2014 2:26 pm

Re: Erros in Export

Post by Javier Lozano »

I can send you the url user and pwd of the prototype application where the report is running, so you can check it by yourself, but I will need a private email. is there a way to send private messages?
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Erros in Export

Post by Andrew »

Hello Javier Lozano,

Please click the Aleksey's name on the left side of his reply and choose "Send private message".

Thank you.
Javier Lozano
Posts: 6
Joined: Wed Aug 06, 2014 2:26 pm

Re: Erros in Export

Post by Javier Lozano »

message sent.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Erros in Export

Post by Alex K. »

Hello,

Please send this information on support@stimulsoft.com

Thank you.
Javier Lozano
Posts: 6
Joined: Wed Aug 06, 2014 2:26 pm

Re: Erros in Export

Post by Javier Lozano »

Hi guys,

do you have any news about it?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Erros in Export

Post by Alex K. »

Hello,

The error occurs in the following code on the deleting object (it is our code for eliminating memory leaks):

Code: Select all

Font tempFont = new Font(font.Name, 2048, font.Style);
IntPtr hFont = tempFont.ToHfont();
try
{
    IntPtr oldObj = SelectObject(hdc, hFont);
    .....
    SelectObject(hdc, oldObj);
}
finally
{
    bool error = DeleteObject(hFont);
    if (!error) ThrowError(6);
}
Theoretically, in this place should never occur errors, and never not occurred before.
It is difficult to say something about the issue. Can you please send us a simple project which reproduce the issue for analysis. Also please check the next release which will be available in the end of this month, we made some checks in that direction.

Thank you.
Post Reply