Pechkin icon indicating copy to clipboard operation
Pechkin copied to clipboard

Could not load file or assembly 'Pechkin'

Open alexanderstr opened this issue 12 years ago • 8 comments

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.

alexanderstr avatar Nov 02 '12 00:11 alexanderstr

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

gmanny avatar Nov 12 '12 20:11 gmanny

That did not help in my case, I still get an error

deafsheep avatar Nov 30 '12 14:11 deafsheep

I have the same problem. Any news?

dettogni avatar Jan 07 '13 15:01 dettogni

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)?

deafsheep avatar Jan 08 '13 05:01 deafsheep

On issues #19 timcroydon describe the solution for this problem. It solved my problem.

dettogni avatar Jan 11 '13 12:01 dettogni

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/

Yergat avatar Jul 11 '14 13:07 Yergat

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

brendan-rice avatar Aug 09 '14 19:08 brendan-rice

Thank you Yergat!!!

Freakreed avatar Jul 10 '15 02:07 Freakreed