Jump to content

32 bit DLL on 64 bit Server

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
tooleech

tooleech

    Newbie

  • Members
  • Pip
  • 2 posts
Howdy, here's a little problem I've run into recently and I was wondering if anyone knew anything about it.

Our company has a .NET WebApp that I coded and we've been using/selling for quite a while. The original server it was on was running Windows Server 2003 on a 32 bit machine with IIS 6.0.

We recently purchased a new server that has Windows Server 2008 64 on a 64 bit machine and runs IIS 7.0.

Surprisingly enough, I was able to port everything over very smoothly except one thing.

We use third party .dll to take payments (Chase's Paymentech Solution in case anyone was wondering). Since migrating everything to the new server, I started receiving this error "System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at Paymentech.CApi.PT_create_orbital_transaction(String type, Int32& errorCode) at"...

After doing some research, I believe this is because the new 64 Bit server is trying to load up the 32 bit dll and it errors out.

Does anyone know a simple solution for this?

#2
morefood2001

morefood2001

    Speaks fluent binary

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,720 posts
There is no simple solution when it comes to making the 64 bit server work with 32 bit applications / extensions.

You either need to switch IIS to 32 bit mode or find a 64 bit edition of the dll. I switched my server to 32 bit mode, but I don't remember how I did that.

#3
tooleech

tooleech

    Newbie

  • Members
  • Pip
  • 2 posts
Thanks! I'll start looking into switching IIS to run in 32 bit mode.