﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebScheduler - error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><pubDate>Mon, 21 Oct 2013 22:57:45 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;&lt;p&gt;Maybe, you could give permission for each user to enable the export method. With this, only verified user that can export WebScheduler to pdf. Also, you could try to change the file name for each user so it will minimize risk of data leak in your application. Is it possible for your for doing these method? Look forward to hear any feedback from you so I can help you further.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;</description></item><item><title>error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><pubDate>Mon, 21 Oct 2013 09:56:08 GMT</pubDate><dc:creator>aliard@sigma-rh.com</dc:creator><description>&lt;p&gt;Hi Bernard,&lt;/p&gt;&lt;p&gt;There is a security issue having to save the file in a temporary folder. This way, the report is available to anyone who will fall on that URL (even if it is for a short period of time) and then potentially leads to confidential information leak.&lt;/p&gt;
&lt;p&gt;This is the major issue.&lt;/p&gt;
&lt;p&gt;Another issue is that we need to give Write access to a folder under the web application. This is not a good practice.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Alex&lt;br /&gt;&lt;/p&gt;</description></item><item><title>error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><pubDate>Mon, 21 Oct 2013 00:42:40 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;&lt;p&gt;We could change the exporting method like you tell us before. But we couldn't implement this method in our control because it will change all of our exporting mechanism. Actually, the result is will be the same between our method and stream method in exporting. By using our exporting method, it will create the file and it will prompt to download the file. After you download the file, the file will be deleted in your temporary folder. Is there any problem when you're using temp folder in your local end? I'll let our developer know any feedback that you gave to us. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;</description></item><item><title>error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><pubDate>Fri, 18 Oct 2013 11:56:47 GMT</pubDate><dc:creator>aliard@sigma-rh.com</dc:creator><description>Hi Bernard,&lt;br /&gt;&lt;br /&gt;We are also using activereport for a reporting module in out application.&lt;br /&gt;We do the export without using a temporary file by exporting to a memorystream. &lt;br /&gt;&lt;br /&gt;Here is the code we use:&lt;br /&gt;&lt;br /&gt;// in this sample this._report.Document is a ActiveReport.Document class&lt;br /&gt;&lt;br /&gt;//getting the memorystream&lt;br /&gt;System.IO.MemoryStream stream = null;&lt;br /&gt;&lt;br /&gt;using(DataDynamics.ActiveReports.Export.Pdf.PdfExport pdf = new&amp;nbsp; DataDynamics.ActiveReports.Export.Pdf.PdfExport())&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; stream = new System.IO.MemoryStream();&lt;br /&gt;&amp;nbsp; pdf.Export(this._report.Document, stream);&lt;br /&gt;&amp;nbsp; stream.Position = 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//output to the page&lt;br /&gt;this.Response.Buffer = true;&lt;br /&gt;this.Response.ClearContent();&lt;br /&gt;this.Response.ClearHeaders();&lt;br /&gt;&lt;br /&gt;this.Response.AppendHeader("content-disposition", "inline; filename=report.pdf");&lt;br /&gt;this.Response.ContentType = "application/pdf";&lt;br /&gt;&lt;br /&gt;if(exportedReport.stream.Length &amp;gt; 0)&lt;br /&gt; this.Response.BinaryWrite(exportedReport.stream.ToArray());&lt;br /&gt;this.Response.End();&lt;br /&gt;</description></item><item><title>error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><pubDate>Tue, 15 Oct 2013 22:22:17 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;&lt;p&gt;I think this scenario couldn't be achieved in our WebScheduler because it is using ActiveReport engine to perform its export mechanism. However, we couldn't change its mechanism so I think WebScheduler still need a temporary folder to perform its exporting. Maybe, you could delete the file in temporary folder after you download the file. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;</description></item><item><title>error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><pubDate>Fri, 11 Oct 2013 09:21:00 GMT</pubDate><dc:creator>aliard@sigma-rh.com</dc:creator><description>&lt;p&gt;Do you think you can develop a method that will only create a filestream? &lt;/p&gt;
&lt;p&gt;After that we could either send ti to the browser ourselve or just save the file in a database instead of saving it on disk.&lt;/p&gt;</description></item><item><title>error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><pubDate>Thu, 10 Oct 2013 22:35:05 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;&lt;p&gt;I think it need to create a temporary file so it can be sent to the browser. However after you send the file, you could delete the file in your temporary folder. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;</description></item><item><title>error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><pubDate>Thu, 10 Oct 2013 13:29:01 GMT</pubDate><dc:creator>aliard@sigma-rh.com</dc:creator><description>Hi,&lt;br /&gt;&lt;br /&gt;I would like to avoid having to create a temporary file.&lt;br /&gt;&lt;br /&gt;Is it possible to access the filestream instead of having to save the file on disk before sending it to the browser ?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Alex&lt;br /&gt;</description></item><item><title>error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><pubDate>Wed, 09 Oct 2013 23:02:01 GMT</pubDate><dc:creator>bernard</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;&lt;p&gt;You could specify the report path on Export server side event. Here's the snippet code:&lt;/p&gt;&lt;pre&gt;e.ReportInfo.IISReportPath = "/SchedulerReport/";&lt;/pre&gt;
&lt;p&gt;Please let me know if you have any further question regarding this matter. Hope this helps.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Bernard&lt;/p&gt;</description></item><item><title>error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><pubDate>Wed, 09 Oct 2013 15:11:01 GMT</pubDate><dc:creator>aliard@sigma-rh.com</dc:creator><description>Hi Bernard,&lt;br /&gt;&lt;br /&gt;Is there a way to send the report to the browser without having to save it on the TempReports folder ?&lt;br /&gt;We would like to avoid having to give write permission to that folder.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Alex&lt;br /&gt;</description></item><item><title>error export to pdf</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/error-export-to-pdf/</link><pubDate>Wed, 18 Sep 2013 10:47:05 GMT</pubDate><dc:creator>aliard@sigma-rh.com</dc:creator><description>&lt;p&gt;When we do export the webscheduler with the following code:&lt;br /&gt;&lt;br /&gt;ISNet.WebUI.WebScheduler.Report.WebSchedulerReportInfo info = new ISNet.WebUI.WebScheduler.Report.WebSchedulerReportInfo();&lt;br /&gt;info.FileName = "WebSchedulerToPdf.pdf";&lt;br /&gt;this._eventsScheduler.ViewSettings.SelectedViewMode = WebSchedulerViewMode.Month;&lt;br /&gt;this._eventsScheduler.ExportScheduler(info);&lt;br /&gt;&lt;br /&gt;we get the error:&lt;br /&gt;&lt;br /&gt;Specified argument was out of the range of valid values.&lt;br /&gt;&lt;br /&gt;Parameter name: value&lt;br /&gt;&lt;br /&gt;Stack:&lt;br /&gt;&lt;br /&gt;at System.Web.UI.WebControls.FontInfo.set_Size(FontUnit value)&lt;br /&gt;at .?.?()&lt;br /&gt;at .?.?()&lt;br /&gt;at ..CreateReport()&lt;br /&gt;at ..CreateReport()&lt;br /&gt;at ISNet.WebUI.WebScheduler.Report.WebSchedulerReportHelper.?()&lt;br /&gt;at ISNet.WebUI.WebScheduler.Report.WebSchedulerReportHelper.CreateReport()&lt;br /&gt;at ISNet.WebUI.WebScheduler.WebScheduler.ExportScheduler(WebSchedulerReportInfo ?[1], WebSchedulerReportOutputPathType ?[1])&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>