﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » After Beta 1.6.7 installation</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 05:50:00 GMT</lastBuildDate><ttl>20</ttl><item><title>After Beta 1.6.7 installation</title><link>http://forum.strataframe.net/FindPost22406.aspx</link><description>After updating our main TCMS application to Beta 1.6.7 we began seeing this error. This happens when&lt;P&gt;we call the dispose on the advance browse dialog &amp;#119;indow.&lt;IMG src="http://forum.strataframe.net/Uploads/Images/95fd939e-0eed-4a95-9642-7dba.JPG"&gt;&lt;/P&gt;&lt;P&gt;When we click Cancel the following code runs&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;FONT size=2&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;''' Command Canel Click Event.&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;param name="sender"&amp;gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;param name="e"&amp;gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;''' &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;&amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Private&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; cmdCancel_Click(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; sender &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; System.Object, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; e &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; System.EventArgs) &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Handles&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; cmdCancel.Click&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'-- Set the DialogResult on the FOrm&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.DialogResult = Windows.Forms.DialogResult.Cancel&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#008000 size=2&gt;&lt;FONT color=#008000 size=2&gt;'-- Dispose of Form&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;.Dispose()&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;/FONT&gt;[/codesnippet]&lt;/P&gt;&lt;P&gt;When the dispose is executed the error below happens. Any ideas.&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;/P&gt;&lt;P&gt;KeyNotFoundException&lt;BR&gt;&amp;nbsp; The given key was not present in the dictionary.&lt;/P&gt;&lt;P&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : mscorlib&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.ThrowHelper.ThrowKeyNotFoundException()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Collections.Generic.Dictionary`2.get_Item(TKey key)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessLayer.get__CurrentDataTable(Boolean IsSharedTable)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Business.BusinessLayer.ChangesExistOnCurrentDataTable()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnFormClosing(FormClosingEventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)&lt;BR&gt;[/codesnippet]</description><pubDate>Wed, 18 Mar 2009 08:03:35 GMT</pubDate><dc:creator>Kenneth Langley</dc:creator></item><item><title>RE: After Beta 1.6.7 installation</title><link>http://forum.strataframe.net/FindPost22422.aspx</link><description>Let me know if you don't make any progress. ;)</description><pubDate>Wed, 18 Mar 2009 08:03:35 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: After Beta 1.6.7 installation</title><link>http://forum.strataframe.net/FindPost22410.aspx</link><description>I will clean the machines and do the installs again and make sure all assemblies are correct.&lt;/P&gt;&lt;P&gt;Thanks</description><pubDate>Tue, 17 Mar 2009 16:13:23 GMT</pubDate><dc:creator>Kenneth Langley</dc:creator></item><item><title>RE: After Beta 1.6.7 installation</title><link>http://forum.strataframe.net/FindPost22409.aspx</link><description>You have something else going on like old and new assemblies mixed, etc.&amp;nbsp; There is something not right within your environment or it is holding on to an old assembly reference somewhere.&amp;nbsp; 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.&amp;nbsp; So I am confident in the build, and the types of issues you are describing are indicitive of having reference issues.&amp;nbsp; You might double check assemblies, references, etc.&amp;nbsp; Be sure to also check the GAC in case there are some residual assemblies that did not get removed or updated.</description><pubDate>Tue, 17 Mar 2009 15:04:18 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: After Beta 1.6.7 installation</title><link>http://forum.strataframe.net/FindPost22408.aspx</link><description>Could this be something in&amp;nbsp;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&amp;nbsp;on all business objects in BO mapper.&lt;P&gt;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.</description><pubDate>Tue, 17 Mar 2009 13:17:03 GMT</pubDate><dc:creator>Kenneth Langley</dc:creator></item><item><title>RE: After Beta 1.6.7 installation</title><link>http://forum.strataframe.net/FindPost22407.aspx</link><description>This doens't make any sense...so we are going to have to dig a little more.&amp;nbsp; Are you using shared data tables, etc?&amp;nbsp; can you reproduce this with the standard SF BrowseDialog?&amp;nbsp; 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).&amp;nbsp; But there is nothing that we have changed that should have caused this...that I can think of anyway :)&lt;/P&gt;&lt;P&gt;For a quick test, can you reproduce this using the standard SF BrrowseDialog?</description><pubDate>Tue, 17 Mar 2009 12:55:26 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>