我正在尝试将当前在 IIS 7 中运行的 WCF 服务部署到 IIS 8。要在 IIS 7 中运行 32 位 DLL,我必须在应用程序池中选中“启用 32 位应用程序”。当我在 IIS 8 中执行此操作时,它不起作用。
准确的错误信息是
Could not load file or assembly 'Progress.ssl.DLL' or one of its dependencies. The specified module could not be found. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'Progress.ssl.DLL' or one of its dependencies. The specified module could not be found.
是否还有其他步骤可以使 32 位 DLL 在 IIS 8 中运行?
最佳答案
嘿,我为此苦苦挣扎了几个小时,但这是对我有帮助的解决方案:
转到 IIS 管理器:
- 选择应用池
- 然后选择您正在使用的池
- 进入高级设置(在右侧)
- 将启用 32 位 应用程序的标志 false 更改为 true。
希望对你有帮助
关于c# - 无法加载文件或程序集。在 IIS 8.0 上运行的 32 位程序集,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18834927/