External Connections username password problem
Using Metastorm 9.0.2.4
Created an
external connection through the designer (i.e., connTest).
Within a C#
script, we accessed the connection using:
Metastorm.Runtime.Contracts.Mbo.MboConnectionInfo connSHARED
= new
Metastorm.Runtime.Models.MBPMUserSyncProject.connTEST();
It worked for
about 2 months then it stopped working.
In doing some
debuging, I
ran the script and I get the error, user **** unable to log in. I checked the
username and password through ODBC and through the designer with no problems. I
viewed the connection info through the Admin Tool and saw that the password was
encrypted. So as a test, I decided to connect directly to the database using
SQLClient.
It
worked.
Has anyone
also seen this?
I haven't
updated the Metastorm Environment at all. Is there some setting in Metastorm or
SQL Server that would cause this behavior?
See code
sample below:
//Metastorm.Runtime.Contracts.Mbo.MboConnectionInfo
connSHARED = new
Metastorm.Runtime.Models.MBPMUserSyncProject.connTEST();
//log.Debug(string.Format("SQLActiveEmployees
= \"{0}\"", SQLActiveEmployees));
//dtActiveEmps
= Mstm.SelectSql(connSHARED,
SQLActiveEmployees).GetDataTable();
log.Info("begin our
test script");
string cnStr =
@--connection
string--";
using
(SqlConnection cn = new
SqlConnection(cnStr))
{
cn.Open();
SqlCommand
cmd = new
SqlCommand(SQLActiveEmployees, cn);
SqlDataAdapter adpt = new
SqlDataAdapter(cmd);
//DataTable
dtActiveEmps = new DataTable();
adpt.Fill(dtActiveEmps);
}
log.Info("Fetch all of
the users from the 'SHARED' SQL Server database");
//log.Info(connSHARED.ConnectionString.ToString());
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 154 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories