tag:blogger.com,1999:blog-89418486536971732692024-02-07T06:19:41.070+01:00Tim's lessons learnedTimhttp://www.blogger.com/profile/11749762674648385292noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-8941848653697173269.post-63306680181065927372011-12-27T16:16:00.006+01:002011-12-27T16:49:20.565+01:00How to get Facebook notifications on your Android phone.People with an Android phone have no luck with the <a href="https://market.android.com/details?id=com.facebook.katana">Facebook app</a>. iPhone and Windows Phone 7 users have more functionality and most of all they have <span style="font-weight:bold;">push notifications</span> for the Facebook app! The Android Facebook app only supports notifications for messages (conversations), events and friendship requests it does not (yet?) support notifications for wall posts, likes, comments etc... Even though there have been numerous of versions released but none was really satisfactory. <br />Not having a push notification system is a real drawback for me so I went looking for a solution.<br />And I found a solution on <a href="http://www.androidcentral.com/want-push-notifications-facebook-grab-blackberry">Android Central</a>. Unfortunately you will need a BlackBerry device to do this trick. At least that is what the article tells you.<br />I've found out that this trick also works if you install a BlackBerry simulator! So here's what you have to do to fix for once and for all Facebook notifications for your Android device:<br /><br />1) Download a <a href="http://us.blackberry.com/developers/resources/simulators.jsp">BlackBerry emulator</a><br />I had luck with following emulator:<br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS0xCJ7nIs3JdWx8O9mgJ-mXrp1AH6kNPTHlbRrvot0MuzLZmLRnSM9tb8MS-vJED7axy7SGjaFB8VtHd2Oc_Ch44GRIQ4TaP96IzXkEX7VUQdUeM6OtlrM-Oqi65rVYOZpTZchH3HkKA/s1600/bb_download.jpg"><img style="margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 170px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS0xCJ7nIs3JdWx8O9mgJ-mXrp1AH6kNPTHlbRrvot0MuzLZmLRnSM9tb8MS-vJED7axy7SGjaFB8VtHd2Oc_Ch44GRIQ4TaP96IzXkEX7VUQdUeM6OtlrM-Oqi65rVYOZpTZchH3HkKA/s320/bb_download.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5690831604604151330" /></a><br />2) Install the emulator and start it<br />3) Find and start the Facebook application on the BlackBerry emulator (use the spyglass and type 'Facebook')<br />4) Sign in with your Facebook account (which you also use on your Android device)<br />5) When the setup-wizard screen shows just click next without selecting anything<br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL8ZCSwsr7x8RRINJVhb_Se25-Gvqd1GRNpEqg3WqTjz-MLU7r06jR_qLrG6ojZMMdLFSnLeDnm8C8W3NMNIgXoL-wGrffHEMTwHqWMlSbYUZ4K8N2-MgfvA5z-1UmB4836dlR_ZB9f9g/s1600/bb_1.jpg"><img style="margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 197px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL8ZCSwsr7x8RRINJVhb_Se25-Gvqd1GRNpEqg3WqTjz-MLU7r06jR_qLrG6ojZMMdLFSnLeDnm8C8W3NMNIgXoL-wGrffHEMTwHqWMlSbYUZ4K8N2-MgfvA5z-1UmB4836dlR_ZB9f9g/s320/bb_1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5690833727677323874" /></a><br />6) When signed in click in the upper left corner on the Facebook logo, a menu will appear. Choose at the bottom <span style="font-weight:bold;">Options</span><br />7) Scroll (or pull down) until you see 'Facebook notifications' and just turn on Facebook notifications.<br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEOpgihfXpeP4M26855yPL-9dPGWYRL6_BZViPTqlCjYshfdpagXHUt98IQbgNhJgZgg_LiNXOGKe6PgLpwpl6Jir1IHx1c7Eh4S0vt6rJuFSt0e28cvDJtUluB39AFtAcggQheMudQ5w/s1600/bb_2.jpg"><img style="margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 197px; height: 320px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEOpgihfXpeP4M26855yPL-9dPGWYRL6_BZViPTqlCjYshfdpagXHUt98IQbgNhJgZgg_LiNXOGKe6PgLpwpl6Jir1IHx1c7Eh4S0vt6rJuFSt0e28cvDJtUluB39AFtAcggQheMudQ5w/s320/bb_2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5690834546007841730" /></a><br /><br />That's it! Now you can enjoy push notifications on your Android phone :) The only thing to do is to enable notifications in the Android Facebook app. The refresh interval is not important and can even be set to never, the changes above will push the notifications to your phone!<br /><br />Oh and you can safely log out the Facebook application on the BlackBerry emulator and you may even uninstall the BlackBerry emulator.Timhttp://www.blogger.com/profile/11749762674648385292noreply@blogger.com4tag:blogger.com,1999:blog-8941848653697173269.post-1246891520203024652009-10-23T11:02:00.003+02:002010-01-03T19:58:25.267+01:00msiexec != installutilSome months ago I've developed a custom install action which allows installation of BizTalk applications through an msi installation. To do this I derived a class from the <strong>Installer</strong> class.<br />When you do this you have the ability to log some actions by the use of:<br /><br /><em>base.Context.LogMessage("Installation started.");</em><br /><br />At least, that was what I thought... When I supplied the neccesary parameters to enable logging to the msi (xxx.msi /l* log.txt) I got a nice log.txt with a lot of logging...but the logging I supplied was nowhere to see in the file! Strange, so I went to MSDN (http://msdn.microsoft.com/en-us/library/system.configuration.install.installcontext.logmessage.aspx) to lookup the use of this particular method. Didn't help me a lot to be honest.<br /><br />So I fired up Reflector to see what this method does.<br /><br /><em> public void LogMessage(string message)<br /> {<br /> this.logFilePath = this.Parameters["logfile"];<br /> if ((this.logFilePath != null) && !"".Equals(this.logFilePath))<br /> {<br /> StreamWriter writer = null;<br /> try<br /> {<br /> writer = new StreamWriter(this.logFilePath, true, Encoding.UTF8);<br /> writer.WriteLine(message);<br /> }<br /> finally<br /> {<br /> if (writer != null)<br /> {<br /> writer.Close();<br /> }<br /> }<br /> }<br /> if (this.IsParameterTrue("LogToConsole") || (this.Parameters["logtoconsole"] == null))<br /> {<br /> Console.WriteLine(message);<br /> }<br /> }</em><br /><br />As you can see the method expects some parameters to be set. Especially the 'logtoconsole' parameter. So when I then added the custom action to a Visual Studio Setup project I did not have my customized logging.<br /><br />I have not got it to work with my custom logging. Anyone has an idea of how to log your log entries from your custom action in the msi.log file? Now I do not have custom action logging in the log file, which is not good. Strange that Microsoft has no article about this problem. I hope they will fix this some time...Timhttp://www.blogger.com/profile/11749762674648385292noreply@blogger.com2tag:blogger.com,1999:blog-8941848653697173269.post-2090902335551397782009-08-05T08:49:00.002+02:002009-08-05T08:51:13.952+02:00A new beginningTomorrow (6th of august) Windows 7 will be available to MSDN subscribers, which I am. Hooray! I'm already running the RC and I have to say it is great. I'm going to work with the RC until it expires. But probably on my home pc I will change the OS from Vista to Seven!Timhttp://www.blogger.com/profile/11749762674648385292noreply@blogger.com0tag:blogger.com,1999:blog-8941848653697173269.post-54117642719802792402009-08-04T19:54:00.002+02:002009-08-05T08:52:08.219+02:00Strong name validation failed<p>Today I faced a problem which took me way too long to solve. I had a project which I wanted to unit test with Visual Studio 2008 and MS Test. As a good developer I sign my assemblies with a snk file.</p><p>I created a test project and the necessary unit tests. When I ran the unit test in debug mode the passed (well…the one that were implemented). But when I ran the test without debugging they all failed! Because it was not possible for me to track the thrown exception during a normal test run (due to a WCF service which thrown a totally different exception) I had to add some logging in between to trap the exception in a .txt file.</p><p>The exception thrown was:</p><p><em>System.IO.FileLoadException: Could not load file or assembly ‘xxxxxx’ or one of its dependencies. Strong name validation failed. (Exception from HRESULT: 0x8013141A)</em></p><p><em>File name: ‘xxxxxx’ ---> System.Security.SecurityException: Strong name validation failed. (Exception from HRESULT: 0x8013141A)</em></p><p>Weird…I did sign the assembly. And yes when I looked at the project properties the assembly was indeed signed.</p><p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSCiQ9RmDOAxChAALj_nGzAQXSEu7X3H-l7EXdT3A2Mtkx_iGGgWnHipXOXstsUu2Y2uckpL53B1cP7ThksOno6Be7s6a0C8Wh2AMVrQ8jQ3h2TUuJg_H8ITmqXtg-H89Ybdox0ZOmTQA/s1600-h/image[8].png"><img title="image" style="BORDER-TOP-WIDTH: 0px; DISPLAY: inline; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height="164" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqQVe4jvs9BoRVPQiNY4bg5khXzxu-hZgbkO-RJdMppNMI1NQ6KBFhhpUrD9vfyXvXqkMXxaWiiZ8WY3yb5W7xWQ1o72yv0FddgkHG4TbUULdIehxCrcugFpi7kBtup6KQ08a5P4Mym10/?imgmax=800" width="424" border="0" /></a></p><p>When I tried to add the assembly of the bin/debug folder of the project to the GAC it succeeded. So it really was signed, else no GAC! For each test run Visual Studio creates a directory TestResults\timg_TIMG01 2009-08-04 19_41_49 (or something similar)</p><p>When I tried to add the wretched assembly from the Out directory of the test directory to the GAC I got the folowing error.</p><p><em>Failure adding assembly to the cache: Strong name signature could not be verified. Was the assembly built delay-signed?</em></p><p>No it is not! After that I used the following sn command:</p><p>sn –v MyProject.dll</p><p><em>MyProject.dll is a delay-signed or test-signed assembly</em></p><p>How come? I really did sign the assembly! Few frustration later I called a colleague of me who already did much more with MS Test then me. He told me that I had to see if I had enabled code coverage for the assembly. Indeed I had turned on code coverage for my assembly. When I opened the windows I already saw what was going wrong.</p><p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEcxjDWBmOKcrNOdG0HaG3NKDwGT4RwkGiHOgsu-dLX6BrgHg5whmxCLMFfh4X_xEF6DY06j_vwvKiY4Ib6E1BcE1Oylc0cBoY1yIP38haIFVYA8G4pi5v2AI6hfFQA85EqLtaye6Act8/s1600-h/image[12].png"><img title="image" style="BORDER-TOP-WIDTH: 0px; DISPLAY: inline; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height="86" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjEKnRXWB8QfJw2ZH6NML4df8kLigrHJ-1kW49eH2WV9My49u2RRUji2IvHO13LC-sfBfIKgKK3di-dlEVPUxH8ux2UG44qujlUbD6nvz2N-w6lXbsLn3sjOZHa9hjwuXo4Qu83PwfX8Xc/?imgmax=800" width="421" border="0" /></a> </p><p>I had to define my snk file also here or I could turn of code coverage. Took me way too long to solve this problem but again a lesson learned!</p>Timhttp://www.blogger.com/profile/11749762674648385292noreply@blogger.com7tag:blogger.com,1999:blog-8941848653697173269.post-21144975541646640152009-07-21T13:30:00.002+02:002009-08-05T21:50:59.081+02:00BizTalk 2006 EventID: 5410 (out-of-memory)<p>Recently I was with a customer who’s BizTalk server kept crashing immediately after starting the BizTalk server service. A quick look in the eventviewer showed the following error:</p><p><em>--- An error occurred that requires the BizTalk service to terminate. The most common causes are the following: 1) An unexpected out of memory error. OR 2) An inability to connect or a loss of connectivity to one of the BizTalk databases. The service will shutdown and auto-restart in 1 minute. If the problematic database remains unavailable, this cycle will repeat. Error message: Exception has been thrown by the target of an invocation. Error source: mscorlib …………….----</em></p><p>The first thing I did was shutting down all BizTalk applications that were running on the server. After I did that I restarted the BizTalk server again. No success…</p><p>Then I remembered that a fellow team member of me changed the custom config that was referenced by btsntsvc.exe.config. I opened the custom config file in <a href="http://notepad-plus.sourceforge.net/uk/site.htm">Notepad++</a> and with the <a href="https://sourceforge.net/project/showfiles.php?group_id=189927&package_id=264094">XML tools plugin</a> I checked the validity of the config file. The config file was invalid XML so it was not possible for the BizTalk service to load the config into it’s appdomain.</p><p>Lesson learned: always check the validity of you config files!</p>Timhttp://www.blogger.com/profile/11749762674648385292noreply@blogger.com2tag:blogger.com,1999:blog-8941848653697173269.post-40054030390861915592009-06-08T15:48:00.005+02:002009-06-08T16:04:24.879+02:00Bing with suggestionsI have to admit the new Microsoft search <a href="http://www.bing.com/">Bing</a> is just great! I love the search suggestions and web slices it shows. Also it's really nice to see video results without leaving the Bing search site! After a week of use I can say Bing will replace (for me) Google. IF it get's localized properly, now there are a few issues but most localized versions are still in beta stage so it's admitted ;-)<br /><br />You can download the IE8 search provider here: <a href="http://www.ieaddons.com/en/details/searchhelpers/Bing_Search/">http://www.ieaddons.com/en/details/searchhelpers/Bing_Search/</a><br /><br />But beware! If you have setup IE8 to use another language then English (Tools-Internet Options-Languages), search suggestions and other neat Bing stuff will not work. You have to change this manually.<br /><br /><br /><ol><li>Open regedit</li><li>Browse to the following key: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes</li><li>In the subkeys of the above key search for a key where the URL string value is equal to <a href="http://www.bing.com/"><em>www.bing.com</em></a></li><li>Open up the SuggestionsURL string value and replace <em>{language}</em> with <em>en-us </em>(it will now look like: http://api.bing.com/qsml.aspx?query={searchTerms}&market=<strong>en-us</strong>&form=IE8SSC&maxwidth={ie:maxWidth}&rowheight={ie:rowHeight}§ionHeight={ie:sectionHeight})</li><li>Close regedit and fire up IE8 and you'll have search suggestions!</li></ol><p>Have fun with it, it's really awesome!</p>Timhttp://www.blogger.com/profile/11749762674648385292noreply@blogger.com0tag:blogger.com,1999:blog-8941848653697173269.post-77976455188734284182009-06-03T10:30:00.004+02:002009-06-03T10:40:24.486+02:00Windows 7 approaching<a href="http://www.mobilewhack.com/wp-content/images/2009/02/windows7.jpg"><img style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 109px; CURSOR: hand; HEIGHT: 101px" alt="" src="http://www.mobilewhack.com/wp-content/images/2009/02/windows7.jpg" border="0" /></a><br /><div>Microsoft will deliver Windows 7 to personal computers by the 22nd of october! This is great news! I love this OS so much and want to upgrade my desktop at home with the same great OS that runs on my laptop. With my MSDN license I'll probably will have this new OS a bit earlier. (I hope so ;-))</div><br /><div></div><br /><div></div>Timhttp://www.blogger.com/profile/11749762674648385292noreply@blogger.com0tag:blogger.com,1999:blog-8941848653697173269.post-88359402055565462322009-06-02T22:34:00.002+02:002009-08-15T13:19:44.082+02:00RC Mayhem! (Part 1)<p>Last weekend we had a prolonged weekend in Belgium due to a <a href="http://en.wikipedia.org/wiki/Whit_Monday">catholic holiday</a>. As I am passionate about my <a href="http://www.infosupport.com/infosupportnv">job</a> (as most of you will be) I used my spare time to mess around with some IT related stuff.</p><p>This time it was time to take a look at the following items:</p><ul><li><a href="http://www.microsoft.com/Windows/windows-7/download.aspx">Windows 7 RC</a> </li><li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=a4e21e2e-e992-4aec-9ed4-086de21632a2&displaylang=en">Windows Server 2008 R2 RC</a> </li><li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=a4e21e2e-e992-4aec-9ed4-086de21632a2&displaylang=en">Visual Studio 2010 Team System Beta</a> </li></ul><p>Great! I have 3 days time to get this all working on my <strong>Dell Latitude D830</strong> laptop from work! No biggy!</p><p>Specifications of my machine:</p><ul><li>Intel Core 2 Duo T7800 @ 2,6GHz </li><li>4GB RAM </li><li>Nvidia Quadro NVS 140M 256MB RAM </li><li>DVD Writer </li><li>…More useful techno sweetness. </li></ul><h2>Windows 7 RC</h2><p>After downloading the RC with my MSDN account (which took way too long with my Belgian ISP Scarlet (3,3MBIT / Limited)), I burned the ISO on a DVD+RW from Memorex with Nero Burning Rom. First time <a href="http://failblog.org/">FAIL</a>! The DVD didn’t boot in my D830. I first thought the burn was corrupted, so I erased the DVD and burned it once again. Second fail! Einstein says “if it doesn’t work the second time try the same a third time and stupidity will prove it will never work!” As I am not stupid I tried a third time with a different approach.</p><p>Check the MSDN provided MD5 hash of the ISO image. Could be the image was corrupted by download! So I searched for an MD5 checksum program and found one on Bart de Smet’s <a href="http://bartdesmet.net/blogs/bart/archive/2006/06/23/4106.aspx">blog</a>. Could write it myself, but hey why to reinvent the wheel?! After all the MD5 hash matched the one from MSDN. Took a DVD+R from <a href="http://www.bigdennis.com/dvdr-rw-16x-c-3_12_76.html?page=4&language=nl">Verbatim</a> burned it again…Success! Never had problems with good ol’ Verbatim. :-)</p><p>I booted the freshly burned Windows 7 RC DVD (x64) and formatted my Windows Vista partition and installed this piece of software. Installs pretty fast on my D830 (15mins)! It detects every piece of hardware in my laptop automatic! Connecting to my home Wireless network was a breeze! Windows 7 downloaded the newest drivers for the Nvidia graphics card and that’s that! No browsing on the internet for third party drivers or other custom made drivers! Out of the box experience at it’s best! That were a lot of exclamation marks, but I was amazed! Oops sorry last one :-) </p><h4></h4><h4>Visual Studio 2008 + SQL Server 2008</h4><p>Those 2 development tools are the defacto development tools in my branch. So I first installed SQL Server 2008 development edition. I was getting a few software problem dialogs that I had to update to SP1 of SQL Server 2008. No problem, I will do that after everything is OK! I Installed a default instance of SQL Server 2008 and watched it work flawless with Windows 7. The SP1 dialogs were gone so I didn’t thought about it any further.</p><p>I put on my working boots and installed Visual Studio 2008 Team Developer. Only needed C# installation (no Crystal Reports for me)… After grabbing a cup of coffee (or two) the installation completed successfully. Sweet, let’s try it. First thing I mentioned, I missed the C# icons in the splashscreen. Disaster strikes! I got the C# project tree item but it missed the project items. No C#? I do not like that! Reinstalled the whole bunch again with the same settings. Failed! …Einstein is a genius! I uninstalled both Visual Studio 2008 and SQL Server 2008. Then I first installed Visual Studio 2008. Ha! I have C# projects. Installing SQL Server 2008…doesn’t work. It needs SP1 of VS2008. Probably this was the problem before. I had to install SP1 for SQL Server 2008 BEFORE installing VS 2008. Now I have the same problem but vice versa…</p><p>Lesson learned: <strong>If you have to install a SP for a certain program do it immediately after installation!! Windows is smart…</strong> </p><p>Now it runs like a train and I love it!</p><h2>Windows Server 2008 R2 RC</h2><p>Sunday…another day at the terrace. Great weather in Belgium, so I took my laptop outside on the garden terrace.</p><p>Lesson learned from the above DVD+RW debacle. I burned the ISO straight to a DVD+R from Verbatim.</p><p>My idea was to have a dual boot with Windows 7. So I leveraged a nice cool feature which was already present in Windows Vista. Native VHD boot! </p><p>First I created a fixed size (20GB) VHD in Windows 7 using the Disk Management tool.</p><p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoSDyz6_wEvyOnDmI0r8JXwlmuPgREtMtN7XNHIhfNMoDs6j9p89GZhSXhRP9dEDe48D-_CStGXqvlW-sQfWHs9wuUsrpm12cVkWpsfURs_AhY2VI7nIn1QKAHMm1NX_3DfpzjhdqBpmk/s1600-h/image%5B2%5D.png"><img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title="image" border="0" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR7NAmxfdyQQSlswyANvNN7e5Fr1-IjcUBc2EP0fiV-unIW7bTJ49pf2iIHqw3qALUbNx3nRmEk3N3YAvHhEP-7EFoKJH2W4B7ssuuwRI3nHHl-GsTmBnDRn-KKfnMF-zg83aho10qE-I/?imgmax=800" width="232" height="185" /></a> </p><p>Simple as right click on Disk Management and select <strong>Create VHD</strong>.</p><p><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhC06uMP3ei6reaEkJyH9tFmLIoOcF0UyQ0jl_Szdw-hTvLWysgDwEdKnKTBejVo4km7tJvhwibVZbekm9taTz_jAAsuZSOrfcLu12r9bhzqG-p4kgGsg0HZAtXA0hs16so1kkz2MWITVg/s1600-h/image%5B9%5D.png"><img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title="image" border="0" alt="image" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwLz8w3DxV4KvyUdsP15TbkfKxxam0P9c4zIQEE1DLaE0gELtuYAczMD0iLY7z3Oz7uZl4rFQ7g64B7bRz5mDM2EobhEOYHtqh56sh7ytHXOXL925UV4FEYgJg5-kCQKkC9JAdaoRhJJM/?imgmax=800" width="244" height="233" /></a> </p><p>Specify a location for the VHD and a size. I took 20GB fixed. Because I don’t like it when I run out of space on my main OS due to a dynamic expanding disk.</p><p>Next step: <strong>Install the Windows Server 2008 R2 RC!</strong></p><p>I booted my laptop with the W2K8R2 DVD in the drive and at the setup menu I did <strong>SHIFT + F10</strong>. This key combination shows a simple command prompt. In this command prompt you can attach the previously made VHD.</p><p>Do the following:</p><ol><li>diskpart</li><li>select vdisk file=d:\win2k8.vhd <your .vhd file location goes there></li><li>attach vdisk</li><li>Exit from diskpart and the command prompt</li></ol><p>That’s it! Now go further with the installation of Windows Server 2008 R2. When selecting partition on which to install Windows Server 2008 R2, select the attached VHD partition. You’ll see warnings saying “… cannot boot from this partition”. It is safe to ignore these warnings and install Windows Server 2008 R2 on this partition.</p><p>Have fun playing with these new candies!</p><p>In Part 2 I will tell you about the difficulties I had during driver configuration in Windows Server 2008 R2. Stay tuned!</p>Timhttp://www.blogger.com/profile/11749762674648385292noreply@blogger.com1tag:blogger.com,1999:blog-8941848653697173269.post-65519362036342953682009-06-02T20:13:00.001+02:002009-06-02T20:13:42.609+02:00First!<p><strong>First</strong>!  This is probably the lamest reply you ever can have.  But no second without a <strong>first</strong>.</p> <p>This is my <strong>first</strong> weblog post and not my last.  I use Windows Live Writer 2009 to update my weblog and I must say I already like it!</p> <p>I hope you’ll like my weblog and you’ll find some meaningful and handy stuff on it!</p> <h4>Alright let’s kick-off this weblog with a <em>second</em> post!</h4> Timhttp://www.blogger.com/profile/11749762674648385292noreply@blogger.com0