butil.dll is not designed to run windows, ustation.exe - Bad image..butil.dll


 Product(s):ProjectWise Explorer Client
 Version(s):08.11.11.111
 Environment: Windows 7 64 bit
 Area: Integration - MicroStation
 Original Author:Dana Guthrie, Bentley Technical Support Group

Problem

When Launching Microstation XM or SS2 on a Windows 7 box with ProjectWise integration installed user gets the following errors:

DDE Server Window: ustation.exe - Bad image... butil.dll

C:\windows\system32\butil.dll is either not designed to run windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.

User clicks okay and then gets an mcm.dll can not load error message....

Solution

User had uninstalled everything, cleaned directories and reinstalled
Had user copy the butil.dll file from the C:\Program Files (x86)\Bentley\ProjectWise\bin directory to the c:\windows\system32 directory.
Also copied the butil.dll file from the C:\Program Files (x86)\Bentley\ProjectWise\bin directory to the C:\Windows\SysWOW64 directory, and that seemed to solve both errors.

This makes sense since XM and SS2 are still 32 bit applications.