Group: Forum Members
Posts: 2,
Visits: 6
|
I have embedded the SecurityDialog in my prototype application.
When the user adds Users or Roles, a Foreign Key error is thrown (on Project Code).
Also the securityForm.ProjectPK property == 0.
The Security Key is valid (SetSecurityKeyAndVectorForUserAuthentication) -- I can authenticate users and authorize access to Forms.
Is this a configuration issue?
Can you suggest a fix?
Below: stack trace for error when adding a user:
at MicroFour.StrataFrame.Business.BusinessLayer.SaveByForm(Boolean Transactional, String TransactionKey)
at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.Save(Boolean Transactional, String TransactionKey)
at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.Save()
at MicroFour.StrataFrame.Security.UserEditor.cmdSave_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
...
|