Forum Discussion
Matt_Mueller_10
Nimbostratus
Oct 14, 2007iruler application launch error vista x64 ultimate
Hi, I'm trying to install the iruler application so I can work on my laptop. I have .net 2.0 installed, and the installation appears to run through, however when I launch the application it goes into a debugging mode. From debugger, this is what I can glean so far.
An unhandled exception of type 'System.BadImageFormatException' occurred in iRuler.exe
Additional information: is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
I'm going to try and install it to another pc, but I'd appreciate it if anyone has any ideas? I've tried running it both in xp and 2000 compatibility modes.
10 Replies
- Andy_Herrman_22
Nimbostratus
Do you have Visual Studio installed on the laptop? You might be able to try building it from the sources on your machine. It's possible it needs to be built specifically for 64-bit versions of Windows, though if that's true it would seem kind of odd. - Ben_Newport_102
Nimbostratus
You can fix this if you have Visual Studio installed and download the source. Or the developer can fix this and issue a new installer. The issue is that they left the Platform target as Any CPU which causes the System.BadImageFormatException to fire on x64 platforms as it tries to load the dll as native 64-bit when its 32-bit. If you open the solution and go to Project and properties, under the Build select Platform target x86. This will force the application to load in WoW64 mode and will work. I hope the developer does this soon, but in the mean time this is what worked for me. - Matt_Kucherawy1
Nimbostratus
Thanks for the replies, lads... so by the sounds of it, you don't need an x64 platform to build... you just need to build with "x86" as the platform, instead of "Any"... and that should work for x32 and x64 alike.
I would try this myself, but for lack of time for the next couple weeks to find and install Visual Studio on some box. I'll post my results when I get to it, unless someone beats me to it.
Good to know its a simple problem, at least!
Cheers,
- Matt - Here's a beta of the new standalone installer (no ClickOnce) for those interested:
http://devcentral.f5.com/LinkClick.aspx?link=http%3a%2f%2fdevcentral.f5.com%2flabs%2fiRuleEditor%2fiRulerSetupStandalone.msi&tabid=73&mid=433
Click here
-Joe - John_Woods_4557
Nimbostratus
Same effects here with Vista x64. - That's odd. I'm compiling the editor with the any cpu option that should allow for support on Vista 64. There is a 32-bit control that I'm using for the text editor that may be causing the issues. I'm going to have to get a 64bit version of Vista up and running to test this out.
The source download is available. Does anyone out there have Vista64 with Visual Studio on it so you can test this out?
-Joe - Pavel_Sestak_69
Nimbostratus
Hello all,
just to inform Joe, that this appears to be anyOS x64 problem - I have the same problem with XP Pro x64 (running on vmware fusion):EventType : clr20r3 P1 : iruler.exe P2 : 0.9.2.0 P3 : 48487716 P4 : iruler P5 : 0.9.2.0 P6 : 48487716 P7 : 19e P8 : 13 P9 : system.badimageformatexception
Will try to ask a friend, if he will be able to build it as x86 app. - Thanks for testing this out folks. I've updated the install on the server with a x86 build of the iRule Editor. Hopefully this fixes all you x64 users out there!
http://devcentral.f5.com/LinkClick.aspx?link=http%3a%2f%2fdevcentral.f5.com%2flabs%2fiRuleEditor%2fiRulerSetupStandalone.msi&tabid=73&mid=433
Click here
Please let me know if this work for you all!
Thanks again for the great support in verifying this fix.
I guess if everyone is moving to x64, I'll have to get myself another system to test it on...
-Joe - Pavel_Sestak_69
Nimbostratus
Working ok on XP Pro x64. Advice for everyone: get the "official" build, the "pirate" one has a problem when opening archive folder (don't know why, but it just opens IEx and displays homepage), archiving is not affected, so what You archived with first build is ok and new one will work with that. - Thanks Matt! BTW, if you have any features you'd like added to the Editor, please pass them my way. I'm always looking for new things to stuff in there.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects