Dear Team,
We are trying to save as pdf/excel format from our customize report. Those customize report is shown item information with picture. We can be preview the report but can't save as.
Error is
non-negative number required
parameter name :value
Server Info
Intel(R) Xeon(R) CPU E5620@2.40GH
RAM : 16GB
System Type : 64Bit
Page File Size :16373MB
But i can be export out at my pc. #-o
Regards,
Yukon
Make Simple & Easy
0
Comments
Try to run the report without Pictures. If the report runs fine, then try to run the report with a few images.
If it fails again delete all the meta data on these few images and run report again.
If it runs fine include more Pictures until it fails and then delete all the meta data on the just included images. You repeat this until your report runs with all images. I think there might be tools which can remove metadata on images in a batch.
But then again this might not be issue, but give it a try.
/Claus Lundstrøm
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Thanks for your reply. Before i post at here i tried to print and save as excel/pdf without picture. It's ok. If i save as again with picture it only can view cannot save as. ](*,) Is it inside database or where? How can i clear the meta data?
I didn't clear meta data and i never tried one by one.
I think this way but not sure is it correct way or not. What i think is "run-time load the picture during run the report (Picture save at one folder)". If i do that way how about the performance. [-(
Regards,
Yukon
2. Right click image
3. Select "Properties"
4. Select "Details" tab
5. Hit "Remove Properties and Personal Information"
6. Import Picture back into NAV. Tip, if you import from RTC you can import in JPG format and not BMP as you have to in Classic.
7. Run report with only this image. Hopefully it Works now.
Concerning performance it's better to embed the image into the report. This way it is not repeated in dataset for each row and your report performs much better, so if this possible I recommend that you do this. But of course you loose the flexibilty of changing the images in NAV. You need to decide what is best solution for you.
/Claus Lundstrøm
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Thanks again to you. They are using the RTC only and most pictures are "jpg" format. Is it any issue of file type on this case.
I also though this case. Here is idea for changing image.
1. All images will be save in nav.
2. Export the image to defined folder when the report is running.
3. Show the picture on report base on related information.
Do you have any comment on my idea? All are idea i haven't test it :roll:
Regards,
Yukon
/Claus Lundstrøm
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
You're right!
Start facing problem with this one. ](*,)
I read this "EnableExternalImages Property" http://msdn.microsoft.com/en-us/library/ff477109
It does not point how to set it. Can you point to me how to set it? I know that at ".net" application how to set it. :?
Regards,
Yukon
/Claus Lundstrøm
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
If i can do well i'll post here again.
Thanks for your help and information.
Let me test it .....
Regards,
Yukon
That's right! I shown one picture on my report and save as to pdf. I got the error. And then i replace with other picture (1MB - Size). At that time i can save as. So i use software http://digitalconfidence.com/downloads.html and remove the meta data from image and load back to database. This time is work.
After i tested, i thought it not so much different between External and Data Source. Because of if we use External method all pictures saved/download to client side during report running. How do you think on this?
Here is Item Picture Load External Path Code for Share
Thanks for your help.
Best Regards,
Yukon