<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>System Center Orchestrator Custom Interface – C# / ASP.NET</title><link>http://blogs.technet.com/b/neilp/archive/2012/02/14/sql-cluster-with-custom-front-end.aspx</link><description>Welcome to another System Center PFE blog post. In this publication I will continue to highlight how the System Center Suite of products can help manage and automate complex processes. If you&amp;rsquo;ve read my first post in this series, you will recall</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: System Center Orchestrator Custom Interface – C# / ASP.NET</title><link>http://blogs.technet.com/b/neilp/archive/2012/02/14/sql-cluster-with-custom-front-end.aspx#3527639</link><pubDate>Fri, 19 Oct 2012 18:39:08 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3527639</guid><dc:creator>Mike Wax</dc:creator><description>&lt;p&gt;Spencer - make sure you execute the console as administrator. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3527639" width="1" height="1"&gt;</description></item><item><title>re: System Center Orchestrator Custom Interface – C# / ASP.NET</title><link>http://blogs.technet.com/b/neilp/archive/2012/02/14/sql-cluster-with-custom-front-end.aspx#3523197</link><pubDate>Fri, 28 Sep 2012 18:31:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3523197</guid><dc:creator>Spencer</dc:creator><description>&lt;p&gt;When I executed the command DataSvcUtil.exe /dataservicecollection /version:2.0 /language:CSharp /out:desiredfilename.cs /uri: HTTP://&amp;lt;SERVERNAME&amp;gt;:81/Orchestrator2012/Orchestrator.svc - no .cs class was outputted to the specified folder. I checked that the orchestrator service was running properly (I got back xml when I went to the url). I also tried version 4.0 but again no class file was made. I even got a &amp;#39;generation complete&amp;#39; with 0 errors and warnings upon completion. Any idea why this is happening?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3523197" width="1" height="1"&gt;</description></item><item><title>re: System Center Orchestrator Custom Interface – C# / ASP.NET</title><link>http://blogs.technet.com/b/neilp/archive/2012/02/14/sql-cluster-with-custom-front-end.aspx#3512674</link><pubDate>Mon, 06 Aug 2012 02:05:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3512674</guid><dc:creator>Mike Wax</dc:creator><description>&lt;p&gt;Just found another blog (&lt;a rel="nofollow" target="_new" href="http://zormim.wordpress.com/2012/07/31/executing-orchestrator-runbooks-from-c/"&gt;zormim.wordpress.com/.../executing-orchestrator-runbooks-from-c&lt;/a&gt;) that took this approach to the next level and with the provided item template you can replace all the above code lines with something like:&lt;/p&gt;
&lt;p&gt;string strServer = txtServer.Text;&lt;/p&gt;
&lt;p&gt;string strEmail = txtEmail.Text;&lt;/p&gt;
&lt;p&gt;string strCluster;&lt;/p&gt;
&lt;p&gt;if (chkCluster.Checked)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;strCluster = &amp;quot;True&amp;quot;;&lt;/p&gt;
&lt;p&gt;else&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;strCluster = &amp;quot;False&amp;quot;; &lt;/p&gt;
&lt;p&gt;OrchestratorReference orchestratorReference = new OrchestratorReference();&lt;/p&gt;
&lt;p&gt;orchestratorReference.OrchestratorServiceCredentials = new NetworkCredential(&amp;quot;username&amp;quot;, &amp;quot;password&amp;quot;, &amp;quot;domain&amp;quot;); &lt;/p&gt;
&lt;p&gt;orchestratorReference.ClusterUpdates(strServer, strEmail, strCluster);&lt;/p&gt;
&lt;p&gt;Tested it and it work like a charm.&lt;/p&gt;
&lt;p&gt;Mike.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3512674" width="1" height="1"&gt;</description></item><item><title>re: System Center Orchestrator Custom Interface – C# / ASP.NET</title><link>http://blogs.technet.com/b/neilp/archive/2012/02/14/sql-cluster-with-custom-front-end.aspx#3496430</link><pubDate>Mon, 07 May 2012 13:09:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3496430</guid><dc:creator>Nicolas</dc:creator><description>&lt;p&gt;Hi Neil,&lt;/p&gt;
&lt;p&gt;Sorry, I had replied to you, but the message didn&amp;#39;t go through.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t want to seem rude, so now that I see that my message was not here, I want to apology!&lt;/p&gt;
&lt;p&gt;My problem was in fact just a question of permissions. With my migration and changes of environment, I forgot to give proper permissions to my end users.&lt;/p&gt;
&lt;p&gt;Thank you very much again for your great work!&lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3496430" width="1" height="1"&gt;</description></item><item><title>re: System Center Orchestrator Custom Interface – C# / ASP.NET</title><link>http://blogs.technet.com/b/neilp/archive/2012/02/14/sql-cluster-with-custom-front-end.aspx#3491940</link><pubDate>Fri, 13 Apr 2012 07:36:17 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3491940</guid><dc:creator>Neil Peterson</dc:creator><description>&lt;p&gt;Sorry Nicholas – this all checks out on my 1154 installation. Here are the migration steps I have taken.&lt;/p&gt;
&lt;p&gt;-	Export and Import of Runbooks.&lt;/p&gt;
&lt;p&gt;-	Recreation of .CS file.&lt;/p&gt;
&lt;p&gt;-	Removed the old .CS file from my website (or other Visual Studio project).&lt;/p&gt;
&lt;p&gt;-	Add the new .CS file.&lt;/p&gt;
&lt;p&gt;-	Change the coded URI.&lt;/p&gt;
&lt;p&gt;If you are still having issues drop me a line, I will try and assist.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3491940" width="1" height="1"&gt;</description></item><item><title>re: System Center Orchestrator Custom Interface – C# / ASP.NET</title><link>http://blogs.technet.com/b/neilp/archive/2012/02/14/sql-cluster-with-custom-front-end.aspx#3491777</link><pubDate>Thu, 12 Apr 2012 14:28:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3491777</guid><dc:creator>Nicolas</dc:creator><description>&lt;p&gt;Hi Neil,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m back here, because I have a problem using your code with the latest version of Orchestrator (7.0.1154.0) or in my new environnemnt. The problem seems to happen when retrieving Runbook parameters (line 42 of your code). When running the code, I get :&lt;/p&gt;
&lt;p&gt;&amp;quot;Exception has been thrown by the target of an invocation.&amp;quot;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s annoying, I used your method with Orchestrator RC, and now it doesn&amp;#39;t work anymore.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sure I&amp;#39;m missing something probably stupid, but now I&amp;#39;m out of ideas. Do you have any ?&lt;/p&gt;
&lt;p&gt;I look forward to hearing from you.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3491777" width="1" height="1"&gt;</description></item><item><title>re: System Center Orchestrator Custom Interface – C# / ASP.NET</title><link>http://blogs.technet.com/b/neilp/archive/2012/02/14/sql-cluster-with-custom-front-end.aspx#3485589</link><pubDate>Thu, 08 Mar 2012 21:48:48 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3485589</guid><dc:creator>Chris Morrow</dc:creator><description>&lt;p&gt;My apologies. My immaturity with the product lead me down a rabbit hole. Jobs were pending which led me to the fact that the Runbook Service had crashed so restarting it started handling the queue&amp;#39;d jobs. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3485589" width="1" height="1"&gt;</description></item><item><title>re: System Center Orchestrator Custom Interface – C# / ASP.NET</title><link>http://blogs.technet.com/b/neilp/archive/2012/02/14/sql-cluster-with-custom-front-end.aspx#3483487</link><pubDate>Tue, 28 Feb 2012 00:03:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3483487</guid><dc:creator>Neil Peterson</dc:creator><description>&lt;p&gt;I believe we can ‘query’ the WebService for status, however it is not clear to me yet what kind of data can be returned, nor how to return this data.&lt;/p&gt;
&lt;p&gt;That said, I am working on a post now that uses some creative methods from which to provide real time and summary feedback into the progress/status of these Runbooks. These examples will be easily modifiable to facilitate the returning of any data from the Orchestrator data bus. &lt;/p&gt;
&lt;p&gt;If you hang tight, I hope to have the post published this week. &lt;/p&gt;
&lt;p&gt;neilp&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3483487" width="1" height="1"&gt;</description></item><item><title>re: System Center Orchestrator Custom Interface – C# / ASP.NET</title><link>http://blogs.technet.com/b/neilp/archive/2012/02/14/sql-cluster-with-custom-front-end.aspx#3483371</link><pubDate>Mon, 27 Feb 2012 14:57:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3483371</guid><dc:creator>Nicolas</dc:creator><description>&lt;p&gt;Hi Neil,&lt;/p&gt;
&lt;p&gt;I finally dealt with my problem. In fact, The class created with the 3.5 .NET DataSvcUtil was empty. I tried again to create it again, but without any success !&lt;/p&gt;
&lt;p&gt;So I tried with fourth version of .NET and it worked perfectly ! Now I can run any of my runbooks from ma Windows Form Application ! :)&lt;/p&gt;
&lt;p&gt;I have one new question : In this exercice, we send parameters to the runbook. I guess it&amp;#39;s possible to get responses from the runbook with the return data activity... Any idea how ?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nicolas&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3483371" width="1" height="1"&gt;</description></item><item><title>re: System Center Orchestrator Custom Interface – C# / ASP.NET</title><link>http://blogs.technet.com/b/neilp/archive/2012/02/14/sql-cluster-with-custom-front-end.aspx#3483129</link><pubDate>Sat, 25 Feb 2012 04:49:34 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3483129</guid><dc:creator>Neil Peterson</dc:creator><description>&lt;p&gt;Nicolas thanks for the question. This should be due to an issue with the .CS file created with DataSvcUtil.exe. Did you specify the full URL in when creating the .CS file? Have you verified that the .CS file has been added to solution?&lt;/p&gt;
&lt;p&gt;neilp&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3483129" width="1" height="1"&gt;</description></item></channel></rss>