1

I am using a quickbooks sdk that containst the QBFC8Lib dll everything works fine on my dev machine. when I publish to my live server I get the following error:

System.BadImageFormatException: Could not load file or assembly 'Interop.QBFC8Lib' or one of its    

enter code heredependencies. An attempt was made to load a program with an incorrect format

I have the sdk installed on both my dev machine and the live machine. still getting this error

BenV
  • 12,052
  • 13
  • 64
  • 92
twal
  • 6,999
  • 17
  • 48
  • 58
  • 4
    Sounds like a 32bit 64bit thing. Are the servers a different bit than your dev machine? – John Farrell Jul 22 '10 at 19:53
  • You areexactly right. on the server I went to the application pool for this application and needed to set enable 32 bit applications to true. That did it. Thanks for your help. – twal Jul 22 '10 at 20:13

1 Answers1

2

You areexactly right. on the server I went to the application pool for this application and needed to set enable 32 bit applications to true. That did it. Thanks for your help

twal
  • 6,999
  • 17
  • 48
  • 58