寻找有关在IIS上设置Unoconv的建议。
我试图通过PHP运行这个程序,但是我得到了下面的错误。
Verbosity set to level 3
Using office base path: C:\Program Files\LibreOffice
Using office binary path: C:\Program Files\LibreOffice\program
DEBUG: Connection type: socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ComponentContext
DEBUG: Existing listener not found.
DEBUG: Launching our own listener using C:\Program Files\LibreOffice\program\soffice.exe.
LibreOffice listener arguments are ['C:\\Program Files\\LibreOffice\\program\\soffice.exe', '--headless', '--invisible', '--nocrashreport', '--nodefault', '--nofirststartwizard', '--nologo', '--norestore', '--accept=socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ComponentContext'].
LibreOffice listener successfully started. (pid=8808)
Failed to connect to C:\Program Files\LibreOffice\program\soffice.exe (pid=8808) in 6 seconds.
Connector : couldn't connect to socket (WSAECONNREFUSED, Connection refused)
Error: Unable to connect or start own listener. Aborting.unoconv --listener脚本以转换文件之前在CMD中运行以下命令,所有操作都会按预期工作,但我不希望自己管理侦听器创建过程,因为unoconv应该这样做。LocalSystem,那么所有功能都能正常工作,侦听器就会被创建,文件转换工作也就完成了,但这提供了太多的访问权限。对于我需要配置什么才能让它通过通常的ApplicationPoolIdentity工作,有什么想法吗?
谢谢
Ged
发布于 2018-09-26 15:56:08
对相关文件夹授予NAME_OF_YOUR_MACHINE\IIS_IUSRS权限,并尝试使用AppPoolIdentity
https://stackoverflow.com/questions/52411525
复制相似问题