visual-studio-2012badimageformatexceptionaurigma

Could not load "Aurigma Graphicsmill", load program in incorrect format


Not able to run as web-site in visual studio 2013

Could not load file or assembly 'Aurigma.GraphicsMill' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Exception Details:

System.BadImageFormatException: Could not load file or assembly 'Aurigma.GraphicsMill' or one of its dependencies. An attempt was made to load a program with an incorrect format.

 
 Stack Trace: [BadImageFormatException: Could not load file or assembly 'Aurigma.GraphicsMill' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
   System.Reflection.Assembly.Load(String assemblyString) +35
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190  

Tried as suggested by Graphicsmill frequent asked questions forums for Web Application

How to Resolve BadImageFormatException. (http://www.graphicsmill.com/docs/gm/frequently-asked-questions.htm)

Any other suggestions to make web-site run in my local-machine through visual studio 2013 is really helpful.


Solution

  • I found the answer, need to change to Relevant Application Pool.

    ["An attempt was made to load a program with an incorrect format" even when the platforms are the same

    Answered by Kalyan.