StrataFrame Forum

Getting a localization error running DDT

http://forum.strataframe.net/Topic3271.aspx

By Flavelle Ballem - 10/3/2006

I'm getting a localization error running DDT. I'm hoping the fix is simple (my computer is set to English(Canada) - not an option to change the setting to English(US)).

LocalizationKeyNotFoundException
 The specified key [DMTDeleteDatabase] was not found within the messaging database.
KeyNotFoundException
 The message key [DMTDeleteDatabase] 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.GetKeyRowFromSql(String Key)
   at MicroFour.StrataFrame.UI.Localization.RetrieveMessage(String MessageKey)
   at MicroFour.StrataFrame.Messaging.MessageForm.ShowMessageByKey(String MessageKey, Object[] ReplacementValues)
   at MicroFour.StrataFrame.Data.ProfileEditorDialog.DeleteDatabase()
   at MicroFour.StrataFrame.Data.ProfileEditorDialog.DeleteSelectedItem()
   at MicroFour.StrataFrame.Data.ProfileEditorDialog.cmi_Profile_DeleteDatabase_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.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)

By StrataFrame Team - 10/4/2006

No, unfortunately, the error is coming from the fact that the messages were not successfully deployed to the StrataFrameInternal database.  We are removing the messages from the database for the next release and embedding them within the assemblies themselves so that the StrataFrameInternal database is no longer required.  I'll let you know when we get the udpate out.
By Flavelle Ballem - 10/4/2006

Ben:

Is there any timeframe, or is there a way to deploy the messages so that it will work for me?

Thanks,

Flavelle

By Trent L. Taylor - 10/4/2006

We are going to post an update with this fix by the end of the week.  But to get you going, I have attached the StrataFrameInternal MDF file here.  There is no custom data in this database so you can just delete yours and then mount this MDF in its place.  Sorry for any trouble...Ermm
By Flavelle Ballem - 10/4/2006

Trent:

Thanks - worked perfectly.

Flavelle

By Trent L. Taylor - 10/5/2006

Good.  You won't have to fight this problem again in the future Smile