Page 1 of 1

Erros in Export

Posted: Fri Aug 29, 2014 12:25 am
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

Re: Erros in Export

Posted: Fri Aug 29, 2014 12:32 pm
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.

Re: Erros in Export

Posted: Wed Sep 03, 2014 5:03 am
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

Re: Erros in Export

Posted: Wed Sep 03, 2014 7:44 am
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.

Re: Erros in Export

Posted: Fri Sep 05, 2014 8:58 pm
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?

Re: Erros in Export

Posted: Mon Sep 08, 2014 7:58 am
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.

Re: Erros in Export

Posted: Mon Sep 08, 2014 3:31 pm
by Javier Lozano
message sent.

Re: Erros in Export

Posted: Tue Sep 09, 2014 6:07 am
by Alex K.
Hello,

Please send this information on support@stimulsoft.com

Thank you.

Re: Erros in Export

Posted: Wed Sep 24, 2014 3:44 pm
by Javier Lozano
Hi guys,

do you have any news about it?

Re: Erros in Export

Posted: Thu Sep 25, 2014 9:37 am
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.