I have deployed Rhino on IIS. When I make an API request, I see the following exception in compute.geometry logs. And the API requests fail.
Any help on this would mean a lot. I’m stuck.
Thanks
RC [12:19:26 INF] Rhino compute started at 6/29/2025 12:19:26 PM
RC [12:19:27 DBG] Hosting starting
RC [12:19:27 DBG] Found module rhino.compute.ReverseProxyModule
RC [12:19:27 DBG] Initiliazing reverse proxy at 6/29/2025 12:19:27 PM
RC [12:19:27 DBG] Spawn children at startup is set to False
RC [12:19:27 INF] Application started. Press Ctrl+C to shut down.
RC [12:19:27 INF] Hosting environment: Production
RC [12:19:27 INF] Content root path: C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\rhino.compute
RC [12:19:27 DBG] Hosting started
RC [12:19:27 INF] HTTP GET / responded 401 in 90.6283 ms
RC [12:19:31 INF] Starting compute.geometry instance on port 6001
CG [12:19:32 DBG] Logging to C:\RhinoComputeLogs
CG [12:19:32 DBG] Registering idle span value of 50000 seconds
CG [12:19:33 INF] Child process started at 6/29/2025 12:19:33 PM
CG [12:19:33 INF] Compute 8.0.0.0, Rhino 8.19.25132.1001
CG [12:19:33 DBG] Rhino system directory: C:\Program Files\Rhino 8\System
CG [12:19:34 DBG] Hosting starting
CG [12:19:41 FTL] Application startup exception
System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component.
at Rhino.Runtime.InProcess.RhinoCore.InternalStartup(Int32 argc, String[] argv, StartupInfo& info, IntPtr hostWnd)
at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle, IntPtr hostWnd)
at Rhino.Runtime.InProcess.RhinoCore..ctor(String[] args, WindowStyle windowStyle)
at compute.geometry.Startup.RhinoCoreStartup() in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Startup.cs:line 46
at compute.geometry.Startup.Configure(IApplicationBuilder app) in /home/runner/work/compute.rhino3d/compute.rhino3d/src/compute.geometry/Startup.cs:line 33
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
CG [12:19:41 INF] Now listening on: http://localhost:6001
CG [12:19:41 INF] Application started. Press Ctrl+C to shut down.
CG [12:19:41 INF] Hosting environment: Production
CG [12:19:41 INF] Content root path: C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\rhino.compute
CG [12:19:41 DBG] Hosting started