Forum Discussion
Matt_Mueller_10
Nimbostratus
Oct 15, 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
Sort By
- 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. - 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
- 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.
- Pavel_Sestak_69
Nimbostratus
Hello all,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
- 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
- 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.
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