﻿<?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  » Exception after deployment to Vista-Machine</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 19 May 2026 21:41:53 GMT</lastBuildDate><ttl>20</ttl><item><title>Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22515.aspx</link><description>Hi,&lt;P&gt;my Application raises the following Exception on a Vista Machine. It works with no Problems on my dev machine (XP):&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;BR&gt;The Typeinitializer for COTAS_Kuma.Business_Objekte.Basis.KundenBO has raised an Exception.&lt;/P&gt;&lt;P&gt;TypeInitializatzionException&lt;BR&gt;&amp;nbsp;The Typeinitialisator for COTAS_Kuma.Business_Objekte.Basis.KundenbO has raised an Exception.&lt;BR&gt;TypeLoadException&lt;BR&gt;&amp;nbsp;The Type MicroFour.StrataFrame.Business.FieldPropertyDescriptor`1 in the Assembly MicroFour StrataFrame Business, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7 could not be loaded.&lt;/P&gt;&lt;P&gt;Source &amp;nbsp;: COTAS_Kuma&lt;/P&gt;&lt;P&gt;Strack Trace:&lt;/P&gt;&lt;P&gt;&amp;nbsp;at COTAS_Kuma.Business_Objekte.Basis.KundenBO..cctor()&lt;BR&gt;&amp;nbsp;at COTAS_Kuma.Business_Objekte.Basis.KundenBO..cctor(IContainer container)&lt;BR&gt;&amp;nbsp;at COTAS_Kuma.Präsentation.KundenverwaltungUI.KundenverwaltungFrm.InitializeComponent()&lt;BR&gt;&amp;nbsp;at COTAS_Kuma.Präsentation.KundenverwaltungUI.KundenverwaltungFrm..ctor()&lt;BR&gt;&amp;nbsp;at COTAS_Kuma.Präsentation.KundenverwaltungUI.KundenverwaltungFrm.getInstanz(TrayApplikation paParentController)&lt;BR&gt;&amp;nbsp;at COTAS_Kuma.Controller.Applikation.TrayApplikation.starteKVKundenverwaltung()&lt;BR&gt;&amp;nbsp;at COTAS_Kuma.Controller.Applikation.Traymenü.ClickEventHandler(Object Sender, Eventargs e)&lt;BR&gt;&amp;nbsp;at System.Windows.Forms.ToolstripItem.RaiseEvent(Object key, EventArgs e)&lt;BR&gt;&amp;nbsp;at System.Windows.Forms.ToolstripMenuItem.OnClick(EventArgs e)&lt;BR&gt;&amp;nbsp;at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)&lt;BR&gt;&amp;nbsp;at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)&lt;BR&gt;&amp;nbsp;...&lt;/P&gt;&lt;P&gt;[/codesnippet]</description><pubDate>Mon, 30 Mar 2009 10:48:42 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22544.aspx</link><description>ok. thanks.</description><pubDate>Mon, 30 Mar 2009 10:48:42 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22535.aspx</link><description>That is an question for someone who uses ClickOnce.&amp;nbsp; We do not use or support ClickOnce due to many issues (not unlike this one) that we ran into early on.&amp;nbsp; We use InstallAware for all of our distribution.&amp;nbsp; There are most likely a lot of blogs on the web that might be able to give you an idea here.</description><pubDate>Mon, 30 Mar 2009 08:45:23 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22534.aspx</link><description>Allright. i guess thats the isse then. The Application also threw an error when the trying to save something to the registry in the security editor.&lt;/P&gt;&lt;P&gt;Now, how would i go to enable&amp;nbsp;the clickonce file to get the required permissions ?&lt;/P&gt;&lt;P&gt;Thanks.</description><pubDate>Mon, 30 Mar 2009 08:42:47 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22533.aspx</link><description>Yes.&amp;nbsp; If this was a pre-existing machine, then it is entirely possible that the permissions prevented the existing assemblies from being updated.&amp;nbsp; That is a common deployment issue that comes up.</description><pubDate>Mon, 30 Mar 2009 08:38:09 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22531.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;ahem, i am not trying to go back and forth ?&lt;/P&gt;&lt;P&gt;It seems to have put the correct assembly file into the "application files" folder, right ? from the screenshot stating it is version 1.6.6.5 ?&lt;/P&gt;&lt;P&gt;So i guess that possible vista's security.. stuff.. is preventing the clickonce installation from copying the new included assemblies over the old ones that still reside on the machine ? could that be the cause ?</description><pubDate>Mon, 30 Mar 2009 08:36:33 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22530.aspx</link><description>Phillip, we can go bacck and forth, but I know that this is your problem.&amp;nbsp; Past getting on your machine and finding the different assmeblies, I am not sure what else to tell you.</description><pubDate>Mon, 30 Mar 2009 08:31:49 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22529.aspx</link><description>it seems to me that it deploys the right version.&lt;/P&gt;&lt;P&gt;screenshot of files that gets deployed into ../publish/application files:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/202c75bb-c8f9-4a03-a3c5-bc9d.jpg"&gt;&lt;/P&gt;&lt;P&gt;and below a screenshot of the file in my GAC Folder:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/a318f61e-625f-489e-942b-32c2.jpg"&gt;&lt;/P&gt;&lt;P&gt;they both say version 1.6.6.5</description><pubDate>Mon, 30 Mar 2009 08:30:14 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22528.aspx</link><description>Well, look at the path or reference of your assembly in your project.&amp;nbsp; Where is it?&amp;nbsp; If it is in the GAC, then make sure that you have the most recent assemblies in your c:\Program Files\Common Files\MicroFour\StrataFrame folder (which you should).&amp;nbsp; Look at your install, where is it pulling the files from?&amp;nbsp; I know that this has to be the issue, so you might compare paths.</description><pubDate>Mon, 30 Mar 2009 08:29:00 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22523.aspx</link><description>so then how do i change it from deploying the old ones ? visual studio collected this information on its own.</description><pubDate>Mon, 30 Mar 2009 08:18:20 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22518.aspx</link><description>Your deploying the wrong assembly.&amp;nbsp; You are developing on the 1.6.7 beta and deploying an older assembly.&amp;nbsp; That is what the FieldPropertyDescriptor is telling you.&amp;nbsp; This was when we made the change to the BOs to only require a singe field property descriptor instead of one for each strong-typed property.</description><pubDate>Mon, 30 Mar 2009 08:00:27 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22517.aspx</link><description>its a clickonce installation. i have included all required assemblies:&lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/97156a87-38b0-460d-af4c-2a0f.jpg" width=483 height=369&gt;&lt;/P&gt;&lt;P&gt;Einschließen = Incluide&lt;/P&gt;&lt;P&gt;Erforderlich = required.</description><pubDate>Mon, 30 Mar 2009 07:35:14 GMT</pubDate><dc:creator>Philipp Guntermann</dc:creator></item><item><title>RE: Exception after deployment to Vista-Machine</title><link>http://forum.strataframe.net/FindPost22516.aspx</link><description>Have you checked your deployment routine to see if you got the proper DLLs added?</description><pubDate>Mon, 30 Mar 2009 07:22:42 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>