Pechkin
Pechkin copied to clipboard
Could not load file or assembly 'Pechkin'
Is it a known issue? It works on some machines but fails on others.
Here is the detailed exception
Exception Message: {"Could not load file or assembly 'Pechkin, Version=0.5.8.1, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."}
Fusion Log: === Pre-bind state information === LOG: User = LIMEADEHQ\pan.chow LOG: DisplayName = Pechkin, Version=0.5.8.1, Culture=neutral, PublicKeyToken=null (Fully-specified) LOG: Appbase = file:///D:/Limeade/CS55/SecureTransfer/SecureTransfer/bin/Debug/ LOG: Initial PrivatePath = NULL
Calling assembly : Limeade.FileTypeConverters, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
LOG: This bind starts in default load context. LOG: Using application configuration file: D:\Limeade\CS55\SecureTransfer\SecureTransfer\bin\Debug\SecureTransfer.vshost.exe.Config LOG: Using host configuration file: LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\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:///D:/Limeade/CS55/SecureTransfer/SecureTransfer/bin/Debug/Pechkin.DLL. ERR: Failed to complete setup of assembly (hr = 0x8007000b). Probing terminated.
Make your project x86 instead of Mixed Platforms, also check that you've got not only Pechkin but these other dlls at the directory where Pechkin is:
libeay32.dll libgcc_s_dw2-1.dll mingwm10.dll ssleay32.dll wkhtmltox0.dll
That did not help in my case, I still get an error
I have the same problem. Any news?
Not really sure, but I did fix it somehow, I think x86/x64 distinction was a key anyways... Did you enable fusion (dll binding logging)?
On issues #19 timcroydon describe the solution for this problem. It solved my problem.
You need to enable 32-Bit Applications in IIS.
Check bullet point 5 here: http://codeutil.wordpress.com/2013/09/16/convert-html-to-pdf/
I got the same issue. Done 2 things - enabled 32 bit applications as Yergat suggested and in project properties set the website project to target x86
Thank you Yergat!!!