c# - 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()
解决方案
推荐阅读
- python - 如何在 sam 本地环境中使用依赖项?
- javascript - JavaScript:使用 MediaRecorder 记录来自的流
- vtk - 如何在 VTK 中使用现有转换转换 Actor
- node.js - 如何在 Sequelize 中检索文件/图像
- reactjs - Redux + typescript:如何实现`injectReducer`?
- javascript - 未捕获的类型错误:无法读取未定义的属性“加密”
- python - 如何使用python自动更新谷歌大查询中的数据?
- android - 在 kotlin 的画布视图中添加一个按钮
- javascript - 如何在不暴露密码的情况下从 Firebase 发送电子邮件?
- python - Pysaprk 将复杂的 json 解析为行