CSS coding is coming and pdf wont find image while export

This public forum is for user-to-user discussions of ASP.NET Report Maker. Note that this is not support forum.

CSS coding is coming and pdf wont find image while export

Postby appu1 » Mon Aug 04, 2014 2:35 pm

hi admin,
First , I am exporting my data into word and excel but it will export the css file in the word and as well as excel instead of data.
Second, I am exporting charts in pdf . it starts export but finally when it generates the pdf then it gives an error that xyz.jpg not found, but that image remains in the root folder.
Please help me .
appu1
 
Posts: 33
Joined: Wed Jul 24, 2013 5:14 pm

Re: CSS coding is coming and pdf wont find image while expor

Postby appu1 » Mon Aug 04, 2014 2:47 pm

I am using Asp.net Reportmaker 6.
appu1
 
Posts: 33
Joined: Wed Jul 24, 2013 5:14 pm

Re: CSS coding is coming and pdf wont find image while expor

Postby appu1 » Mon Aug 04, 2014 3:01 pm

while exporting in pdf this message appeared



Server Error in '/' Application.

Could not find file 'D:\my\super_Final_Grants\Grantaooqkhcxrmas0faher2ew4qr_1407135299764_chart_Themewise_Report_Themewise_Report_Cost_of_Project.jpg'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not find file 'D:\my\super_Final_Grants\Grantaooqkhcxrmas0faher2ew4qr_1407135299764_chart_Themewise_Report_Themewise_Report_Cost_of_Project.jpg'.

Source Error:



Line 7345: StreamReader reader = new StreamReader(generate);
Line 7346: int i = -1;
Line 7347: foreach (IElement el in HTMLWorker.ParseToList(reader, _Styles)) {
Line 7348: if (el.ToString() == "iTextSharp.text.pdf.PdfPTable") {
Line 7349: i++;
appu1
 
Posts: 33
Joined: Wed Jul 24, 2013 5:14 pm

Re: CSS coding is coming and pdf wont find image while expor

Postby Webmaster » Tue Aug 05, 2014 9:49 am

Make sure the image exists and make sure that you have write permission to the [File folder].

If you are a registered user, you can send your project/database to the support email for quicker resolution if problem persists.
Webmaster
 
Posts: 10730
Joined: Fri Aug 06, 2004 5:59 pm


Return to General Discussion (ASP.NET Report Maker)