You are viewing limited content. For full access, please sign in.

Question

Question

There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Interop.LFSO91Lib, Version=9.1.0.0, Culture=neutral, processorArchitecture=AMD64", "AMD64"

SDK
asked on December 20, 2016

Trying to create a web forms application which searches for indexing information from SQL database and when user selects a record, document is indexed with those values. 

Using example of CloseCaseDialog project from ED302 course to create my web application. 

Every time I Run application I get this error - 'Could not load file or assembly 'Interop.LFSO91Lib' or one of its dependencies. An attempt was made to load a program with an incorrect format.'

When I change the build settings to use X86, application compiles but same error shows up when I run the application.

I have SDK 9.2 installed on my machine.

Tried to deploy it to server where webaccess is hosted. Customactions.xml was modified to add the application to web access. Same error comes up there when I run web access.

0 0

Replies

replied on December 20, 2016

This Stack Overflow answer goes into pretty good detail.  The only difference is that in your case the referenced assembly is x64 instead of x86.

0 0
replied on December 20, 2016

Thanks. I've seen that post and compiled using x64 but in browser I still get the error. Could not load file or assembly '' or one of its dependencies. An attempt was made to load a program with an incorrect format.

0 0
replied on December 20, 2016
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.