﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » Enterprise Server - V1 » Issues  » Click Once SQL 2008 SMO objects</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 03:01:21 GMT</lastBuildDate><ttl>20</ttl><item><title>Click Once SQL 2008 SMO objects</title><link>http://forum.strataframe.net/FindPost23157.aspx</link><description>We have recently moved to VS2008 and SQL 2008 from VS2005 and SQL 2005. &lt;/P&gt;&lt;P&gt;I have a problem when we deploy our click once application, the following message is displayed&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Unable to install or run the application. The application requires that assembly Microsoft.SqlServer.Dmf Version 10.0.0.0 be installed in the Global Assembly Cache (GAC) first.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The assembly is included in the deployment files, but as far as I am aware Click Once cannot deploy directly to the GAC. The issue seems to stem from the Microsoft.SqlServer.Smo assembly which is referenced in the Strataframe DBEngine and UI assemblies. Our application does not reference any SQLServer assemblies directly.&lt;/P&gt;&lt;P&gt;Do you have any ideas on how we can deploy these assemblies through click once?</description><pubDate>Mon, 18 May 2009 10:39:14 GMT</pubDate><dc:creator>Luke Wells</dc:creator></item><item><title>RE: Click Once SQL 2008 SMO objects</title><link>http://forum.strataframe.net/FindPost23174.aspx</link><description>If you are actually using the dbengine from SF, then you'll need to use the prerequisites feature of ClickOnce to get the SQL DLL loaded into the GAC.  However, likely you aren't actually using this in your app and you just need to uncheck this as a required file in the ClickOnce (publish) area.</description><pubDate>Mon, 18 May 2009 10:39:14 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Click Once SQL 2008 SMO objects</title><link>http://forum.strataframe.net/FindPost23158.aspx</link><description>As you can probably find on other threads, I am not a fan of ClickOnce and so we abandoned it long ago.&amp;nbsp; However, this is just a SQL Server SMO 10 assembly reference.&amp;nbsp; In the most recent version of SF (1.6.7) we have removed all SMO references from all projects EXCEPT the dbengine as this is what is used for database deployment through the DDT.&amp;nbsp; The error that it is giving you, do you get this when you are trying to build the package or when you are trying to deploy the package?&amp;nbsp; In either case, it is just a matter of loading the SMO assemblies.&amp;nbsp; We actually have an MSM that we distribute with SF to help with this.&amp;nbsp; You can find it in the c:\program files\MicroFour\StrataFrame\Distribution\SQLSMOMergeModule.msm path.&amp;nbsp; This includes all of the SMO assemblies required for distribution.&amp;nbsp; If ClickOnce will not support MSM files, then you can also download the SMO 10 MSI redistributable from Microsoft's website.</description><pubDate>Mon, 18 May 2009 06:30:24 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>