Localization error when opening Security Editor


Author
Message
Joseph-Carl Theodat
Joseph-Carl Theodat
StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)
Group: Forum Members
Posts: 29, Visits: 79
Hi,

When I open the Security Editor, i have a localization error message. After closing the error, the security editor is open and the labels are in French!

I know that my desktop is in French (Regional Settings in "French - Canada"), but I am used to code in English. Since I did not set anything for the Localization & Messages (My broken rules are in french now when using the Security Editor), it is a bug in the framework or do i need to set something to avoid that error?

Replies
Joseph-Carl Theodat
Joseph-Carl Theodat
StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)
Group: Forum Members
Posts: 29, Visits: 79
Tx for the answer! But in this case, the error should not appears while loading the Security Editor. 
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
What is the error?
Joseph-Carl Theodat
Joseph-Carl Theodat
StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)StrataFrame Beginner (39 reputation)
Group: Forum Members
Posts: 29, Visits: 79
LocalizationKeyNotFoundException
 The specified key [SFSTText - New] was not found within the localization database.
KeyNotFoundException
 The message key [SFSTText - New] could not be found in the localization data.

Source     : MicroFour StrataFrame Base

Stack Trace:
   at MicroFour.StrataFrame.UI.Localization.ThrowKeyNotFoundException(String Key)
   at MicroFour.StrataFrame.UI.Localization.GetKeyRowFromXml(String Key)
   at MicroFour.StrataFrame.UI.Localization.RetrieveTextValue(String TextValueKey)
   at MicroFour.StrataFrame.Security.SecurityMain.SecurityMain_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Oops Blush ...forgot to include the embedded XML files for French, Italian, German, and Russian in this project.  Copy the attached EXE to the c:\program files\microfour\strataframe folder and overwrite the existing file and this error should go away. 
Attachments
SecurityMaintenance.zip (209 views, 144.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search