Get an error when adding Security Package to Database Deployment Project


Author
Message
Flavelle Ballem
Flavelle Ballem
StrataFrame Novice (68 reputation)StrataFrame Novice (68 reputation)StrataFrame Novice (68 reputation)StrataFrame Novice (68 reputation)StrataFrame Novice (68 reputation)StrataFrame Novice (68 reputation)StrataFrame Novice (68 reputation)StrataFrame Novice (68 reputation)StrataFrame Novice (68 reputation)
Group: Forum Members
Posts: 56, Visits: 126
I get the following error when attempting to add the Security tables to a DDT Project:

LocalizationKeyNotFoundException
 The specified key [DMTInvalidPackageFile] was not found within the messaging database.
KeyNotFoundException
 The message key [DMTInvalidPackageFile] 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.ImportDatabaseWizard.VerifyDatabaseConnection(DatabaseType TypeOfDatabase)
   at MicroFour.StrataFrame.Data.ImportDatabaseWizard.DBEImportDatabase_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)

thanks,

Flavelle

Trent Taylor
Trent Taylor
StrataFrame Developer (9.8K reputation)StrataFrame Developer (9.8K reputation)StrataFrame Developer (9.8K reputation)StrataFrame Developer (9.8K reputation)StrataFrame Developer (9.8K reputation)StrataFrame Developer (9.8K reputation)StrataFrame Developer (9.8K reputation)StrataFrame Developer (9.8K reputation)StrataFrame Developer (9.8K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Flavelle,

You actually have two problems.  First, the DMTInvalidPackageFile message indicates that your localization entries have not been properly updated which usually means that either the data deployment portion of the install was skipped or had a potential error.  Another common mistake here is installing to one server but running off of another at run-time.  So you may want to re-install the setup and make sure that you point to the correct server that will house your StrataFrame database.

The second issue was a just a file that was left out of the installation which I have just fixed and will be sure to post out on the web in the next day or so.  But to get around the issue for now, copy the attached file to the following location and try your import again:

C:\Program Files\Common Files\MicroFour\StrataFrame

Note: The path respects the operating system language so you may need to adjust the path if running a version other than English.

 

 

EDIT: Ben Chase 9/28/06: security.pkg fixed and moved to post http://forum.strataframe.net/FindPost3175.aspx

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