<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Asmita's blog : Yukon</title><link>http://blogs.msdn.com/asmitaw/archive/tags/Yukon/default.aspx</link><description>Tags: Yukon</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Automating SQL Server Analysis Services cubes and cubes processing </title><link>http://blogs.msdn.com/asmitaw/archive/2007/02/20/automating-sql-server-analysis-services-cubes-and-cubes-processing.aspx</link><pubDate>Tue, 20 Feb 2007 22:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1731071</guid><dc:creator>asmitaw</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/asmitaw/comments/1731071.aspx</comments><wfw:commentRss>http://blogs.msdn.com/asmitaw/commentrss.aspx?PostID=1731071</wfw:commentRss><description>&lt;P&gt;take this approach :&lt;/P&gt;
&lt;P&gt;1. create a project ( BI Analysis Services type)&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; build this project and it will create the asdatabase file.&lt;/P&gt;
&lt;P&gt;3.Automate&amp;nbsp; cubes deploy : Deploy the asdatabse file&amp;nbsp; with /s options on command line&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;command&amp;nbsp;line for it is :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cd C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\&amp;nbsp; &amp;amp;&amp;amp; Microsoft.AnalysisServices.Deployment&amp;nbsp; c:\CONDOR_SSAS.asdatabase /s&lt;/P&gt;
&lt;P&gt;4.&amp;nbsp;Automate the processing of cube.&lt;/P&gt;
&lt;P&gt;deploy the asdatabase file like above&amp;nbsp;without the /s option this will walk you through the wizard to create the XMLA Script. &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;store these XMLA scripts for your cubes just one time.&lt;/P&gt;
&lt;P&gt;5. Automate processing of cubes :&lt;/P&gt;
&lt;P&gt;To process one time stored XMLA Scripts the command line is :&lt;/P&gt;
&lt;P&gt;cd C:\tools&amp;nbsp; &amp;amp;&amp;amp; ascmd.exe -S %COMPUTERNAME% -U %USERDOMAIN%\%USERNAME% -P %NT_PWD% -i "CONDOR_SSAS.xmla"&lt;/P&gt;
&lt;P&gt;Note&amp;nbsp; : The ascmd tool&amp;nbsp; used here can be found in SQL Server&amp;nbsp; 2005 Samples.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1731071" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/asmitaw/archive/tags/Yukon/default.aspx">Yukon</category></item></channel></rss>