StrataFrame Forum

Error on Deployment

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

By Clayton Hoyt - 10/10/2006

Hi Folks

I am trying to deploy to my SQL Server and get this error:

LocalizationKeyNotFoundException
 The specified key [DMTPackageDataBeforeDeploy] was not found within the messaging database.
KeyNotFoundException
 The message key [DMTPackageDataBeforeDeploy] 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.Messaging.MessageForm.ShowMessageByKey(String MessageKey)
   at MicroFour.StrataFrame.Data.ProfileEditorDialog.cmdDeployToServer_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.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.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.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/10/2006

You and everyone else are getting this error because for some reason, the data within the StrataFrameInternal database was not properly deployed during the last install.  So, we removed the StrataFrameInternal database completely and just embedded the localization messages within the assemblies themselves.  The current update available within the MyAccount area will work for you.  Sorry for the problems on this one Sad
By Keith Chisarik - 10/11/2006

I had this and an install of the lastest 1.5 build and removing the StrataFrameInternal database fixed me right up.



Enjoy.