SFSUsersBO.Save() error


Author
Message
dgsoft
dgsoft
StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)StrataFrame User (135 reputation)
Group: StrataFrame Users
Posts: 93, Visits: 236
Hi,

I try to create new user programmatically



Dim loSFSUserBO As MicroFour.StrataFrame.Security.BusinessObjects.SFSUsersBO = New MicroFour.StrataFrame.Security.BusinessObjects.SFSUsersBO()

Try

BusinessLayer.TransactionBegin("PENSOLUTIONOFFICE", "PENSOLUTIONOFFICE", Data.IsolationLevel.ReadCommitted)

loSFSUserBO.Add()

loSFSUserBO.us_FirstName = Me.PSOUser_Firstname.Text

loSFSUserBO.us_MiddleName = Me.PSOUser_Middle.Text

loSFSUserBO.us_LastName = Me.PSOUser_Lastname.Text

loSFSUserBO.us_Username = Me.PSOUser_Username.Text

loSFSUserBO.us_PasswordPlainText = Me.PSOUser_Password.Text

loSFSUserBO.us_IsInactive = Me.PSOUser_chkAccountinactive.Checked

loSFSUserBO.us_IsAdministrator = Me.PSOUser_chkAdministrator.Checked

loSFSUserBO.us_PasswordNeverExpires = Me.PSOUser_chkPassNeverExpires.Checked

loSFSUserBO.us_UserMustChangePwNextLogin = Me.PSOUser_chkUserMustChangePass.Checked

loSFSUserBO.us_UserCannotChangePassword = Me.PSOUser_chkUserCantChangePass.Checked

Catch ex As Exception

lcErrorMessage = ex.Message

BusinessLayer.TransactionRollback("PENSOLUTIONOFFICE", "PENSOLUTIONOFFICE")

End Try





I have an Exception

MicroFour.StrataFrame.Business.BusinessLayerException.InnerException {"The specified key [SFST_ConfirmPasswordError] was not found within the localization database."}



The question is Smile What it means and where to search error



Thanks!

Denis
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search