﻿<?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 » Issues  » Errors after deployment</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 08 Sep 2026 06:57:58 GMT</lastBuildDate><ttl>20</ttl><item><title>Errors after deployment</title><link>http://forum.strataframe.net/FindPost5794.aspx</link><description>I used some of the latest goodies (list populating search fields on the BrowseDialog, ThemedContainer window, etc.) on a particular form in my project.&lt;/P&gt;&lt;P&gt;Works fine on my machine (of course!).&lt;/P&gt;&lt;P&gt;But after sending an update out to users to install, the app runs fine on all forms &lt;EM&gt;except&lt;/EM&gt; that particular form with the latest SF stuff.&lt;/P&gt;&lt;P&gt;Specifically, I keep getting MissingMethodException errors, and it looks like its related to the updated controls and possibly the updated version of these same controls not being present on the user machines.&lt;/P&gt;&lt;P&gt;However, I included the latest merge module in the deployment package. I also tried just installing the DLLs directly into the GAC (fails due to lack of strong naming), and finally in desperation just put all the DLLs in the same directory as the EXE. This also fails in exactly the same way as using the merge module. How do I know if I have the right version of this stuff on the client machine?&lt;/P&gt;&lt;P&gt;I included a couple of specific exceptions below. Thanks!&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=1&gt;ApplicationException&lt;BR&gt;&amp;nbsp;An error occurred while creating the main form&lt;BR&gt;TargetInvocationException&lt;BR&gt;&amp;nbsp;Exception has been thrown by the target of an invocation.&lt;BR&gt;MissingMethodException&lt;BR&gt;&amp;nbsp;Method not found: 'Void MicroFour.StrataFrame.UI.Windows.Forms.SearchFieldItem.set_PopulationDataSourceSettings(MicroFour.StrataFrame.UI.ListPopulationSettings)'.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=1&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : MicroFour StrataFrame UI&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=1&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at ProjectPortfolioManager.ProjectMaintenanceForm.InitializeComponent()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at ProjectPortfolioManager.ProjectMaintenanceForm..ctor() in C:\Documents and Settings\crabtrjc\My Documents\Visual Studio 2005\Projects\ProjectPortfolioManager\ProjectPortfolioManager\ProjectMaintenanceForm.cs:line 15&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandle&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Activator.CreateInstance(Type type, Boolean nonPublic)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=1&gt;++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=1&gt;ApplicationException&lt;BR&gt;&amp;nbsp;An error occurred while creating the main form&lt;BR&gt;TargetInvocationException&lt;BR&gt;&amp;nbsp;Exception has been thrown by the target of an invocation.&lt;BR&gt;MissingMethodException&lt;BR&gt;&amp;nbsp;Method not found: 'Void MicroFour.StrataFrame.UI.Windows.Forms.SearchFieldItem.set_PopulationDataSourceSettings(MicroFour.StrataFrame.UI.ListPopulationSettings)'.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=1&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : MicroFour StrataFrame UI&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size=1&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; at ProjectPortfolioManager.ProjectMaintenanceForm.InitializeComponent()&lt;BR&gt;&amp;nbsp;&amp;nbsp; at ProjectPortfolioManager.ProjectMaintenanceForm..ctor() in C:\Documents and Settings\crabtrjc\My Documents\Visual Studio 2005\Projects\ProjectPortfolioManager\ProjectPortfolioManager\ProjectMaintenanceForm.cs:line 15&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean&amp;amp; canBeCached, RuntimeMethodHandle&amp;amp; ctor, Boolean&amp;amp; bNeedSecurityCheck)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Activator.CreateInstance(Type type, Boolean nonPublic)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)&lt;BR&gt;&amp;nbsp;&amp;nbsp; at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()&lt;/FONT&gt;</description><pubDate>Thu, 18 Jan 2007 08:53:29 GMT</pubDate><dc:creator>Chris Crabtree</dc:creator></item><item><title>RE: Errors after deployment</title><link>http://forum.strataframe.net/FindPost5924.aspx</link><description>Hehe, yes, I agree with you there... I've had to do the same thing several times.&amp;nbsp;&amp;nbsp;You'll be happy to know that the version of the files will change to 1.5.2 in the next release.</description><pubDate>Thu, 18 Jan 2007 08:53:29 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Errors after deployment</title><link>http://forum.strataframe.net/FindPost5916.aspx</link><description>That worked, although terribly inconvenient. I had to have the users:&lt;/P&gt;&lt;P&gt;1. uninstall everything that used SF 1.5 to free up the assemblies for uninstall, &lt;/P&gt;&lt;P&gt;2. uninstall the assemblies, &lt;/P&gt;&lt;P&gt;3. reinstall my application, &lt;/P&gt;&lt;P&gt;4. then reinstall everything else that they uninstalled in step #1.&lt;/P&gt;&lt;P&gt;What would be the downside of incrementing the version for each new...er, version? At least for breaking changes where new methods or properties have been added.&lt;/P&gt;&lt;P&gt;That would prevent this whole scenario, wouldn't it? There must be a tradeoff, of course, although at the moment, after what I've just had to go through, it seems as if that tradeoff couldn't possibly be worth it. :)&lt;/P&gt;&lt;P&gt;Thanks!</description><pubDate>Wed, 17 Jan 2007 21:53:39 GMT</pubDate><dc:creator>Chris Crabtree</dc:creator></item><item><title>RE: Errors after deployment</title><link>http://forum.strataframe.net/FindPost5815.aspx</link><description>I'm not sure, but the file version might change from build to build while the version stays the same.&amp;nbsp; When you attempt to register the SF DLLs in the GAC you said it fails with a strong-name error?&amp;nbsp; It is possible that you might have to completely remove the SF DLLs from the GAC before you re-register them since the version number did not change.</description><pubDate>Mon, 15 Jan 2007 10:28:10 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>