<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   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/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Eric Sloof - NTPRO.NL - Microsoft</title>
    <link>http://www.ntpro.nl/blog/</link>
    <description>Eric Sloof</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.4 - http://www.s9y.org/</generator>
    
    

<item>
    <title>Building the SDK .NET Samples Using Visual Studio 2008</title>
    <link>http://www.ntpro.nl/blog/archives/1424-Building-the-SDK-.NET-Samples-Using-Visual-Studio-2008.html</link>
            <category>Microsoft</category>
    
    <comments>http://www.ntpro.nl/blog/archives/1424-Building-the-SDK-.NET-Samples-Using-Visual-Studio-2008.html#comments</comments>
    <wfw:comment>http://www.ntpro.nl/blog/wfwcomment.php?cid=1424</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.ntpro.nl/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1424</wfw:commentRss>
    

    <author>nospam@example.com (Eric Sloof)</author>
    <content:encoded>
    &lt;p&gt;&lt;a href=&quot;http://www.flickriver.com/photos/ntpronl/sets/72157623245907101/&quot;&gt;&lt;img title=&quot;ntpro.nl - Flickriver&quot; border=&quot;0&quot; hspace=&quot;0&quot; alt=&quot;ntpro.nl - Flickriver&quot; align=&quot;left&quot; src=&quot;http://www.flickriver.com/badge/user/set-72157623245907101/recent/noshuffle/medium-vert/ffffff/333333/25482385@N06.jpg&quot; /&gt;&lt;/a&gt;One of the first things I did after I signed-up for the Microsoft Developer Network (&lt;a href=&quot;http://msdn.microsoft.com/&quot;&gt;MSDN&lt;/a&gt;) was downloading Visual Studio 2008. I’ve installed Visual Studio 2008 in a newly created Windows 2008 virtual machine and copied the &lt;a href=&quot;http://communities.vmware.com/community/developer/forums/managementapi&quot;&gt;vSphere Web Service SDK&lt;/a&gt; to the root of this VM.&lt;/p&gt;&lt;p&gt;Before you can start with building the Samples (C:\Web Service SDK\SDK\samples\DotNet) you have to generate the stubs, &lt;a href=&quot;http://xtravirtpaul.wordpress.com/&quot;&gt;Paul Davey&lt;/a&gt; over at &lt;a href=&quot;http://xtravirt.com/&quot;&gt;Xtravirt&lt;/a&gt; has created &lt;a href=&quot;http://communities.vmware.com/thread/202424&quot;&gt;a real good work around for Visual Studio 2008&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;• Open the visual studio command prompt. &lt;br /&gt;• Enter the following: set VSINSTALLDIR=&amp;quot;C:\All My Apps\Microsoft Visual Studio 9&amp;quot;&lt;br /&gt;• Copy the two WSDL files that you want to use (either 2.5 or 2.0) to the \SDK\samples\DotNet folder&lt;br /&gt;• In the visual studio command prompt, change directory to the \SDK\samples\DotNet folder&lt;br /&gt;• Enter the following command: genvimstubs.cmd .\ &lt;/p&gt;&lt;p&gt;If you don’t want to hassle with building your own (VimService2005.dll) and (VimService2005.XmlSerializers.dll) or you’re a bit lazy, there’s an alternative. You can install Xtravirt’s RDP plug-in and copy the two dll files from the program files directory (C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Plugins\XtravirtRDP) to the Samples DotNet directory (C:\Web Service SDK\SDK\samples\DotNet). Now you can start build the C# (.NET) samples using Microsoft Visual Studio 2008. &lt;br /&gt;&lt;br /&gt;• Start Visual Studio 2008&lt;br /&gt;• Go to the menu option File – Open – Project/Solution &lt;br /&gt;• Navigate to the C:\Web Service SDK\SDK\samples\DotNet\cs\ Samples2005.sln file.&lt;br /&gt;&lt;br /&gt;You’re now about to start the Visual Studio Conversion Wizard because the Samples2005.sln was created in a previous version of Visual Studio. It must be converted to the format used by Visual Studio 2008. Click &amp;lt;Next&amp;gt; to proceed.&lt;br /&gt;&lt;br /&gt;After the conversion go to the menu option Project/ Add Reference, click the Browse tab and locate the (VimService2005.dll) and (VimService2005.XmlSerializers.dll) files.&lt;br /&gt;Check out the label of the namespace, if namespace name is not &#039;Vim25Api&#039; you have to do a quick Find and Replace from the edit menu. For instance, replace “Vim25Api” with “VimApi”.&lt;br /&gt;Go to your Solution Explorer and locate the SimpleClient2005, this is a simple standalone client whose purpose is to demonstrate the process for Logging into the Webservice, and get Container contents starting at the root Folder available in the ServiceInstanceContent. Right click it and choose for the Build option. After the build is complete open a command prompt and navigate to the newly build executable.  Execute te following command: &lt;/p&gt;&lt;p&gt;C:\Web Service SDK\SDK\samples\DotNet\cs\SimpleClient\bin\Debug&amp;gt;SimpleClient.exe &amp;quot;&lt;a href=&quot;https://192.168.178.250/sdk&quot;&gt;https://192.168.178.250/sdk&lt;/a&gt;&amp;quot; &amp;quot;administrator&amp;quot; &amp;quot;vmware&amp;quot;&lt;br /&gt;&lt;br /&gt;A list with all your virtual machine will scroll over the screen. I’ve created some screen dumps of te whole process, have fun and don’t forget to sign up &lt;a href=&quot;http://communities.vmware.com/community/vmtn/vsphere/automationtools/scriptomania&quot;&gt;VMware&#039;s Script-O-Mania contest&lt;/a&gt;.&lt;/p&gt; 
    </content:encoded>

    <pubDate>Sun, 07 Feb 2010 14:45:00 +0100</pubDate>
    <guid isPermaLink="false">http://www.ntpro.nl/blog/archives/1424-guid.html</guid>
    
</item>
<item>
    <title>How to migrate the vCenter database to Microsoft SQL Server 2008</title>
    <link>http://www.ntpro.nl/blog/archives/1423-How-to-migrate-the-vCenter-database-to-Microsoft-SQL-Server-2008.html</link>
            <category>Microsoft</category>
    
    <comments>http://www.ntpro.nl/blog/archives/1423-How-to-migrate-the-vCenter-database-to-Microsoft-SQL-Server-2008.html#comments</comments>
    <wfw:comment>http://www.ntpro.nl/blog/wfwcomment.php?cid=1423</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.ntpro.nl/blog/rss.php?version=2.0&amp;type=comments&amp;cid=1423</wfw:commentRss>
    

    <author>nospam@example.com (Eric Sloof)</author>
    <content:encoded>
    If you want to relocate your vCenter database from a local express SQL server to a central Microsoft SQL Server 2008, you can use the SQL Server Import and Export Wizard to copy and transform data between supported data sources and destinations.&lt;br /&gt;&lt;br /&gt;The purpose of the SQL Server Import and Export Wizard is to copy data from a source to a destination. The wizard can also create a destination database and destination tables for you. However, if you have to copy multiple databases or tables, or other kinds of database objects, you should use the Copy Database Wizard instead. &lt;br /&gt;&lt;br /&gt;I’ve created a little Jing movie which demos the migration from a local SQL express database to a central Microsoft SQL Server 2008.  &lt;br /&gt;&lt;a href=&quot;http://www.ntpro.nl/blog/archives/1423-How-to-migrate-the-vCenter-database-to-Microsoft-SQL-Server-2008.html#extended&quot;&gt;Continue reading &quot;How to migrate the vCenter database to Microsoft SQL Server 2008&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 06 Feb 2010 18:22:23 +0100</pubDate>
    <guid isPermaLink="false">http://www.ntpro.nl/blog/archives/1423-guid.html</guid>
    
</item>

</channel>
</rss>
