首页 > 解决方案 > ClearScript V8 引擎出现错误,TypeLoadException - 无法加载 V8 接口程序集

问题描述

ClearScript V8 引擎出现错误,TypeLoadException - 无法加载 V8 接口程序集。V8 引擎在所有其他环境(开发/测试)上运行良好,但仅在生产中出现错误。我们的 API 托管在 Azure 上。

堆栈跟踪是 Resolution of the dependency failed, type = "IDreExecutionService", name = "(none)". Exception occurred while: Calling constructor DreExecutionService(). Exception is: TypeLoadException - Cannot load V8 interface assembly. Load failure information for v8-ia32.dll: D:\local\Temporary ASP.NET Files\root\765113e9\fe792c2f\assembly\dl3\37962485\00032cc0_8c87d701\v8-ia32.dll: The specified module could not be found D:\home\site\wwwroot\v8-ia32.dll: Not enough storage is available to process this command D:\home\site\wwwroot\bin\v8-ia32.dll: The specified module could not be found ----------------------------------------------- At the time of the exception, the container was: Resolving DreExecutionService,(none) (mapped from IDreExecutionService, (none)) Calling constructor DreExecutionService()

标签: c#v8clearscript

解决方案


推荐阅读