Accessing X64 Static library in webservice through Wrapper dll

The most common cause for this error is bitness mismatch. The process is 32 bit, the failing assembly 64 bit. Or vice versa. If that is so then you have two possible solutions:

  1. Build a 32 bit version of the assembly using a 32 bit version of the static library.
  2. Ensure that the web service executes in a 64 bit process.

Browse More Popular Posts

Leave a Comment