Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7693939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:12:16+00:00 2026-05-31T21:12:16+00:00

We have a winforms appliction that has to talk to an AS400. To do

  • 0

We have a winforms appliction that has to talk to an AS400. To do this we imported the IBM.Data.DB2.iSeries classes in the Winforms application and have IBM System I Access for Windows on our machines. It must have the System I Access or it will not talk to the AS/400. Everything works fine on my 64bit development machine. It also works fine on the client’s 64bit machine. However when we attempt to install it on a 32bit machine we get a Bad Image format exception. We tried making just an x86 installer instead of any cpu but that did not work (same bad image exception). Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:12:17+00:00Added an answer on May 31, 2026 at 9:12 pm

    Even though you have compiled your program to 32-bit, somewhere it is still trying to load a 64-bit dll. Since you say that the 3rd party dll’s are 32bit, what is left are your own dll’s.

    You can verify that by setting the solution platform to x86. Then check all your projects (exe and dll) if they are set to x86. I suspect one of them has a platform target set to x64. You check them by right clicking Project, select Properties, Build-tab -> Platform Target.

    Also make sure that all dlls are actually set to Build in the Configuration Manager (Select “Configuration Manager…” from the Solution Platforms dropdown in the menubar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .net WinForms 2.0 application that has an image library of about
We have a WinForms application that uses SQL server to store its data. To
I have assisted with an application that has a couple of thousand deployments. This
I have a winforms application that has one tabcontrol with 2 pages. On both
I have a WinForms application that was written in C# .NET 3.5. This application
I have a TreeView control in my WinForms .NET application that has multiple levels
I have a WinForms application (VS 2008, .NET 3.5) that has a form with
I have a C# WinForms application that has a WebBrowser control inside of it.
I have a Winforms application that generates its own PrintDocument object for printing. It
I have a Winforms application that schedules some work using a service. The service

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.