Thanks for the information.
I think that i will need to keep running the jsreport server in background, and that mean that i need to use jsreport.Embedded.
Posts made by maikolestevez
-
RE: Applying configuration on .net core app
-
RE: Applying configuration on .net core app
Thanks,
At the end i did this by reading the documentation, but i didn't know if is working because i was trying to improve the performance and it's still the same.
I was trying to run the LocalReporting as a webserver but was almost the same.
How can i use the node.js jsreport? -
Applying configuration on .net core app
How can I add configuration to my LocalReporting object on .net core
I would like to add this
"phantom": {
"strategy": "phantom-server"
},
"tasks": {
"strategy": "http-server"
} -
RE: Error rendering report: instance has been daemonized
Sorry, I just was trying to see if someone in the forum could help me.
I will continue this issue in github. -
Error rendering report: instance has been daemonized
Hello,
Im trying to fallow the example that you have in the demos with dotnet core and im executing this code on my controller:
var rs = new LocalReporting() .Configure(cfg => cfg.FileSystemStore()) .UseBinary(JsReportBinary.GetBinary()) .AsUtility() .Create(); var report = await rs.RenderByNameAsync("Invoice", new { number="123", seller =new{name="Mayko Estevez",road="La nunnez",country="Dominican Republic" } });
I referenced the studio project to my webproject, and when i call the controller i get this error:
An unhandled exception occurred while processing the request.
JsReportBinaryException: Error rendering report: instance has been daemonized and initialized successfully (pid: 9280)rendering has finished with errors:Error: An error occurred while trying to execute the command: at onCriticalError ([eval]:36106:25) at [eval]:36061:13 at tryCatcher ([eval]:9718:23) at Promise._settlePromiseFromHandler ([eval]:38241:31) at Promise._settlePromise ([eval]:38298:18) at Promise._settlePromise0 ([eval]:38343:10) at Promise._settlePromises ([eval]:38418:18) at Async._drainQueue ([eval]:4650:16) at Async._drainQueues ([eval]:4660:10) at Immediate.Async.drainQueues [as _onImmediate] ([eval]:4534:14) at processImmediate [as _immediateCallback] (timers.js:396:17) {"originalError":{"remoteStack":"Error: Asset Invoice styles.css not found\n at jsreportRuntime.js:123990:15\n at tryCatcher (jsreportRuntime.js:47185:23)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:129736:31)\n at Promise._settlePromise (jsreportRuntime.js:129793:18)\n at Promise._settlePromise0 (jsreportRuntime.js:129838:10)\n at Promise._settlePromises (jsreportRuntime.js:129917:18)\n at Async._drainQueue (jsreportRuntime.js:42117:16)\n at Async._drainQueues (jsreportRuntime.js:42127:10)\n at Immediate.Async.drainQueues [as _onImmediate] (jsreportRuntime.js:42001:14)\n at processImmediate [as _immediateCallback] (timers.js:396:17)"}}(Original) Error: Error during rendering report: Asset Invoice styles.css not found at [eval]:39138:23 at ConcatStream. ([eval]:44860: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) {"remoteStack":"Error: Asset Invoice styles.css not found\n at jsreportRuntime.js:123990:15\n at tryCatcher (jsreportRuntime.js:47185:23)\n at Promise._settlePromiseFromHandler (jsreportRuntime.js:129736:31)\n at Promise._settlePromise (jsreportRuntime.js:129793:18)\n at Promise._settlePromise0 (jsreportRuntime.js:129838:10)\n at Promise._settlePromises (jsreportRuntime.js:129917:18)\n at Async._drainQueue (jsreportRuntime.js:42117:16)\n at Async._drainQueues (jsreportRuntime.js:42127:10)\n at Immediate.Async.drainQueues [as _onImmediate] (jsreportRuntime.js:42001:14)\n at processImmediate [as _immediateCallback] (timers.js:396:17)"}Any help would be appreciate, thanks
-
RE: Is there a way for JsReport to use Bootstrap CSS?
I know that your question was a few month ago, but I'm using bootstrap by downloading a custom version in this link https://getbootstrap.com/docs/3.3/customize/?id=d2dd78313bd34670993c1c2fef6bf6b1, i unchecked the option call "Printing media style", and is working by now, at least is letting me to set the color style correctly.
This is the way i imported bootstrap in jsreport studio version 1.9.2
1.Upload the file bootstrap.min.css to assets
2.<style> {#asset bootstrap.min.css @encoding=utf8}</style>About the grid system, you could replace it by using table, is not the same but it could help, if you want you can see the invoice example using table here
I hope it helps someone.