Error With dll

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
Post Reply
lumaluis
Posts: 3
Joined: 2014-03-24T14:07:12-07:00
Authentication code: 6789

Error With dll

Post by lumaluis »

I have the next error:
An attempt was made to load an assembly with an incorrect format: C:\Users\lumaluis\Desktop\Magick.NET-6.8.8.901-Q16-x64-net40-client\Magick.NET-x64.dll
I don't know how to fix this error.
Can anyone help me?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Error With dll

Post by dlemstra »

You should set the target platform of your application to x64. And if you are not on a 64 bit version of Windows you should download the x86 version of Magick.NET.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
lumaluis
Posts: 3
Joined: 2014-03-24T14:07:12-07:00
Authentication code: 6789

Re: Error With dll

Post by lumaluis »

i already do that but the application throw me this other error:
Server Error in '/' Application.

Runtime Error

Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Error With dll

Post by dlemstra »

Can you change the customErrors setting in your web.config? This should give you more information.

Code: Select all

<system.web>
  <customErrors mode="Off" />
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply