Localization and Role Based Security


Author
Message
Guy
Guy
StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)StrataFrame Beginner (29 reputation)
Group: Forum Members
Posts: 9, Visits: 33
Hi, I'm having a problem with localization and role based security. Basically I'm getting the following error when a security message needs to be shown:

MicroFour.StrataFrame.UI.LocalizationKeyNotFoundException was unhandled by user code
  Message="The specified key [SFSM_PasswordAuthenticationFailed] was not found within the messaging database."
  Source="MicroFour StrataFrame Base"
  StackTrace:
       at MicroFour.StrataFrame.UI.Localization.RetrieveMessage(String MessageKey)
       at MicroFour.StrataFrame.Messaging.MessageForm.ShowMessageByKey(String MessageKey, Object[] ReplacementValues)
       at MicroFour.StrataFrame.Messaging.MessageForm.ShowMessageByKey(String MessageKey)
       at shiftCube.Client.Windows.Forms.shiftCubeLogin.MicroFour.StrataFrame.Security.ILoginForm.ShowAuthFailedMessage() in D:\DevData\Visual Studio 2005\Projects\mindCube\shiftCube\shiftCube.Client.Windows\Forms\shiftCubeLogin.cs:line 257
       at MicroFour.StrataFrame.Security.Login.AttemptLogin(Object sender, EventArgs e)
       at shiftCube.Client.Windows.Forms.shiftCubeLogin.OnAttemptLogin() in D:\DevData\Visual Studio 2005\Projects\mindCube\shiftCube\shiftCube.Client.Windows\Forms\shiftCubeLogin.cs:line 35
       at shiftCube.Client.Windows.Forms.shiftCubeLogin.cmdOk_Click(Object sender, EventArgs e) in D:\DevData\Visual Studio 2005\Projects\mindCube\shiftCube\shiftCube.Client.Windows\Forms\shiftCubeLogin.cs:line 296
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.PerformClick()
       at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
       at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
       at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
       at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

My messaging files are embedded XML and the source xml files are located in a subdirectory called localization. Messages in this store appear correctly

Thanks
Guy Collinson

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Guy - 18 Years Ago
StrataFrame Team - 18 Years Ago
             1040 (Italian)
Guy - 18 Years Ago
StrataFrame Team - 18 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search