Try to render html recipe and check what exactly you have in the html base tag by viewing its source.
Is the css then applied in the html? Can you reach the url in the base tag, after you remote login to the server?
Maybe you need to use some kind of localhost or 127.0.0.1 instead.
I have the same issue... I managed to workaround it by DISABLING the chrome-pool, e.g. remove
from the config. It works.
It is pity as chrome-pool works perfect when using directly in Kestrel (starting from cmd with dotnet Whatever.dll). It also works on my developer machine under IIS Express, but when I publish it to a staging IIS 10 / Windows Server it constantly gives timeouts :(.
Anyway sticking on the default, which starts "extra new chrome process every time you render a template" makes it work, on the price of slower execution.
We are solving similar timeout issue here but that seems to be a problem of windows 7.
I think windows server 2016 should be fine.
Do you use IIS to host the application?
Are you able to temporarily turn of antivirus?
Does the html recipe work there?
Do you get the timeout also on a blank report with just "Hello" ?
There is no difference for this if you run preview or not. I guess your data are different when running from your app and that is why the result is also different.
Unfortunately, there is nothing we can do about such problems as it is specific for the particular pdf renderer.
I believe you use phantom-pdf right? You can try to search phantomjs repository if there is this problem mentioned and hope there is a workaround. https://github.com/ariya/phantomjs/issues
thank you for your comment.
I wrote following code in async action.
public async Task<ContentResult> ReportTotalMonthlyValueAsync(TMVReportViewModel viewModel)
rs = new ReportingService("https://jsreport-cpro.azurewebsites.net/", "user", "password");
var report = await rs.RenderByNameAsync("TotalMonthlyValueReport", new
using (StreamReader reader = new StreamReader(report.Content))
text = reader.ReadToEnd();
when call rs.RenderByNameAsync function, this function does not return.
so i implemented it in console app and it does work.
it only does not work in mvc action.
could you help me?