Starting Policy Server a Popup tells me that a Specific dll is either not designed to run on Windows or it contains an Error

Document ID : KB000006321
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Starting the Policy Server from command line on Windows, this popup
shows up and I read the following message :

      C:\Program Files (x86)\CA\siteminder\bin\smazuser.dll is either
      not designed to run on 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

Environment:
Policy Server 12.52SP1CR00 on Windows 2008 R2;
Cause:

To check what the file really is, in that sample smazuser.dll, put the file on Linux
system and run the following command as root :

  # file smazuser.dll

In that sample, the command returns this output :

  "smazuser.dll: Zip archive data, at least v2.0 to extract"

This file is a zip file and that's why Windows returns the message
"not designed to run on Windows or it contains an error".

Resolution:

  Rename the smazuser.dll to smazuser.dll.zip, unzip it and put in
  place the smazuser.dll on Windows OS to solve the issue.