<?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[Assets Not found - jsreport studio]]></title><description><![CDATA[<p>Hi,</p>
<p>I have deployed jsreport as part of my <a href="http://asp.net" rel="nofollow">asp.net</a> core app with jsreport.Local and .AsWebServer().<br />
The reports are rendered fine when rendering via the C# API but when I am trying to do it in the jsreport Studio, it is unable to get the javascripts (jquery, moment.js etc).</p>
<p>+0      Starting rendering request 50<br />
+1      Rendering template {shortid:rkCJZ2G_M, recipe:phantom-pdf,engine:handlebars}<br />
+1      Data item not defined for this template.<br />
+6      Replaced assets [&quot;jquery.min.js&quot;]<br />
+6      Resources not defined for this template.<br />
+6      Base url injected: file:///C:/sites\<a href="http://xxxxxx.com" rel="nofollow">xxxxxx.com</a>\wwwroot\jsreport/<br />
+7      Rendering engine handlebars<br />
+9      Taking compiled template from engine cache<br />
+10     Replaced images []<br />
+10     Executing recipe phantom-pdf<br />
+338    Converting in dedicated phantomjs 1.9.8<br />
+342    Request file:///C%3A%5Cwindows%5CTEMP%5Cjsreport%5Cde7a8560-1ba7-11e8-8ab9-17878898caa5html.html<br />
+342    Request <a href="http://xxxxxx.com:5488//testReportassets/content/jquery.min.js" rel="nofollow">http://xxxxxx.com:5488//testReportassets/content/jquery.min.js</a><br />
+361    Unable to load resource (#2URL:<a href="http://xxxxxx.com:5488//testReportassets/content/jquery.min.js" rel="nofollow">http://xxxxxx.com:5488//testReportassets/content/jquery.min.js</a>)<br />
+361    Error code: 203. Description: Error downloading <a href="http://xxxxxx.com:5488//testReportassets/content/jquery.min.js" rel="nofollow">http://xxxxxx.com:5488//testReportassets/content/jquery.min.js</a> - server replied: Not Found<br />
+394    phantom-pdf recipe finished with 1 pages generated<br />
+394    Skipping storing report.<br />
+397    Rendering request finished 50</p>
]]></description><link>https://forum.jsreport.net/topic/427/assets-not-found-jsreport-studio</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 20:07:37 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/427.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 27 Feb 2018 10:25:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Assets Not found - jsreport studio on Tue, 27 Feb 2018 10:35:01 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>I have deployed jsreport as part of my <a href="http://asp.net" rel="nofollow">asp.net</a> core app with jsreport.Local and .AsWebServer().<br />
The reports are rendered fine when rendering via the C# API but when I am trying to do it in the jsreport Studio, it is unable to get the javascripts (jquery, moment.js etc).</p>
<p>+0      Starting rendering request 50<br />
+1      Rendering template {shortid:rkCJZ2G_M, recipe:phantom-pdf,engine:handlebars}<br />
+1      Data item not defined for this template.<br />
+6      Replaced assets [&quot;jquery.min.js&quot;]<br />
+6      Resources not defined for this template.<br />
+6      Base url injected: file:///C:/sites\<a href="http://xxxxxx.com" rel="nofollow">xxxxxx.com</a>\wwwroot\jsreport/<br />
+7      Rendering engine handlebars<br />
+9      Taking compiled template from engine cache<br />
+10     Replaced images []<br />
+10     Executing recipe phantom-pdf<br />
+338    Converting in dedicated phantomjs 1.9.8<br />
+342    Request file:///C%3A%5Cwindows%5CTEMP%5Cjsreport%5Cde7a8560-1ba7-11e8-8ab9-17878898caa5html.html<br />
+342    Request <a href="http://xxxxxx.com:5488//testReportassets/content/jquery.min.js" rel="nofollow">http://xxxxxx.com:5488//testReportassets/content/jquery.min.js</a><br />
+361    Unable to load resource (#2URL:<a href="http://xxxxxx.com:5488//testReportassets/content/jquery.min.js" rel="nofollow">http://xxxxxx.com:5488//testReportassets/content/jquery.min.js</a>)<br />
+361    Error code: 203. Description: Error downloading <a href="http://xxxxxx.com:5488//testReportassets/content/jquery.min.js" rel="nofollow">http://xxxxxx.com:5488//testReportassets/content/jquery.min.js</a> - server replied: Not Found<br />
+394    phantom-pdf recipe finished with 1 pages generated<br />
+394    Skipping storing report.<br />
+397    Rendering request finished 50</p>
]]></description><link>https://forum.jsreport.net/post/2100</link><guid isPermaLink="true">https://forum.jsreport.net/post/2100</guid><dc:creator><![CDATA[saad749]]></dc:creator><pubDate>Tue, 27 Feb 2018 10:35:01 GMT</pubDate></item><item><title><![CDATA[Reply to Assets Not found - jsreport studio on Invalid Date]]></title><description><![CDATA[<p>&lt;script src=&quot;{#asset jquery.min.js @encoding=link}&quot;&gt;&lt;/script&gt;</p>
<p>This is how I am linking the scripts</p>
]]></description><link>https://forum.jsreport.net/post/2101</link><guid isPermaLink="true">https://forum.jsreport.net/post/2101</guid><dc:creator><![CDATA[saad749]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Assets Not found - jsreport studio on Invalid Date]]></title><description><![CDATA[<p>Do you use <a href="https://github.com/jsreport/jsreport-dotnet-example-webapp/blob/master/Controllers/HomeController.cs#L23" rel="nofollow">jsreport asp.net core middleware</a> for rendering?</p>
<p>Do you apply some special options or configurations for jsreport?</p>
<p>I think that it could help configuring jsreport with the following.</p>
<pre><code class="language-js">assets: {
  // wildcard pattern for accessible linked or external files
  allowedFiles: &quot;**/*.*&quot;,
  // enables access to files not stored as linked assets in jsreport store    
  searchOnDiskIfNotFoundInStore: true,
  // root url used when embedding assets as links {#asset foo.js @encoding=link}
  rootUrlForLinks: &quot;file:////C:/sites/xxxxxx.com/wwwroot/jsreport/&quot;,
}
</code></pre>
<p><a href="https://jsreport.net/learn/assets#configuration" rel="nofollow">https://jsreport.net/learn/assets#configuration</a></p>
]]></description><link>https://forum.jsreport.net/post/2103</link><guid isPermaLink="true">https://forum.jsreport.net/post/2103</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Assets Not found - jsreport studio on Tue, 27 Feb 2018 19:38:57 GMT]]></title><description><![CDATA[<p>No, I am not using the middleware.<br />
I am just using the following line:</p>
<pre><code class="language-csharp">var report = await _jsReportMVCService.RenderAsync(model.Report.TemplateCode, jsonObject);
</code></pre>
<p>The template has already been defined in the studio (long time ago) and renders correctly. Only if I try to test it in the studio, it is unable to load the scripts.</p>
<p>I use the following code to register the jsReportMVCservice in the Startup - ConfigureServices method:</p>
<pre><code class="language-csharp">var _reportingService =
                new LocalReporting()
                .UseBinary(JsReportBinary.GetBinary())
                .RunInDirectory(Path.Combine(Directory.GetCurrentDirectory(), &quot;jsreport&quot;))
                .Configure(cfg =&gt; cfg
                    .FileSystemStore()
                    .BaseUrlAsWorkingDirectory()
                )
                .AsWebServer()
                .RedirectOutputToConsole()
                .Create();

services.AddJsReport(_reportingService);
</code></pre>
<p>As I am using jsReport.Local and jsReport.Binary, where should I put the mentioned configuration file?<br />
In my project, I only have a jsreport folder than contains the template files, assets etc.</p>
]]></description><link>https://forum.jsreport.net/post/2105</link><guid isPermaLink="true">https://forum.jsreport.net/post/2105</guid><dc:creator><![CDATA[saad749]]></dc:creator><pubDate>Tue, 27 Feb 2018 19:38:57 GMT</pubDate></item><item><title><![CDATA[Reply to Assets Not found - jsreport studio on Invalid Date]]></title><description><![CDATA[<p>I tried putting the config file in the jsreport folder:<br />
<img src="/uploads/files/1519795448673-js-assets-notfound-1-resized.jpeg" alt="0_1519795230260_js-assets-notfound-1.JPG" class="img-responsive img-markdown" /></p>
<p>but it doesnt seem to work.</p>
<p>Below is the C:\sites\<a href="http://xxxxxx.com" rel="nofollow">xxxxxx.com</a>\wwwroot directory with the above mentioned jsreport folder:</p>
<p><img src="/uploads/files/1519795537960-assets-notfound-2.jpeg" alt="0_1519795320879_assets-notfound-2.JPG" class="img-responsive img-markdown" /><br />
<img src="/uploads/files/1519795547716-assets-notfound-3.jpeg" alt="0_1519795332746_assets-notfound-3.JPG" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.jsreport.net/post/2107</link><guid isPermaLink="true">https://forum.jsreport.net/post/2107</guid><dc:creator><![CDATA[saad749]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Assets Not found - jsreport studio on Invalid Date]]></title><description><![CDATA[<p>Ok I see it now. Thanks for more information.</p>
<p>Please update to the latest <code>jsreport.Binary@1.10.0</code>. The bug with assets links is fixed there.<br />
Note that <a href="http://nuget.org" rel="nofollow">nuget.org</a> is having currently some issues and the package validation is delayed.<br />
Please check the package status <a href="https://www.nuget.org/packages/jsreport.Binary" rel="nofollow">here</a> if you still don't see update available.</p>
]]></description><link>https://forum.jsreport.net/post/2109</link><guid isPermaLink="true">https://forum.jsreport.net/post/2109</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Assets Not found - jsreport studio on Invalid Date]]></title><description><![CDATA[<p>Even the nuget site is also currently showing only 1.9.2. I will check tomorrow, hopefully it will be updated.</p>
]]></description><link>https://forum.jsreport.net/post/2110</link><guid isPermaLink="true">https://forum.jsreport.net/post/2110</guid><dc:creator><![CDATA[saad749]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Assets Not found - jsreport studio on Invalid Date]]></title><description><![CDATA[<p>Hm, not sure what nuget is doing.... I've contacted their support, no response so far... Lets see tomorrow.</p>
<p><img src="/uploads/files/1519853511928-upload-fa080b2c-4d98-4808-81c1-98a00b54dd87.png" alt="0_1519853512117_upload-fa080b2c-4d98-4808-81c1-98a00b54dd87" class="img-responsive img-markdown" /></p>
]]></description><link>https://forum.jsreport.net/post/2117</link><guid isPermaLink="true">https://forum.jsreport.net/post/2117</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Assets Not found - jsreport studio on Invalid Date]]></title><description><![CDATA[<p>The 1.10 package should be there! Thanks to nuget support.</p>
]]></description><link>https://forum.jsreport.net/post/2127</link><guid isPermaLink="true">https://forum.jsreport.net/post/2127</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Assets Not found - jsreport studio on Invalid Date]]></title><description><![CDATA[<p>Works perfectly now. Thank you for the quick fix. :)</p>
]]></description><link>https://forum.jsreport.net/post/2141</link><guid isPermaLink="true">https://forum.jsreport.net/post/2141</guid><dc:creator><![CDATA[saad749]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>