在IIS 8中通过CGI模块加载.NET程序集时出现问题

问题描述

我有一个在IIS8中运行的CGI模块。尝试加载.NET程序集时失败。

可执行文件是20世纪的Progress(OpenEdge)应用程序。

使用Fusion ++,我得到以下日志:

*** Assembly Binder Log Entry (30/10/2020 @ 8:59:55) ***

The operation Failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable \\?\C:\MiaWeb\bin\nph-cybermia.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: displayName = Progress.NetUI,Version=11.7.0.1811,Culture=neutral,PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file://?/C:/MiaWeb/bin/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = nph-cybermia.exe
Calling assembly : (UnkNown).
===
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private,custom,partial,or location-based assembly bind).
LOG: Attempting download of new URL file://?/C:/MiaWeb/bin/Progress.NetUI.DLL.
LOG: Attempting download of new URL file://?/C:/MiaWeb/bin/Progress.NetUI/Progress.NetUI.DLL.
LOG: Attempting download of new URL file://?/C:/MiaWeb/bin/Progress.NetUI.EXE.
LOG: Attempting download of new URL file://?/C:/MiaWeb/bin/Progress.NetUI/Progress.NetUI.EXE.
LOG: All probing URLs attempted and Failed.

Progress.NetUI.DLL文件可以在C:\ MiaWeb \ bin中找到。

是否可以获取有关发生了什么问题的更多信息?

C:\OpenEdge\1175_32\DLC\bin>sn -T Progress.NetUI.dll

Microsoft (R) .NET Framework Strong Name Utility  Version 4.0.30319.0
copyright (c) Microsoft Corporation.  All rights reserved.

Progress.NetUI.dll does not represent a strongly named assembly

URL文件://?/ C:/似乎很奇怪。除此之外,也许与IIS8和CGI模块阻止.NET程序集有关?也许应该用强烈的名字命名?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)