Error adding a table


Author
Message
Flavelle Ballem
Flavelle Ballem
StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)
Group: Forum Members
Posts: 56, Visits: 126
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)

Trent Taylor
Trent Taylor
StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.

Flavelle Ballem
Flavelle Ballem
StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)
Group: Forum Members
Posts: 56, Visits: 126
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

Trent Taylor
Trent Taylor
StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)StrataFrame Developer (8.5K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.

Flavelle Ballem
Flavelle Ballem
StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)StrataFrame Novice (60 reputation)
Group: Forum Members
Posts: 56, Visits: 126
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

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

What is the structure of the "first table"?

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