<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[.Net Local reporting Phantom file not closing]]></title><description><![CDATA[<p>Hello!</p>
<p>Using PhantomPDF and c# with the .AsUtility() option of the LocalReporting object, I'm able to Render the HTML to PDF just fine, but the app holds on to the PDF so I'm not able to access it until the program is closed.  I've tried to set all objects to null and run the rs.KillAsync().Wait() command.  Is there something else that I need to do?</p>
]]></description><link>https://forum.jsreport.net/topic/587/net-local-reporting-phantom-file-not-closing</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Nov 2026 03:14:55 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/587.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Jun 2018 17:47:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to .Net Local reporting Phantom file not closing on Invalid Date]]></title><description><![CDATA[<p>Hello!</p>
<p>Using PhantomPDF and c# with the .AsUtility() option of the LocalReporting object, I'm able to Render the HTML to PDF just fine, but the app holds on to the PDF so I'm not able to access it until the program is closed.  I've tried to set all objects to null and run the rs.KillAsync().Wait() command.  Is there something else that I need to do?</p>
]]></description><link>https://forum.jsreport.net/post/2927</link><guid isPermaLink="true">https://forum.jsreport.net/post/2927</guid><dc:creator><![CDATA[macarson123]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to .Net Local reporting Phantom file not closing on Invalid Date]]></title><description><![CDATA[<p>I just noticed the Report.Content.Dispose() method, but that didn't do it either.</p>
]]></description><link>https://forum.jsreport.net/post/2935</link><guid isPermaLink="true">https://forum.jsreport.net/post/2935</guid><dc:creator><![CDATA[macarson123]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to .Net Local reporting Phantom file not closing on Invalid Date]]></title><description><![CDATA[<p>fyi, I figured it out:</p>
<p>FileStream stream = new FileStream(outfile, FileMode.Create);<br />
customReport.Content.CopyTo(stream);<br />
stream.Close();</p>
]]></description><link>https://forum.jsreport.net/post/2937</link><guid isPermaLink="true">https://forum.jsreport.net/post/2937</guid><dc:creator><![CDATA[macarson123]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>