After Beta 1.6.7 installation


Author
Message
Kenneth Langley
Kenneth Langley
StrataFrame Novice (84 reputation)StrataFrame Novice (84 reputation)StrataFrame Novice (84 reputation)StrataFrame Novice (84 reputation)StrataFrame Novice (84 reputation)StrataFrame Novice (84 reputation)StrataFrame Novice (84 reputation)StrataFrame Novice (84 reputation)StrataFrame Novice (84 reputation)
Group: StrataFrame Users
Posts: 26, Visits: 1.5K
After updating our main TCMS application to Beta 1.6.7 we began seeing this error. This happens when

we call the dispose on the advance browse dialog window.

When we click Cancel the following code runs

''' <summary>

''' Command Canel Click Event.

''' </summary>

''' <param name="sender"></param>

''' <param name="e"></param>

''' <remarks></remarks>

Private Sub cmdCancel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCancel.Click

'-- Set the DialogResult on the FOrm

Me.DialogResult = Windows.Forms.DialogResult.Cancel

'-- Dispose of Form

Me.Dispose()

End Sub

When the dispose is executed the error below happens. Any ideas.

KeyNotFoundException
  The given key was not present in the dictionary.

Source     : mscorlib

Stack Trace:
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at MicroFour.StrataFrame.Business.BusinessLayer.get__CurrentDataTable(Boolean IsSharedTable)
   at MicroFour.StrataFrame.Business.BusinessLayer.ChangesExistOnCurrentDataTable()
   at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnFormClosing(FormClosingEventArgs e)
   at System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)


Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
You have something else going on like old and new assemblies mixed, etc.  There is something not right within your environment or it is holding on to an old assembly reference somewhere.  We have been running on this version for quite a while now, and I know that we have a lot of other developers running on it as well.  So I am confident in the build, and the types of issues you are describing are indicitive of having reference issues.  You might double check assemblies, references, etc.  Be sure to also check the GAC in case there are some residual assemblies that did not get removed or updated.
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