﻿<?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  » ClickOnce, app-install from the web fails on a clean XP Prof. SP3...</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 07:25:11 GMT</lastBuildDate><ttl>20</ttl><item><title>ClickOnce, app-install from the web fails on a clean XP Prof. SP3...</title><link>http://forum.strataframe.net/FindPost19800.aspx</link><description>Hi,&lt;P&gt;surely I'm doing something really stupid...&lt;/P&gt;&lt;P&gt;I did a few tests to install my App after deploying through ClickOnce&amp;nbsp;to a web page:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.systemhaus-alber.de/waupdate/brainspark/"&gt;http://www.systemhaus-alber.de/waupdate/brainspark/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It always worked as expected.&amp;nbsp;Untill I tried to install the app from the web directly to a clean machine with XP Prof. SP3. It installs the .NET-Framework 2.0 and SQLExpress, but then it fails to install my app, telling me that there first have to be the assembly 'Microsoft.SqlServer.Dmf Version 10.0.0.0' installed into the GAC.&lt;/P&gt;&lt;P&gt;After looking at the GAC, all versions&amp;nbsp;there are&amp;nbsp;9.0.242.0 on a clean XP. On a clean Vista&amp;nbsp;Ultimate&amp;nbsp;it is all at version&amp;nbsp;10.0.0.0, but I tried not to install under Vista, because I want my app to run on XP also.&lt;/P&gt;&lt;P&gt;So I looked at my development machine, witch is XP Prof. SP3, and there are both versions in the GAC. Therefore&amp;nbsp;no error while testing the install of my app, I think. Don't know from where I got the version 10.0.0.0 ones on my XP machine, what I could have installed to have them there...&lt;/P&gt;&lt;P&gt;At the source code of SF I found no suspect references to such an assembly. So I decided to install VS and SF at the clean machine with XP Prof. SP3. Now I have an error message as soon as I try to change the connection string through the appropriate SF-dialog, which I call from&amp;nbsp;a menu_click() like that:&lt;/P&gt;&lt;P&gt;//-- Change the connection string&lt;BR&gt;if (ConnectionManager.ShowAvailableConnectionStrings())&lt;BR&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //-- Set the connection string&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ConnectionManager.SetConnections();}&lt;/P&gt;&lt;P&gt;The the called ConnectionManager is&amp;nbsp;the original and untouched&amp;nbsp;SF-ConnectionManager.&lt;/P&gt;&lt;P&gt;The error message is now:&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;FileNotFoundException&lt;BR&gt;&amp;nbsp; Die Datei oder Assembly Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.&lt;BR&gt;FileNotFoundException&lt;BR&gt;&amp;nbsp; Die Datei oder Assembly Microsoft.SqlServer.Smo, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91 oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.&lt;/P&gt;&lt;P&gt;Source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : MicroFour StrataFrame UI&lt;/P&gt;&lt;P&gt;Stack Trace: &lt;BR&gt;&amp;nbsp;&amp;nbsp; bei MicroFour.StrataFrame.DBEngine.SQL.SQLServerSchema..ctor()&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei MicroFour.StrataFrame.Data.SQLServerConnectionPage..ctor()&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei MicroFour.StrataFrame.Data.ConnectionWizard.LoadRequiredPages()&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei MicroFour.StrataFrame.Data.ConnectionWizard..ctor(RequiredDataSourceCollection RequiredItems, Int32 ApplicationPK, Boolean PersistData)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei MicroFour.StrataFrame.Data.ConnectionWizard..ctor(RequiredDataSourceCollection RequiredItems, Int32 ApplicationPK)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei MicroFour.StrataFrame.Data.ConnectionManager.ShowConnectionWizard(Int32 ApplicationPK)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei MicroFour.StrataFrame.Data.ConnectionManager.ShowConnectionWizard()&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei MicroFour.StrataFrame.Data.DBEShowApplicationConnectionStrings.cmdAdd_Click(Object sender, EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei System.Windows.Forms.Control.OnClick(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei System.Windows.Forms.Button.OnClick(EventArgs e)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei System.Windows.Forms.Control.WmMouseUp(Message&amp;amp; m, MouseButtons button, Int32 clicks)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei System.Windows.Forms.ButtonBase.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei System.Windows.Forms.Button.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei System.Windows.Forms.Control.ControlNative&amp;#119;indow.OnMessage(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei System.Windows.Forms.Control.ControlNative&amp;#119;indow.WndProc(Message&amp;amp; m)&lt;BR&gt;&amp;nbsp;&amp;nbsp; bei System.Windows.Forms.Native&amp;#119;indow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Oh yes, on the clean machine there are only assemblies with the version 9.0.242.0 and not 10.0.0.0. On my development machine with both versions in the GAC it works, but this is not what I want, because some of my customers may not have both versions on there machines.&lt;/P&gt;&lt;P&gt;The references at the SF-SourceCode do not point to any 10.0.0.0 version, so recompiling and 'AfterBuild'ing (running the AfterBuild.bat), looking hard to secure all assemblies on the machine are at the same level in every subdirectory and the GAC&amp;nbsp;did not&amp;nbsp;help.&lt;/P&gt;&lt;P&gt;Any hint where I could look next?&lt;/P&gt;&lt;P&gt;TIA, Ralph</description><pubDate>Mon, 13 Apr 2009 16:59:42 GMT</pubDate><dc:creator>Ralph Rutschmann</dc:creator></item><item><title>RE: ClickOnce, app-install from the web fails on a clean XP Prof. SP3...</title><link>http://forum.strataframe.net/FindPost22697.aspx</link><description>Well...this is one of the flaws of ClickOnce...I am not a big fan (which can be discovered on other threads).&amp;nbsp; This is one of this types of issues that can come from a large number of different things and doesn't actually relate to SF.&amp;nbsp; However, if you want to post more information in regards to your specific errors, maybe something can be gleamed from what you are running into.</description><pubDate>Mon, 13 Apr 2009 16:59:42 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: ClickOnce, app-install from the web fails on a clean XP Prof. SP3...</title><link>http://forum.strataframe.net/FindPost22693.aspx</link><description>Sirs, I am hoping we can reopen this thread.&amp;nbsp; I am having the very same problem, however when I checked my app.config file, I found no such references to version 10 of these assemblies.&amp;nbsp;&amp;nbsp;My development server does have this version of sql server installed.&amp;nbsp; The only ClickOnce prerequesite that I have is .NET 2.0, nothing else.&amp;nbsp; Any other ideas where this might be coming in?</description><pubDate>Mon, 13 Apr 2009 09:34:42 GMT</pubDate><dc:creator>Matthew Phillips</dc:creator></item><item><title>RE: ClickOnce, app-install from the web fails on a clean XP Prof. SP3...</title><link>http://forum.strataframe.net/FindPost19825.aspx</link><description>That certainly explains it :). Glad you got it going!</description><pubDate>Tue, 30 Sep 2008 09:32:34 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: ClickOnce, app-install from the web fails on a clean XP Prof. SP3...</title><link>http://forum.strataframe.net/FindPost19823.aspx</link><description>Hi Dustin,&lt;/P&gt;&lt;P&gt;it's me again. I knew I did something really stupid. The following I found in my app.config:&lt;/P&gt;&lt;P&gt;[codesnippet]&amp;lt;runtime&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;dependentAssembly&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assemblyIdentity name="Microsoft.SqlServer.ConnectionInfo" publicKeyToken="89845DCD8080CC91" culture="neutral"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/dependentAssembly&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;dependentAssembly&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assemblyIdentity name="Microsoft.SqlServer.ServiceBrokerEnum" publicKeyToken="89845DCD8080CC91" culture="neutral"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/dependentAssembly&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;dependentAssembly&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assemblyIdentity name="Microsoft.SqlServer.Smo" publicKeyToken="89845DCD8080CC91" culture="neutral"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/dependentAssembly&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;dependentAssembly&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;assemblyIdentity name="Microsoft.SqlServer.SqlEnum" publicKeyToken="89845DCD8080CC91" culture="neutral"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0"/&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/dependentAssembly&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/assemblyBinding&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;/runtime&amp;gt;[/codesnippet]&lt;/P&gt;&lt;P&gt;As I remember, I was asked from VS if I want to have corrected some conflicts between assembly versions, and I clicked on 'Yes'. Thus the above snipped was added do my app.config.&lt;/P&gt;&lt;P&gt;Now I had a look at my software installations. Guess what? Right, I did apparently something really stupid or it was any of my lastly installed softwares, but there was an entry named: 'Microsoft SQL Server 2008 Management Objects'.&lt;/P&gt;&lt;P&gt;Deleting the above code snippet from my app.config, deinstallation for the 'Management Objects' and it works all as it should! :-)&lt;/P&gt;&lt;P&gt;It seems I got to be pointed into the wrong direction by the error messages of VS.&lt;/P&gt;&lt;P&gt;Sorry for any trouble I may have caused. I don't know where this Management Objects where coming from. I will see which application&amp;nbsp;the deinstallation of that beast&amp;nbsp;breaks, or even not.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;Friendly greetings, Ralph</description><pubDate>Tue, 30 Sep 2008 04:14:38 GMT</pubDate><dc:creator>Ralph Rutschmann</dc:creator></item><item><title>RE: ClickOnce, app-install from the web fails on a clean XP Prof. SP3...</title><link>http://forum.strataframe.net/FindPost19820.aspx</link><description>Hello Dustin,&lt;/P&gt;&lt;P&gt;[quote][b]Dustin Taylor (09/29/2008)[/b][hr]10.0 is SQL Server 2008. Are you trying to use server 2008 in your application? If so, you'll need to load the smo objects for 2008 (or ensure that they are loaded) as part of your installation before deploying your application.[/quote]&lt;/P&gt;&lt;P&gt;My prerequisites are .NET Framework 2.0, Windows Installer 3.1 and SQLExpress 2005. I have no SQL 2008 on no machine in no version. I know there is a SQLExpress 2008 somewhere, but I don't want to complicate my life without any need. Attached is a screen shot, showing where my app stops with an error message in debugging mode on a clean machine, XP Prof. SP3 (no 10.0.0.0 assemblies). To me it seems to point to SF, but I could be wrong. But if I'm wrong, I don't know what I could do. I have no references to a 10.0.0.0 assembly in my app and I found no such thing in SF source code. All I use is SQLExpress 2005 and StrataFrame. And Visual Studio, of course. ;-)&lt;/P&gt;&lt;P&gt;It worked all as it should a until a few day ago and I did all tests since then on my development machine. Now I found something went broken meanwhile. Could it have something to do with one of the last builds? Do you think it could have something to do with that?&lt;/P&gt;&lt;P&gt;Maybe the screen shot helps to identify the problem...&lt;/P&gt;&lt;P&gt;Thank you very much for any help.&lt;/P&gt;&lt;P&gt;Friendly greetings, Ralph</description><pubDate>Mon, 29 Sep 2008 13:40:51 GMT</pubDate><dc:creator>Ralph Rutschmann</dc:creator></item><item><title>RE: ClickOnce, app-install from the web fails on a clean XP Prof. SP3...</title><link>http://forum.strataframe.net/FindPost19810.aspx</link><description>10.0 is SQL Server 2008. Are you trying to use server 2008 in your application? If so, you'll need to load the smo objects for 2008 (or ensure that they are loaded) as part of your installation before deploying your appilcation.</description><pubDate>Mon, 29 Sep 2008 09:00:32 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item></channel></rss>