IIS 10 jsreport stopped running
-
It kinda stopped working on IIS node.
After many hours of trying to remove, reinstall, troubleshoot IIS, no success. Its working fine on an other directory (or in the same directory) on localhost:5488 default config. However on IISHere below the error I keep getting:
You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.
In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.
The last 64k of the output generated by the node.exe process to stderr is shown below:
(node:6108) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
2019-03-27T13:50:34.527Z - [x1B][31merror[x1B][39m: Error occured during reporter init SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Object.get (C:\inetpub\mycompany.com\node_modules\jsreport-core\lib\extensions\locationCache.js:26:24)SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Object.get (C:\inetpub\mycompany.com\node_modules\jsreport-core\lib\extensions\locationCache.js:26:24)Help is greatly appreciated.
-
Try to remove this file
Temp\jsreport\core\locations.json
It should be in the users or windows temp directory
-
I was about to write the system info about more detail but geez, this fixed issue in a blink of an eye!
Thank you very much sir.