Что-то не понимаю как пользоваться .NET binding log
От: senglory  
Дата: 17.02.16 06:24
Оценка:
Итак, действие происходит при запуска тестового веб-проекта (Debug — Any CPU) из студии 2010 (да, анахроизм, но клиент настаивает юзать ее и .NET 4.0 наше все) + Win8.1 Enterprise (x64) + использование
локального ИИС. Сразу при запуске получаю:

Could not load file or assembly 'Magick.NET.Wrapper-x86.DLL' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1


Ладно, включил binding log. Вот что про Magick.NET.Wrapper-x86 там пишут:

*** Assembly Binder Log Entry (2/16/2016 @ 8:07:11 PM) ***

The operation was successful.
Bind result: hr = 0x0. The operation completed successfully.

Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: DisplayName = Magick.NET.Wrapper-x86
(Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: Magick.NET.Wrapper-x86 | Domain ID: 3
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/prj/XXX/WebApplication/
LOG: Initial PrivatePath = C:\prj\XXX\WebApplication\bin
LOG: Dynamic Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\e584dbcf
LOG: Cache Base = C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\e584dbcf
LOG: AppName = 51833918
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\prj\XXX\WebApplication\web.config
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:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/e584dbcf/51833918/Magick.NET.Wrapper-x86.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/e584dbcf/51833918/Magick.NET.Wrapper-x86/Magick.NET.Wrapper-x86.DLL.
LOG: Attempting download of new URL file:///C:/prj/XXX/WebApplication/bin/Magick.NET.Wrapper-x86.DLL.
LOG: Assembly download was successful. Attempting setup of file: C:\prj\XXX\WebApplication\bin\Magick.NET.Wrapper-x86.dll
LOG: Entering download cache setup phase.
LOG: Assembly Name is: Magick.NET.Wrapper-x86, Version=7.0.0.0, Culture=neutral, PublicKeyToken=2004825badfa91ec
LOG: A partially-specified assembly bind succeeded from the application directory. Need to re-apply policy.
LOG: Using application configuration file: C:\prj\XXX\WebApplication\web.config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: Magick.NET.Wrapper-x86, Version=7.0.0.0, Culture=neutral, PublicKeyToken=2004825badfa91ec
LOG: GAC Lookup was unsuccessful.
LOG: Binding succeeds. Returns assembly from C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\e584dbcf\51833918\assembly\dl3\7a6d2b03\0a2d1353_c52ad101\Magick.NET.Wrapper-x86.dll.
LOG: Assembly is loaded in default load context.


Я в непонятках, что ему не нравится? В настройках пула пробовал разрешать/запрещать 32 бита — пофигу. Как мне заставить приложение работать с x86 версией этой ДЛЛки?
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.