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?
32 bit DLL on 64 bit Server
Started by tooleech, Oct 07 2008 10:50 AM
2 replies to this topic
#1
Posted 07 October 2008 - 10:50 AM
|
|
|
#2
Posted 08 October 2008 - 07:19 AM
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.
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
Posted 08 October 2008 - 09:06 AM
Thanks! I'll start looking into switching IIS to run in 32 bit mode.


Sign In
Create Account

Back to top









