StrataFrame Forum

DDT Error

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

By Ed Summers - 10/20/2006

Please see the error below. I added a field to a table and tried to deploy the changes.



Please advise if possible. Thanks.



***********************************************************************

LocalizationKeyNotFoundException

   The specified key [DMTPackageDataBeforeDeploy] was not found within the messaging database.

SqlException

   Cannot open database "StrataFrameInternal" requested by the login. The login failed.

Login failed for user 'SIGMA\esummers'.



Source : MicroFour StrataFrame Base



Stack Trace:

at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)

at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)

at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)

at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)

at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)

at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)

at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)

at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)

at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)

at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)

at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)

at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)

at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)

at System.Data.SqlClient.SqlConnection.Open()

at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)

at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)

at MicroFour.StrataFrame.Data.DbDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)

at MicroFour.StrataFrame.Data.SqlDataSourceItem.GetDataTable(DbCommand Command, OnChangeEventHandler CallBack)

at MicroFour.StrataFrame.Data.DbDataSourceItem.GetDataTable(QueryInformation QueryInfo, OnChangeEventHandler CallBack)

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 Keith Chisarik - 10/20/2006

Just FYI I tried to deply this as well and failed with the same error. I have the latest build I believe Ed is on the original 1.5.
By Trent L. Taylor - 10/20/2006

I tested this and the messages are in the latest package.  To fix the error, just download and install the latest setup from the My Account area of the website.  There have been several 1.5 updates because of this very reason.

Not everyone has had this problem so we did not send out a blanket email.  But if you get and install the latest version this should resolve your problem.

Just to give you a little insight...the StrataFrameInternal database is no longer used.  All of the localization messages are embedded within the EXE so future messages like this will be a thing of the past Smile

By Keith Chisarik - 10/20/2006

I deleted StrataframeInternal from all our servers when 1.5 was released.
By Trent L. Taylor - 10/20/2006

That's great.  Just so you know, there was a message or two missing so that is why we had to repost the build.  I think this was one of the messages.  We reposted this last week sometime....just FYI.
By Keith Chisarik - 10/20/2006

gotcha....
By Ed Summers - 10/23/2006

Thanks for the response
By Trent L. Taylor - 10/23/2006

Sure Smile