Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 Web 应用程序中使用 CUDAfy.NET,该应用程序将从 Web 表单中进一步调用。
当它尝试启动 CudafyModule 时,它会给出如下图所示的错误:
代码在控制台应用程序中运行良好。有没有办法摆脱这个问题?
您的 Web 应用程序似乎无法与硬件通信。在 IIS 和基于 .NET 的程序集之间有大量的抽象和安全性。应该是翻译的问题。取决于您的 Web 应用程序的配置方式。
进程无法找到 dll 可能有多种原因。尝试在 GAC 中注册 dll。或者编辑您的 web.config 并添加对 dll 路径的引用这可能会解决问题。