StrataFrame Forum

Error adding a table

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

By Flavelle Ballem - 4/10/2007

BusinessLayerException
 The CurrentRow could not be evaluated because the CurrentRowIndex is out of range.  Business object record count: 0.  CurrentRowIndex: -1.

Source     : MicroFour StrataFrame Business

Stack Trace:
   at MicroFour.StrataFrame.Business.BusinessLayer.get_CurrentRow()
   at MicroFour.StrataFrame.Business.DBEFileGroupsBO.get_fg_pk()
   at MicroFour.StrataFrame.Data.TableProperties..ctor(Int32 ProfilePK, String DatabaseName, Int32 DatabasePK, Int32 TablePK)
   at MicroFour.StrataFrame.Data.ProfileEditorDialog.ShowTableProperties(Int32 TablePK)
   at MicroFour.StrataFrame.Data.ProfileEditorDialog.cmi_Profile_AddTable_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 Trent L. Taylor - 4/10/2007

Flavelle,

This error really doesn't mean anything without an explanation or a general idea of the situation.  Could you please provide more information or the package file so that we can at least have a better understanding of the environment, how you achieved this error, when it occurred, if you have any items in the rename history, etc.  Thanks.

By Flavelle Ballem - 4/10/2007

Context is as follows:

  1. Clean installation on a standalone Windows Vista workstation
  2. Created new Profile in DDT
  3. Created a new connection to my SQLExpress instance.
  4. Created new Database in DDT
  5. Attempted to add a new table to the database in DDT and got the error

Hope this helps.

Regards,

Flavelle

By Trent L. Taylor - 4/11/2007

Flavelle,

Based off of your previous post there is no way to reproduce the problem...at least on my side.  I need to know more detail about your structure.  The details that you provided describe the most simple functionality of the DDT and does not contain any information regarding your structures.

By Flavelle Ballem - 4/11/2007

Structure is exactly as described. The table that I'm trying to add is the first table in the database. The SQL Express instance is case-sensitive, so that might be causing the problem - just a thought.

Flavelle

By Trent L. Taylor - 4/11/2007

Flavelle,

What is the structure of the "first table"?