The information in this article applies to:
Product: Metastorm BPM
Version: 9
Issue
After a username and password are entered to access the Administrative Tools, the login fails with the message:
Invalid User Name or Password
A warning message similar to the following may be found in the Windows event log:
Unable to access attachment: authproc.xml , owned by: oa , type: 1 .
or
Authentication failed for DCOM connection \[ \], username \[syadmin\], additional data: Invalid user name or password.
Resolution
This will happen if the the Metastorm SAP scripts or roles are deleted. It will also occur if the Metastorm database is not created as part of the installation because the SAP script is not added to the database.
Use Recovery Mode Authentication, which is described in the Administration Guide PDF and in the InstallConfig help file. This allows the Administrative Tools to use the Metastorm BPM Services database credentials to authenticate the administrator (if database credentials are configured for Windows Authentication, a blank login/password may be used).
In the Web.config file, set RecoveryMode to true. By default this is set to false as this is not a normal authentication technique. An example of the setting is show below.
Note that the file Web.config referred to is the one found here: C:\\Program Files\\Metastorm\\BPM\\Administrative Tools\\Web.
While in Recovery Mode, log in to the Administrator using the Metastorm DSN (ODBC) login credentials. Make sure the SAP script has been added (for example, euser.js.) If it is already there, remove it and add it back. SAP scripts are found here: C:\\Program Files\\Metastorm\\BPM\\Engine\\Authentication.
Be sure to set Recovery Mode Authentication back to false in Web.config when you are finished.
Note that it may be necessary to restart IIS (iisreset) after modifying the web.config file.