cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
TommyLe
Level 3

BadImageFormatException

Hello Folks,
I've run into a strange problem with this error where we are only seeing it on windows XP systems. I have checked the .Net Framework File locations on the build machine and it is pointing to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 and C:\Windows\Microsoft.NET\Framework64\v2.0.50727 respectively. When we install our product on OS's greater then Vista we have no issues. When we go to install it on a Windows XP system it appears to be trying to use .Net Framework 1.1 rather then 2.0, I have seen in the isconfig.xml for the component on the target machine it actually contains both .net versions not just the 2.0.50727 version. Does anyone know what would provoke this behavior or how to stop it from happening?
Labels (1)
0 Kudos
(1) Reply
TommyLe
Level 3

Turns out this was due to the _isconfig.xml having both supported version elements in it. Even though the .net framework version was selected to be 2.0 because the _isconfig.xml contained v1.0 it was still trying to use that.
0 Kudos