我有一个在服务器A上运行良好的应用程序,但无法从服务器B上的Bin文件夹加载DLL。
网页上给出的错误是:
无法加载文件或程序集' DocuWare.Remoting.SSL.SSPI.dll'或其中一个依赖项。指定的模块无法找到。
到目前为止,我已检查过以下内容,并且它们相同或有相关的不相关更改:
我从哪里开始?
这里是Process Monitor的输出结果:
好机器
3:56:14.6634916 PM w3wp.exe 3912 QueryOpen D:\ inetpub \ Application \ bin \ DocuWare.Remoting.SSL.SSPI.dll SUCCESS CreationTime:2/3/2016 2:56:02 PM,LastAccessTime:2 / 3/203 3:53:07 PM,LastWriteTime:3/20/2012 3:34:38 AM,ChangeTime:2/3/2016 2:56:02 PM,AllocationSize:181,248,EndOfFile:181,248,FileAttributes:A
糟糕的机器:
3:03:20.5299875 PM w3wp.exe 3916 QueryOpen D:\ inetpub \ Application \ bin \ DocuWare.Remoting.SSL.SSPI.dll SUCCESS CreationTime:2/3/2016 2:58:35 PM,LastAccessTime:2 / 3/204 2:58:35 PM,LastWriteTime:3/20/2012 3:34:38 AM,ChangeTime:2/3/2016 2:58:35 PM,AllocationSize:181,248,EndOfFile:181,248,FileAttributes:A 3:03:20.5503911 PM w3wp.exe 3916 QueryOpen C:\ WINDOWS \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files \ Application \ 751e867b \ de1d3917 \ assembly \ dl3 \ 35c61e5a \ 000b1bab_7c06cd01 \ DocuWare.Remoting。 SSL.SSPI.dll成功CreationTime:2/2/2016 3:33:17 PM,LastAccessTime:2/3/2016 9:51:53 AM,LastWriteTime:3/20/2012 3:34:38 AM,ChangeTime: 2016年2月2日下午3:38:17,AllocationSize:184,320,EndOfFile:181,248,FileAttributes:A 3:03:20.6090648 PM w3wp.exe 3916 QueryOpen C:\ WINDOWS \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files \ Application \ 751e867b \ de1d3917 \ assembly \ dl3 \ 35c61e5a \ 000b1bab_7c06cd01 \ DocuWare.Remoting。 SSL.SSPI.dll成功CreationTime:2/2/2016 3:33:17 PM,LastAccessTime:2/3/2016 9:51:53 AM,LastWriteTime:3/20/2012 3:34:38 AM,ChangeTime: 2016年2月2日下午3:38:17,AllocationSize:184,320,EndOfFile:181,248,FileAttributes:A 3:03:20.6094970 PM w3wp.exe 3916 QueryOpen C:\ WINDOWS \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files \ Application \ 751e867b \ de1d3917 \ assembly \ dl3 \ 35c61e5a \ 000b1bab_7c06cd01 \ DocuWare.Remoting。 SSL.SSPI.dll成功CreationTime:2/2/2016 3:33:17 PM,LastAccessTime:2/3/2016 9:51:53 AM,LastWriteTime:3/20/2012 3:34:38 AM,ChangeTime: 2016年2月2日下午3:38:17,AllocationSize:184,320,EndOfFile:181,248,FileAttributes:A 3:03:20.6156343 PM w3wp.exe 3916 CreateFile C:\ WINDOWS \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files \ Application \ 751e867b \ de1d3917 \ assembly \ temp \ AD9NLH9SDO \ DocuWare.Remoting.SSL。 SSPI.DLL SUCCESS所需访问:写入属性,同步,处置:打开,选项:同步IO非警报,打开重新分析点,属性:不适用,ShareMode:读取,写入,删除,分配大小:不适用,OpenResult:开业 3:03:20.6157574 PM w3wp.exe 3916 QueryNetworkOpenInformationFile C:\ WINDOWS \ Microsoft.NET \ Framework \ v4.0.30319 \ Temporary ASP.NET Files \ Application \ 751e867b \ de1d3917 \ assembly \ temp \ AD9NLH9SDO \ DocuWare.Remoting.SSL。 SSPI.DLL SUCCESS CreationTime:2/2/2016 3:33:17 PM,LastAccessTime:2/3/2016 9:51:53 AM,LastWriteTime:3/20/2012 3:34:38 AM,ChangeTime:2 / 2/2016 3:38:17 PM,AllocationSize:184320,EndOfFile:181248,FileAttributes:A 3:03:24.9587326 PM w3wp.exe 3916 RegOpenKey HKLM \ SOFTWARE \ Microsoft \ Fusion \ PublisherPolicy \ Default \ v4.0_policy.5.1.DocuWare.Remoting.SSL.SSPI__879da714589ba9ea NAME NOT FOUND
3:03:24.9587462 PM w3wp.exe 3916 RegOpenKey HKLM \ SOFTWARE \ Microsoft \ Fusion \ PublisherPolicy \ Default \ policy.5.1.DocuWare.Remoting.SSL.SSPI__879da714589ba9ea NAME NOT FOUND
3:03:24.9592127 PM w3wp.exe 3916 QueryOpen C:\ WINDOWS \ Microsoft.Net \ assembly \ GAC_32 \ DocuWare.Remoting.SSL.SSPI \ v4.0_5.1.3.2__879da714589ba9ea \ DocuWare.Remoting.SSL.SSPI.dll PATH找不到发票 3:03:24.9592589 PM w3wp.exe 3916 QueryOpen C:\ WINDOWS \ Microsoft.Net \ assembly \ GAC_MSIL \ DocuWare.Remoting.SSL.SSPI \ v4.0_5.1.3.2__879da714589ba9ea \ DocuWare.Remoting.SSL.SSPI.dll PATH找不到发票 3:03:24.9593042 PM w3wp.exe 3916 QueryOpen C:\ WINDOWS \ Microsoft.Net \ assembly \ GAC \ DocuWare.Remoting.SSL.SSPI \ v4.0_5.1.3.2__879da714589ba9ea \ DocuWare.Remoting.SSL.SSPI.dll PATH找不到发票 3:03:24.9593387 PM w3wp.exe 3916 QueryOpen C:\ WINDOWS \ assembly \ GAC_32 \ DocuWare.Remoting.SSL.SSPI \ 5.1.3.2__879da714589ba9ea \ DocuWare.Remoting.SSL.SSPI.dll PATH NOT FOUND
3:03:24.9593799 PM w3wp.exe 3916 QueryOpen C:\ WINDOWS \ assembly \ GAC_MSIL \ DocuWare.Remoting.SSL.SSPI \ _ 5.1.3.2__879da714589ba9ea \ DocuWare.Remoting.SSL.SSPI.dll PATH NOT FOUND
...
答案 0 :(得分:0)
原来是我的错误 - 我在DocuWare.Remoting.SSL.SSPI.dll的引用列表中错过了Visual C ++ 2010可再发行的依赖项。