After Beta 1.6.7 installation


Author
Message
Kenneth Langley
Kenneth Langley
StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 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)


Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
This doens't make any sense...so we are going to have to dig a little more.  Are you using shared data tables, etc?  can you reproduce this with the standard SF BrowseDialog?  The DevEx BrowseDialog hasn't een changed in a while to accomodate all of the new features of the SF BrowseDialog (as we have discussed on other threads).  But there is nothing that we have changed that should have caused this...that I can think of anyway Smile

For a quick test, can you reproduce this using the standard SF BrrowseDialog?

Kenneth Langley
Kenneth Langley
StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)
Group: StrataFrame Users
Posts: 26, Visits: 1.5K
Could this be something in a difference in the Strataframe database during upgrade. We are now experiencing other problems that refer to a datasource key not being set but the datasouce key is set and runs, but errors out when trying to open in designer. We did a rebuild on all business objects in BO mapper.

The previous question: The advance browse dialog is a form that we have that is inherited from a SF standard form. We do some searching and filtering in the BO with this screen.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.
Kenneth Langley
Kenneth Langley
StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)StrataFrame Novice (52 reputation)
Group: StrataFrame Users
Posts: 26, Visits: 1.5K
I will clean the machines and do the installs again and make sure all assemblies are correct.

Thanks

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Let me know if you don't make any progress. Wink
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