StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Localization error when opening Security...Expand / Collapse
Author
Message
Posted 02/20/2007 12:17:56 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 07/16/2007 3:26:29 PM
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?

Post #7015
Posted 02/20/2007 12:38:32 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
it is a bug in the framework or do i need to set something to avoid that error?

No, this by design.  It is assumed that if your regional settings are set to French then the displayed language will be in French as well.  You can control this at run-time, however this is set automatically at design-time.

This is one of the new features...all run-time components have been pre-localized in 7 languages.  since the Security editor is a run-time component which you can present to your end-users, it falls into this category.

Post #7017
Posted 02/20/2007 3:10:45 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 07/16/2007 3:26:29 PM
Posts: 29, Visits: 79
Tx for the answer! But in this case, the error should not appears while loading the Security Editor. 
Post #7029
Posted 02/20/2007 3:12:12 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
What is the error?
Post #7030
Posted 02/20/2007 6:49:37 PM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 07/16/2007 3:26:29 PM
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)

Post #7039
Posted 02/21/2007 10:17:09 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
Oops ...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. 

  Post Attachments 
SecurityMaintenance.zip (20 views, 144.37 KB)
Post #7059
Posted 02/22/2007 12:25:07 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 08/04/2008 9:16:06 AM
Posts: 87, Visits: 776
Great, that worked for me too.

Thanks, Trent!

Post #7105
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 9:14am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.141. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.