Erros in Export
-
- Posts: 6
- Joined: Wed Aug 06, 2014 2:26 pm
Erros in Export
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
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
- Capture2.PNG (109.98 KiB) Viewed 2946 times
-
- Error in PDF Format
- Capture.PNG (115.54 KiB) Viewed 2946 times
Re: Erros in Export
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.
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.
-
- Posts: 6
- Joined: Wed Aug 06, 2014 2:26 pm
Re: Erros in Export
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
let me know if you need anything else
- Attachments
-
- View Code
- Capture3.PNG (17.22 KiB) Viewed 2933 times
-
- Controler Code
- Capture.PNG (38.15 KiB) Viewed 2933 times
Re: Erros in Export
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.
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.
-
- Posts: 6
- Joined: Wed Aug 06, 2014 2:26 pm
Re: Erros in Export
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
Hello Javier Lozano,
Please click the Aleksey's name on the left side of his reply and choose "Send private message".
Thank you.
Please click the Aleksey's name on the left side of his reply and choose "Send private message".
Thank you.
-
- Posts: 6
- Joined: Wed Aug 06, 2014 2:26 pm
Re: Erros in Export
message sent.
-
- Posts: 6
- Joined: Wed Aug 06, 2014 2:26 pm
Re: Erros in Export
Hi guys,
do you have any news about it?
do you have any news about it?
Re: Erros in Export
Hello,
The error occurs in the following code on the deleting object (it is our code for eliminating memory leaks):
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.
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);
}
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.