<?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[JS Report with Recipe.Wkhtmltopdf in ASP.NET core 2]]></title><description><![CDATA[<p>I am not able to generate pdf from html using Recipe.Wkhtmltopdf  in my <a href="http://asp.net" rel="nofollow">asp.net</a> core application. Here is my code to generate pdf:<br />
...<br />
string html = System.IO.File.ReadAllText(&quot;Template/chart.html&quot;);<br />
var report = await rs.RenderAsync(new RenderRequest<br />
{<br />
Template = new Template<br />
{<br />
Recipe = Recipe.Wkhtmltopdf,<br />
Engine = Engine.Handlebars,<br />
Content = html,<br />
Wkhtmltopdf = new Wkhtmltopdf<br />
{<br />
AllowLocalFileAccess<br />
}<br />
},<br />
Data = FaultResult()</p>
<pre><code>            })
</code></pre>
<p>...</p>
<p>Please help me resolve the issue.</p>
]]></description><link>https://forum.jsreport.net/topic/436/js-report-with-recipe-wkhtmltopdf-in-asp-net-core-2</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 03:50:24 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/436.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Mar 2018 10:26:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to JS Report with Recipe.Wkhtmltopdf in ASP.NET core 2 on Invalid Date]]></title><description><![CDATA[<p>I am not able to generate pdf from html using Recipe.Wkhtmltopdf  in my <a href="http://asp.net" rel="nofollow">asp.net</a> core application. Here is my code to generate pdf:<br />
...<br />
string html = System.IO.File.ReadAllText(&quot;Template/chart.html&quot;);<br />
var report = await rs.RenderAsync(new RenderRequest<br />
{<br />
Template = new Template<br />
{<br />
Recipe = Recipe.Wkhtmltopdf,<br />
Engine = Engine.Handlebars,<br />
Content = html,<br />
Wkhtmltopdf = new Wkhtmltopdf<br />
{<br />
AllowLocalFileAccess<br />
}<br />
},<br />
Data = FaultResult()</p>
<pre><code>            })
</code></pre>
<p>...</p>
<p>Please help me resolve the issue.</p>
]]></description><link>https://forum.jsreport.net/post/2155</link><guid isPermaLink="true">https://forum.jsreport.net/post/2155</guid><dc:creator><![CDATA[Arup Baroi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to JS Report with Recipe.Wkhtmltopdf in ASP.NET core 2 on Invalid Date]]></title><description><![CDATA[<p>Here is the error:</p>
<p>Error rendering report: instance has been daemonized and initialized successfully (pid: 35596)rendering has finished with errors:Error: An error occurred while trying to execute the command: at onCriticalError ([eval]:29603:25) at [eval]:29558:13 at tryCatcher ([eval]:36038:23) at Promise._settlePromiseFromHandler ([eval]:34061:31) at Promise._settlePromise ([eval]:34118:18) at Promise._settlePromise0 ([eval]:34163:10) at Promise._settlePromises ([eval]:34238:18) at Async._drainQueue ([eval]:31008:16) at Async._drainQueues ([eval]:31018:10) at Immediate.Async.drainQueues [as _onImmediate] ([eval]:30892:14) at processImmediate [as _immediateCallback] (timers.js:396:17) {&quot;originalError&quot;:{&quot;remoteStack&quot;:&quot;Error: Recipe 'wkhtmltopdf' not found\n at jsreportRuntime.js:138931:13\n at tryCatcher (jsreportRuntime.js:47291:23)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:45313:31)\n at Promise._settlePromise (jsreportRuntime.js:45370:18)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at Promise._resolveCallback (jsreportRuntime.js:45233:57)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:45325:17)\n at Promise._settlePromise (jsreportRuntime.js:45370:18)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at PromiseArray._resolve (jsreportRuntime.js:45704:19)\n at PromiseArray._promiseFulfilled (jsreportRuntime.js:45722:14)\n at Promise._settlePromise (jsreportRuntime.js:45375:26)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at Promise._settlePromise (jsreportRuntime.js:45383:21)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at Promise._resolveCallback (jsreportRuntime.js:45255:14)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:45325:17)\n at Promise._settlePromise (jsreportRuntime.js:45370:18)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at Promise._resolveCallback (jsreportRuntime.js:45233:57)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:45325:17)\n at Promise._settlePromise (jsreportRuntime.js:45370:18)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at Promise._resolveCallback (jsreportRuntime.js:45233:57)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:45325:17)\n at Promise._settlePromise (jsreportRuntime.js:45370:18)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at jsreportRuntime.js:44730:21\n at nextTickCallbackWith0Args (node.js:442:9)\n at process._tickCallback (node.js:371:13)&quot;}}(Original) Error: Error during rendering report: Recipe 'wkhtmltopdf' not found at [eval]:36644:23 at ConcatStream. ([eval]:42366:43) at emitNone (events.js:72:20) at ConcatStream.emit (events.js:166:7) at finishMaybe ([eval]:4229:14) at afterWrite ([eval]:4115:3) at nextTickCallbackWithManyArgs (node.js:486:18) at process._tickCallback (node.js:384:17) {&quot;remoteStack&quot;:&quot;Error: Recipe 'wkhtmltopdf' not found\n at jsreportRuntime.js:138931:13\n at tryCatcher (jsreportRuntime.js:47291:23)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:45313:31)\n at Promise._settlePromise (jsreportRuntime.js:45370:18)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at Promise._resolveCallback (jsreportRuntime.js:45233:57)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:45325:17)\n at Promise._settlePromise (jsreportRuntime.js:45370:18)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at PromiseArray._resolve (jsreportRuntime.js:45704:19)\n at PromiseArray._promiseFulfilled (jsreportRuntime.js:45722:14)\n at Promise._settlePromise (jsreportRuntime.js:45375:26)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at Promise._settlePromise (jsreportRuntime.js:45383:21)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at Promise._resolveCallback (jsreportRuntime.js:45255:14)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:45325:17)\n at Promise._settlePromise (jsreportRuntime.js:45370:18)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at Promise._resolveCallback (jsreportRuntime.js:45233:57)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:45325:17)\n at Promise._settlePromise (jsreportRuntime.js:45370:18)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at Promise._resolveCallback (jsreportRuntime.js:45233:57)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:45325:17)\n at Promise._settlePromise (jsreportRuntime.js:45370:18)\n at Promise._settlePromise0 (jsreportRuntime.js:45415:10)\n at Promise._settlePromises (jsreportRuntime.js:45494:18)\n at Promise._fulfill (jsreportRuntime.js:45439:18)\n at jsreportRuntime.js:44730:21\n at nextTickCallbackWith0Args (node.js:442:9)\n at process._tickCallback (node.js:371:13)&quot;}</p>
]]></description><link>https://forum.jsreport.net/post/2156</link><guid isPermaLink="true">https://forum.jsreport.net/post/2156</guid><dc:creator><![CDATA[Arup Baroi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to JS Report with Recipe.Wkhtmltopdf in ASP.NET core 2 on Wed, 07 Mar 2018 14:17:19 GMT]]></title><description><![CDATA[<p>hi! according to your error logs, the exact error is <code>Recipe 'wkhtmltopdf' not found</code>. <code>wkhtmltopdf</code> recipe is not part of default jsreport, you need to install it separately, did you install it? if no, <a href="https://jsreport.net/learn/dotnet-local#custom-extensions" rel="nofollow">here are the steps to do in order to install custom extensions </a></p>
]]></description><link>https://forum.jsreport.net/post/2158</link><guid isPermaLink="true">https://forum.jsreport.net/post/2158</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Wed, 07 Mar 2018 14:17:19 GMT</pubDate></item><item><title><![CDATA[Reply to JS Report with Recipe.Wkhtmltopdf in ASP.NET core 2 on Invalid Date]]></title><description><![CDATA[<p>I am not able to install jsreport-wkhtmltopdf in the jsreport folder. It is always going to my C:\Users\h263351\node_modules\jsreport-wkhtmltopdf folder. Do you have any idea how can i do that. I have run npm install jsreport-wkhtmltopdf from my project jsreport folder. But it always goes to my nodemodules folder.</p>
]]></description><link>https://forum.jsreport.net/post/2159</link><guid isPermaLink="true">https://forum.jsreport.net/post/2159</guid><dc:creator><![CDATA[Arup Baroi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to JS Report with Recipe.Wkhtmltopdf in ASP.NET core 2 on Invalid Date]]></title><description><![CDATA[<p>And if you can send me any sample project with example will be a great help. In the documentation there is very less they have mentioned.</p>
]]></description><link>https://forum.jsreport.net/post/2160</link><guid isPermaLink="true">https://forum.jsreport.net/post/2160</guid><dc:creator><![CDATA[Arup Baroi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to JS Report with Recipe.Wkhtmltopdf in ASP.NET core 2 on Invalid Date]]></title><description><![CDATA[<p>try this, in your jsreport folder create a <code>package.json</code> with <code>{ &quot;name&quot;: &quot;jsreport-local&quot; }</code>, then try to run <code>npm install jsreport-wkhtmltopdf</code> again.</p>
<p>unfortunately i don't have any sample project with custom extensions in .net prepared so it can take a while, so better to try the simple things first.</p>
]]></description><link>https://forum.jsreport.net/post/2161</link><guid isPermaLink="true">https://forum.jsreport.net/post/2161</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to JS Report with Recipe.Wkhtmltopdf in ASP.NET core 2 on Invalid Date]]></title><description><![CDATA[<p>Yes, creating package.json in current folder should help. Otherwise npm installs to the top node_modules if that is found.</p>
]]></description><link>https://forum.jsreport.net/post/2163</link><guid isPermaLink="true">https://forum.jsreport.net/post/2163</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>