<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Active Directory Blog</title>
	<atom:link href="http://blog.webactivedirectory.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.webactivedirectory.com</link>
	<description>Sharing Active Directory best practices and programming tips</description>
	<lastBuildDate>Fri, 06 Apr 2012 15:00:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>System.Security.SecurityException Writing to the Application Event Log on Windows Server 2008 with ASP.NET 4.0</title>
		<link>http://blog.webactivedirectory.com/system-security-securityexception-writing-to-the-application-event-log-on-windows-server-2008-with-asp-net-4-0/</link>
		<comments>http://blog.webactivedirectory.com/system-security-securityexception-writing-to-the-application-event-log-on-windows-server-2008-with-asp-net-4-0/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 15:00:06 +0000</pubDate>
		<dc:creator>Jason Cox</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[InstallShield]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[iisadmpwd]]></category>
		<category><![CDATA[iisadmpwd replacement tool]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[security event log]]></category>
		<category><![CDATA[server 2008]]></category>
		<category><![CDATA[server 2008 r2]]></category>
		<category><![CDATA[system.security.securityexception]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[windows 2008 r2]]></category>

		<guid isPermaLink="false">http://blog.webactivedirectory.com/?p=2110</guid>
		<description><![CDATA[I worked with a customer recently who ran into an error with one of our products on Windows Server 2008. We tracked the source of the error to a permissions issue with the Security event log key in the Windows Registry. Interesting problem since we use the exact same code to write to the Application [...]]]></description>
			<content:encoded><![CDATA[<p>I worked with a customer recently who ran into an error with one of our products on Windows Server 2008. We tracked the source of the error to a permissions issue with the Security event log key in the Windows Registry. Interesting problem since we use the exact same code to write to the Application event log in our other solutions. However, it appears this issue is related to the .NET 4.0 framework and wasn&#8217;t an issue in .NET 2.0/3.0/3.5.</p>
<p>The fix is very straightforward: Allow Read permissions in the Windows registry to the identity running the application. In our case, we&#8217;re dealing with a web application so we had to add the application pool identity (NETWORK SERVICE) with Read permissions to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security key. This allowed the proper access and everything fell into place.</p>
<h2>References</h2>
<ul>
<li>System.Security.SecurityException when writing to Event Log: <a href="http://stackoverflow.com/questions/1274018/system-security-securityexception-when-writing-to-event-log">http://stackoverflow.com/questions/1274018/system-security-securityexception-when-writing-to-event-log</a></li>
</ul>

				<div class="mr_social_sharing_wrapper">
				<!-- Social Sharing Toolkit v2.0.7 | http://www.active-bits.nl/support/social-sharing-toolkit/ --></div>]]></content:encoded>
			<wfw:commentRss>http://blog.webactivedirectory.com/system-security-securityexception-writing-to-the-application-event-log-on-windows-server-2008-with-asp-net-4-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redirect HTTP to HTTPS on Microsoft IIS 7 and 7.5</title>
		<link>http://blog.webactivedirectory.com/redirect-http-to-https-on-microsoft-iis-7-and-7-5/</link>
		<comments>http://blog.webactivedirectory.com/redirect-http-to-https-on-microsoft-iis-7-and-7-5/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 15:00:45 +0000</pubDate>
		<dc:creator>Jason Cox</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[iis 7]]></category>
		<category><![CDATA[iis 7.5]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://blog.webactivedirectory.com/?p=2066</guid>
		<description><![CDATA[We are often asked how to redirect non-secure HTTP requests to secure requests on HTTPS using SSL. You can redirect HTTP requests to secure HTTPS request over SSL using the URL Rewrite module in IIS 7 and 7.5. At the heart of the matter, the URL Rewrite module allows users to be elegantly redirected from a URL like http://somedomain/ [...]]]></description>
			<content:encoded><![CDATA[<p>We are often asked how to redirect non-secure HTTP requests to secure requests on HTTPS using SSL. You can redirect HTTP requests to secure HTTPS request over SSL using the URL Rewrite module in IIS 7 and 7.5. At the heart of the matter, the URL Rewrite module allows users to be elegantly redirected from a URL like <a href="http://somedomain/" rel="nofollow">http://somedomain/</a> to <a href="https://somedomain/" rel="nofollow">https://somedomain/</a>.</p>
<p>The following articles include great information to configure the URL Rewrite module for redirecting HTTP to HTTPS. You have both GUI and configuration file options to set this up depending on your preference. <a title="Automatically Redirect HTTP requests to HTTPS on IIS 7 using URL Rewrite 2.0" href="http://www.jppinto.com/2010/03/automatically-redirect-http-requests-to-https-on-iis7-using-url-rewrite-2-0/" target="_blank">This article probably has the best synopsis</a> for both approaches and make sure you take a look at <a title="10 URL Rewriting Tips and Tricks" href="http://ruslany.net/2009/04/10-url-rewriting-tips-and-tricks/" target="_blank">10 great URL Rewriting tips </a> for other great uses of the URL Rewrite module.</p>
<h3>References</h3>
<ul>
<li>Automatically Redirect HTTP requests to HTTPS on IIS 7 using URL Rewrite 2.0: <a title="Automatically Redirect HTTP requests to HTTPS on IIS 7 using URL Rewrite 2.0" href="http://www.jppinto.com/2010/03/automatically-redirect-http-requests-to-https-on-iis7-using-url-rewrite-2-0/" target="_blank">http://www.jppinto.com/2010/03/automatically-redirect-http-requests-to-https-on-iis7-using-url-rewrite-2-0/</a></li>
<li>10 URL Rewriting Tips and Tricks: <a title="10 URL Rewriting Tips and Tricks" href="http://ruslany.net/2009/04/10-url-rewriting-tips-and-tricks/" target="_blank">http://ruslany.net/2009/04/10-url-rewriting-tips-and-tricks/</a></li>
<li>IIS URL Rewrite 2.0: <a title="IIS URL Rewrite 2.0" href="http://www.iis.net/download/URLRewrite" target="_blank">
<p>http://www.iis.net/download/URLRewrite</a></li>
<li>IIS7 Redirect HTTP to HTTPS: <a title="IIS7 Redirect HTTP to HTTPS" href="http://www.sslshopper.com/iis7-redirect-http-to-https.html" target="_blank">http://www.sslshopper.com/iis7-redirect-http-to-https.html</a></li>
<li>Redirect HTTP to HTTPS with IIS 7: <a title="Redirect HTTP to HTTPS with IIS 7" href="http://www.iis-aid.com/articles/how_to_guides/redirect_http_to_https_iis_7" rel="nofollow" target="_blank">http://www.iis-aid.com/articles/how_to_guides/redirect_http_to_https_iis_7</a></li>
</ul>

				<div class="mr_social_sharing_wrapper">
				<!-- Social Sharing Toolkit v2.0.7 | http://www.active-bits.nl/support/social-sharing-toolkit/ --></div>]]></content:encoded>
			<wfw:commentRss>http://blog.webactivedirectory.com/redirect-http-to-https-on-microsoft-iis-7-and-7-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Efficient Queries with LDAP Search Filters</title>
		<link>http://blog.webactivedirectory.com/efficient-queries-with-ldap-search-filters/</link>
		<comments>http://blog.webactivedirectory.com/efficient-queries-with-ldap-search-filters/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 15:00:54 +0000</pubDate>
		<dc:creator>Jason Cox</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft Active Directory]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Wisdom]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[efficient query]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[ldap query]]></category>
		<category><![CDATA[query]]></category>

		<guid isPermaLink="false">http://blog.webactivedirectory.com/?p=1823</guid>
		<description><![CDATA[Writing LDAP queries can prove quite difficult because of its odd search filter syntax and the (mostly) non-relational nature of the LDAP data store. Even once you get your query in place, performance issues can plague your query if you don&#8217;t set it up correctly. The articles below should help you create efficient LDAP queries. [...]]]></description>
			<content:encoded><![CDATA[<p>Writing LDAP queries can prove quite difficult because of its odd search filter syntax and the (mostly) non-relational nature of the LDAP data store. Even once you get your query in place, performance issues can plague your query if you don&#8217;t set it up correctly.</p>
<p>The articles below should help you create efficient LDAP queries. One key is to make sure attributes you search on often are indexed in Active Directory. You can also save a lot of cycles by sorting on the client and searching by objectCategory instead of objectClass.</p>
<ul>
<li>Creating Efficient Filters and Other Tips: <a title="Creating Efficient Filters and Other Tips" href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms808539.aspx#efficientadapps_topic01e" target="_blank">http://msdn.microsoft.com/en-us/library/windows/desktop/ms808539.aspx#efficientadapps_topic01e</a></li>
<li>Searching for Users: <a title="LDAP tips #1: Searching for Users" href="http://www.activedir.org/Articles/tabid/54/articleType/ArticleView/articleId/28/LDAP-tips-1-Searching-for-Users.aspx" target="_blank">http://www.activedir.org/Articles/tabid/54/articleType/ArticleView/articleId/28/LDAP-tips-1-Searching-for-Users.aspx</a></li>
</ul>
<h2>Nested Filter Tips</h2>
<p>Avoid deeply nested complex filters when you can. When you must use complex filters, place the most specific filters first to narrow the list of candidate entries the directory must check. For best results, use <tt>not</tt>, <tt>!</tt>, only with <tt>and</tt>, <tt>&amp;</tt>, for example <tt>(&amp;(cn=Barbara)(!(sn=Jensen)))</tt>. When you use <tt>not</tt> with <tt>or</tt> in a filter, the directory must construct a candidate list of everything except what your filter specifies.</p>
<p>-From <a href="http://blogs.oracle.com/marginNotes/entry/ldap_client_application_development">http://blogs.oracle.com/marginNotes/entry/ldap_client_application_development</a></p>

				<div class="mr_social_sharing_wrapper">
				<!-- Social Sharing Toolkit v2.0.7 | http://www.active-bits.nl/support/social-sharing-toolkit/ --></div>]]></content:encoded>
			<wfw:commentRss>http://blog.webactivedirectory.com/efficient-queries-with-ldap-search-filters/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create a Code Signing Certificate on Windows Server 2008 with OpenSSL and pvkimprt</title>
		<link>http://blog.webactivedirectory.com/create-a-code-signing-certificate-on-windows-server-2008-with-openssl-and-pvkimprt/</link>
		<comments>http://blog.webactivedirectory.com/create-a-code-signing-certificate-on-windows-server-2008-with-openssl-and-pvkimprt/#comments</comments>
		<pubDate>Thu, 29 Mar 2012 15:00:59 +0000</pubDate>
		<dc:creator>Jason Cox</dc:creator>
				<category><![CDATA[Code Signing]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[Wisdom]]></category>
		<category><![CDATA[certificate authority]]></category>
		<category><![CDATA[code signing request]]></category>
		<category><![CDATA[csr]]></category>
		<category><![CDATA[pvk.exe]]></category>
		<category><![CDATA[pvkimprt.exe]]></category>
		<category><![CDATA[server 2008]]></category>
		<category><![CDATA[server 2008 r2]]></category>

		<guid isPermaLink="false">http://blog.webactivedirectory.com/?p=1934</guid>
		<description><![CDATA[We recently renewed the code signing certificate we use to certify that our product installers are genuine and from a trusted download source. As part of this process, you generate a code signing request (CSR) along with a private key and you send the CSR to a Certificate Authority like GoDaddy.com. The CA then validates [...]]]></description>
			<content:encoded><![CDATA[<p>We recently renewed the code signing certificate we use to certify that our product installers are genuine and from a trusted download source. As part of this process, you generate a code signing request (CSR) along with a private key and you send the CSR to a Certificate Authority like GoDaddy.com. The CA then validates your organization&#8217;s identity and creates a code signing certificate for your organization.</p>
<p>Once you have the certificate from the CA, you still need to take a couple of steps to finish the process. In our case, we <a title="Generating a Certificate Signing Request for Code Signing Certificates" href="http://support.godaddy.com/help/7282/generating-a-certificate-signing-request-for-code-signing-certificates" target="_blank">used the OpenSSL tool to create our CSR and private key</a> on Server 2008 and then sent the CSR to our CA. This process went smoothly and we didn&#8217;t hit a snag until we needed to combine the certificate with the private key to create a PKCS#12 file—with a PFX extension—we can use to sign installers and .NET assemblies.</p>
<p>We used the <a title="PVK Digital Certificate Files Importe" href="http://www.microsoft.com/download/en/details.aspx?displaylang=EN&amp;id=6563" target="_blank">PVK Digital Certificate Files Importer utility</a> from Microsoft—pvkimprt.exe—to combine the certificate with the private key and produce our PFX file. However, when running the command to <a title="Install a Code Signing Certificate in Windows" href="http://support.godaddy.com/help/article/5087" target="_blank">combine the files as described here</a>, we ran into the following error.</p>
<pre>Error: 000004c0, The format of the specified password is invalid.</pre>
<p>This head scratcher caused some consternation since I hadn&#8217;t even been prompted for a password. After much searching and cursing, I <a title="Real World Code Signing for Dummies" href="http://blog.powerwf.com/post/347822685/realworld-code-signing-for-dummies" target="_blank">found the following fantastic article</a>from a fella that ran into the exact same issue a couple of years ago. The culprit that causes the pvkimprt utility to fail is the private key created by OpenSSL does not work with pvkimprt. You need to use the <a title="PVK Conversion Tools" href="http://www.drh-consultancy.demon.co.uk/pvk.html" target="_blank">PVK Utility</a> to convert the OpenSSL private key to a format that works with pvkimprt.exe. Once you download the PVK Utility, just run PVK from a command line like follows to generate a compatible private key file for pvkimprt.</p>
<pre>pvk.exe -in privateKey.key -out privateKey.pvk -strong -topvk</pre>
<p>Once you have the converted pvk file, you can run the pvkimprt utility again and it should fire up the Export Private Key wizard and allow you to complete the creation of your .pfx file.</p>
<h2>References</h2>
<ul>
<li>Killer article that puts it all together: <a href="http://blog.powerwf.com/post/347822685/realworld-code-signing-for-dummies">http://blog.powerwf.com/post/347822685/realworld-code-signing-for-dummies</a></li>
<li>Another good article describing the problem: <a href="http://www.xxeo.com/archives/2004/05/06/whipped-cream-microsoft-authenticode-pvkmprtexeerror-000004c0-and-other-delights.html">http://www.xxeo.com/archives/2004/05/06/whipped-cream-microsoft-authenticode-pvkmprtexeerror-000004c0-and-other-delights.html</a></li>
<li>PVK Utility download: <a href="http://www.drh-consultancy.demon.co.uk/pvk.html">http://www.drh-consultancy.demon.co.uk/pvk.html</a></li>
<li>Install a code signing certificate: <a href="http://support.godaddy.com/help/article/5087">http://support.godaddy.com/help/article/5087</a></li>
<li>Generate a CSR from OpenSSL: <a href="http://support.godaddy.com/help/7282/generating-a-certificate-signing-request-for-code-signing-certificates">http://support.godaddy.com/help/7282/generating-a-certificate-signing-request-for-code-signing-certificates</a></li>
<li>Request a code signing certificate: <a href="http://support.godaddy.com/help/4777?locale=en">http://support.godaddy.com/help/4777?locale=en</a></li>
</ul>

				<div class="mr_social_sharing_wrapper">
				<!-- Social Sharing Toolkit v2.0.7 | http://www.active-bits.nl/support/social-sharing-toolkit/ --></div>]]></content:encoded>
			<wfw:commentRss>http://blog.webactivedirectory.com/create-a-code-signing-certificate-on-windows-server-2008-with-openssl-and-pvkimprt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure ASP.NET with Load Balancing on a Web Farm to Avoid ViewState Errors</title>
		<link>http://blog.webactivedirectory.com/configure-asp-net-with-load-balancing-on-a-web-farm-to-avoid-viewstate-errors/</link>
		<comments>http://blog.webactivedirectory.com/configure-asp-net-with-load-balancing-on-a-web-farm-to-avoid-viewstate-errors/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 15:00:21 +0000</pubDate>
		<dc:creator>Jason Cox</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[load balance]]></category>
		<category><![CDATA[viewstate]]></category>
		<category><![CDATA[viewstate error]]></category>
		<category><![CDATA[web farm]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://blog.webactivedirectory.com/?p=1899</guid>
		<description><![CDATA[I am working with a customer who reported an issue recently with one of our applications they deployed to a hardware load balanced web farm. The error itself is quite straightforward. Exception occurred in System.Web: Invalid viewstate This obviously has something to do with the load balancing switching between servers but what&#8217;s the best way [...]]]></description>
			<content:encoded><![CDATA[<p>I am working with a customer who reported an issue recently with one of our applications they deployed to a hardware load balanced web farm. The error itself is quite straightforward.</p>
<pre>Exception occurred in System.Web: Invalid viewstate</pre>
<p>This obviously has something to do with the load balancing switching between servers but what&#8217;s the best way to handle it? The error itself is caused because ASP.NET thankfully performs a check—called a machine authentication check (MAC)—when ViewState data is posted to a server. This helps protect against scenarios where a malicious client might tamper with ViewState data and try to post harmful data to the server.</p>
<p>The MAC works great except when you have more than one server&#8230;then it causes problems because the private machine keys are different among the servers in the farm. You have two main approaches to address this.</p>
<ol>
<li>Turn off the MAC check by setting enableViewStateMac=&#8221;false&#8221; in your Web.config or pages for each web server. I don&#8217;t recommend this approach unless you have an internal non-public facing scenario.</li>
<li>Use the same machineKey attribute value in the Web.config for all servers in the farm. <a title="WEB farm - Load Balancing in Asp.net" href="http://www.c-sharpcorner.com/UploadFile/gopenath/Page107182007032219AM/Page1.aspx" target="_blank">Check out this article</a> for a great set of instructions to set the machineKey to the proper value. I highly recommend this approach for public-facing web farms.</li>
</ol>
<h3>References</h3>
<p>Check out the other great resources here for more information about load balancing an ASP.NET web application that uses ViewState.</p>
<ul>
<li><a title="Load Balancing and ASP.NET" href="http://www.hanselman.com/blog/LoadBalancingAndASPNET.aspx" target="_blank">Load Balancing and ASP.NET</a></li>
<li><a title="ASP.NET and Load balancing" href="http://www.dotnetjalps.com/2010/03/aspnet-and-load-balancing.html" target="_blank">ASP.NET and Load balancing</a></li>
<li><a title="ASP.NET load balancing and ASP.NET state server (aspnet_state)" href="http://blog.maartenballiauw.be/post/2007/11/ASPNET-load-balancing-and-ASPNET-state-server-(aspnet_state).aspx" target="_blank">ASP.NET load balancing and ASP.NET state server (aspnet_state)</a></li>
<li><a title="machineKey Element (ASP.NET Settings Schema)" href="http://msdn.microsoft.com/en-us/library/w8h3skw9.aspx" target="_blank">machineKey Element (ASP.NET Settings Schema)</a></li>
</ul>

				<div class="mr_social_sharing_wrapper">
				<!-- Social Sharing Toolkit v2.0.7 | http://www.active-bits.nl/support/social-sharing-toolkit/ --></div>]]></content:encoded>
			<wfw:commentRss>http://blog.webactivedirectory.com/configure-asp-net-with-load-balancing-on-a-web-farm-to-avoid-viewstate-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing the VMware vSphere Client to Manage vSphere Remotely</title>
		<link>http://blog.webactivedirectory.com/installing-the-vmware-vsphere-client-to-manage-vsphere-remotely/</link>
		<comments>http://blog.webactivedirectory.com/installing-the-vmware-vsphere-client-to-manage-vsphere-remotely/#comments</comments>
		<pubDate>Wed, 21 Mar 2012 15:00:05 +0000</pubDate>
		<dc:creator>Jason Cox</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[vSphere]]></category>
		<category><![CDATA[4.1]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vsphere]]></category>
		<category><![CDATA[vsphere client]]></category>

		<guid isPermaLink="false">http://blog.webactivedirectory.com/?p=1894</guid>
		<description><![CDATA[I recently upgraded a desktop computer in our environment and needed to install the VMware vSphere Client software to allow remote management of a vSphere server environment. It has been a while since I installed a vSphere Client and I forgot where to get the installation bits. I poked around on the Internet and found [...]]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded a desktop computer in our environment and needed to install the VMware vSphere Client software to allow remote management of a vSphere server environment. It has been a while since I installed a vSphere Client and I forgot where to get the installation bits. I poked around on the Internet and found a download site but it was kind of confusing. Then <a title="Download vSphere Client software" href="http://communities.vmware.com/thread/281293" target="_blank">this post had the answer</a> and I&#8217;ve highlighted it below.</p>
<p>To download the vSphere Client, point a browser to the server name or IP address of one of your vSphere hosts and you will get a page that allows you to download the vSphere Client. You will probably need to use SSL (https://) to connect.</p>
<p><a href="https://vsphere_host_ip/">https://vSphere_Host_Name or IP Address</a></p>
<p>My page looks like the one below for the 4.1 client.</p>
<div id="attachment_1895" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.webactivedirectory.com/wp-content/uploads/2012/03/vsphereclientdownloadpage.png"><img class="size-full wp-image-1895" title="vSphere 4.1 Client Download Page" src="http://blog.webactivedirectory.com/wp-content/uploads/2012/03/vsphereclientdownloadpage.png" alt="vSphere 4.1 Client Download Page" width="500" height="249" /></a><p class="wp-caption-text">vSphere 4.1 Client Download Page</p></div>

				<div class="mr_social_sharing_wrapper">
				<!-- Social Sharing Toolkit v2.0.7 | http://www.active-bits.nl/support/social-sharing-toolkit/ --></div>]]></content:encoded>
			<wfw:commentRss>http://blog.webactivedirectory.com/installing-the-vmware-vsphere-client-to-manage-vsphere-remotely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>InstallShield Error -2147219705 with .NET 4.0 and DotNetCoCreateObject() in InstallScript</title>
		<link>http://blog.webactivedirectory.com/installshield-error-2147219705-with-net-4-0-and-dotnetcocreateobject-in-installscript/</link>
		<comments>http://blog.webactivedirectory.com/installshield-error-2147219705-with-net-4-0-and-dotnetcocreateobject-in-installscript/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 15:00:12 +0000</pubDate>
		<dc:creator>Jason Cox</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[InstallShield]]></category>
		<category><![CDATA[.net 2.0]]></category>
		<category><![CDATA[.net 3.5]]></category>
		<category><![CDATA[.net 4.0]]></category>
		<category><![CDATA[asp.net 4.0]]></category>
		<category><![CDATA[error -2147219705]]></category>
		<category><![CDATA[installshield]]></category>
		<category><![CDATA[installshield 2009]]></category>

		<guid isPermaLink="false">http://blog.webactivedirectory.com/?p=1890</guid>
		<description><![CDATA[We have a product that runs on .NET 4.0 and our InstallShield installer for the product uses the DotNetCoCreateObject() method to run some installation actions in an InstallScript custom action. The DotNetCoCreateObject() method works fine in our .NET 2.0 (and 3.0/3.5 by extension) products but we kept getting a run-time exception (-2147219705) when trying the same InstallScript with our [...]]]></description>
			<content:encoded><![CDATA[<p>We have a product that runs on .NET 4.0 and our InstallShield installer for the product uses the DotNetCoCreateObject() method to run some installation actions in an InstallScript custom action. The DotNetCoCreateObject() method works fine in our .NET 2.0 (and 3.0/3.5 by extension) products but we kept getting a run-time exception (-2147219705) when trying the same InstallScript with our .NET 4.0 project.</p>
<p>I messed with this issue for a while and <a title="InstallShield, .NET DLLs and DotNetCoCreateObject()" href="http://justshipthezip.blogspot.com/2011/03/installshield-net-dlls-and.html" target="_blank">found a great post that helped break open the case</a>. We use InstallShield 2009 (yes, it&#8217;s time to upgrade to InstallShield 2012 or 2013&#8230;that will happen soon) for our installer builds. The article comments mention that &#8220;<em>DotNetCoCreateObject does not work if your dll has been built with .Net Framework 4.0 with Installshield 2010 and below.</em>&#8221; Aha! That&#8217;s exactly what we were doing. So how do we address the issue other than upgrading to a version of InstallShield after 2010?</p>
<p>We worked around the DotNetCoCreateObject() method issue in .NET 4.0 by adding a .NET 2.0 project to our solution and isolating our installer actions in that project. You also need to ensure that the assembly&#8217;s ComVisible attribute is set to true either through the AssemblyInfo.cs properties or in the project property sheet for the advanced assembly options. Then you can build your solution in Visual Studio, add the new .NET 2.0 assembly to your InstallShield project and call the .NET 2.0 assembly with the  DotNetCoCreateObject() method. This should avoid the -2147219705 error and execute your custom action properly.</p>

				<div class="mr_social_sharing_wrapper">
				<!-- Social Sharing Toolkit v2.0.7 | http://www.active-bits.nl/support/social-sharing-toolkit/ --></div>]]></content:encoded>
			<wfw:commentRss>http://blog.webactivedirectory.com/installshield-error-2147219705-with-net-4-0-and-dotnetcocreateobject-in-installscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hook up Android Ice Cream Sandwich (ICS) to Microsoft Office 365 Exchange Mail</title>
		<link>http://blog.webactivedirectory.com/hook-up-android-ice-cream-sandwich-ics-to-microsoft-office-365/</link>
		<comments>http://blog.webactivedirectory.com/hook-up-android-ice-cream-sandwich-ics-to-microsoft-office-365/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 15:00:56 +0000</pubDate>
		<dc:creator>Jason Cox</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[Ice Cream Sandwich OS]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[Wisdom]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[ice cream sandwich]]></category>
		<category><![CDATA[ics]]></category>
		<category><![CDATA[microsoft office 365]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[office 365]]></category>

		<guid isPermaLink="false">http://blog.webactivedirectory.com/?p=1882</guid>
		<description><![CDATA[I recently upgraded from a BlackBerry mobile device to an Android Ice Cream Sandwich device. I&#8217;m less than 24 hours into my experience with the Android device and I&#8217;m already wondering why I waited so long to leave RIM behind. Not only does the Android operate much faster and with a more intuitive user experience, [...]]]></description>
			<content:encoded><![CDATA[<p>I recently upgraded from a BlackBerry mobile device to an Android Ice Cream Sandwich device. I&#8217;m less than 24 hours into my experience with the Android device and I&#8217;m already wondering why I waited so long to leave RIM behind. Not only does the Android operate much faster and with a more intuitive user experience, it actually supports ActiveSync with Office 365!</p>
<p>Setting up the email account with Office 365 was a bit vexing and I want to share my experience to help streamline the process. I used this<a title="Set Up Exchange E-Mail on an Android Mobile Phone" href="http://help.outlook.com/en-us/140/dd940179.aspx?sl=1" target="_blank"> article on Microsoft&#8217;s Office 365 support site</a> to help get the proper settings in place and the most important pieces for me included the following.</p>
<ul>
<li>Use your Microsoft Office 365 email address and domain name, not your custom vanity domain. In my case, my email domain is webactivedirectory.com but I needed to use my domain of webad.onmicrosoft.com.</li>
<li>For the DomainUsername setting, use your full user name and mail domain. For example, if your email address is richcranium@webad.onmicrosoft.com, type webad.onmicrosoft.comrichcranium@webad.onmicrosoft.com.</li>
<li>Get your Exchange Server name from the Office 365 Outlook Web Access (OWA) Help &gt; About page. You can try the External POP Settings &gt; Server name value first if you want. However, if you are on a podxxxxx.outlook.com server you will need to use either m.outlook.com or, in my case, the value in the the Host name line on the About page, which is a much more complicated server name like bl2prd0654.outlook.com.</li>
</ul>
<p>Once I authenticated to the proper server with the proper credentials, the Ice Cream Sandwich OS automatically set up syncing of mail, contacts and calendar. For the first time since we switched to Office 365 in May 2011 I can actually get my contacts and calendar synced to my mobile device. Woohoo! Bye bye RIM! Good riddance!</p>

				<div class="mr_social_sharing_wrapper">
				<!-- Social Sharing Toolkit v2.0.7 | http://www.active-bits.nl/support/social-sharing-toolkit/ --></div>]]></content:encoded>
			<wfw:commentRss>http://blog.webactivedirectory.com/hook-up-android-ice-cream-sandwich-ics-to-microsoft-office-365/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET 4.5 Developer Preview Installation Error or Windows XP</title>
		<link>http://blog.webactivedirectory.com/net-4-5-developer-preview-installation-error-or-windows-xp/</link>
		<comments>http://blog.webactivedirectory.com/net-4-5-developer-preview-installation-error-or-windows-xp/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 16:00:25 +0000</pubDate>
		<dc:creator>Jason Cox</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Installer]]></category>
		<category><![CDATA[Windows Server 2008]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>
		<category><![CDATA[.net 4.5]]></category>
		<category><![CDATA[.net developer preview]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[developer preview]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[visual studio 11]]></category>

		<guid isPermaLink="false">http://blog.webactivedirectory.com/?p=1877</guid>
		<description><![CDATA[Microsoft released the beta of Visual Studio 11 last week and I wanted to take a spin around it. My development machine currently runs Windows XP SP3 and I didn&#8217;t think twice to download the .NET 4.5 Developer Preview to install as a prerequisite for Visual Studio 11. Alas, though, I ran into the following [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft released the <a title="Visual Studio 11 Beta" href="http://www.microsoft.com/visualstudio/11/en-us" target="_blank">beta of Visual Studio 11</a> last week and I wanted to take a spin around it. My development machine currently runs Windows XP SP3 and I didn&#8217;t think twice to download the .NET 4.5 Developer Preview to install as a prerequisite for Visual Studio 11. Alas, though, I ran into the following nasty dialog when trying to install .NET 4.5.</p>
<pre>The Procedure entry point FLSAlloc could not be located in the dynamic link library KERNEL32.dll.</pre>
<div id="attachment_1878" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.webactivedirectory.com/wp-content/uploads/2012/03/dotnet4_5_error.png"><img class="size-full wp-image-1878" title="Net 4.5 Developer Preview Installation Error on Windows XP" src="http://blog.webactivedirectory.com/wp-content/uploads/2012/03/dotnet4_5_error.png" alt="Net 4.5 Developer Preview Installation Error on Windows XP" width="500" height="115" /></a><p class="wp-caption-text">Net 4.5 Developer Preview Installation Error on Windows XP</p></div>
<p>Whoa there, Nelly! What&#8217;s going on? Well, simply put, .NET 4.5 <a title="Visual Studio 2011 Developer Preview won't install on Windows XP SP3" href="http://boardreader.com/thread/Visual_Studio_2011_Developer_Preview_won_s4jc__96c44b9f-fe67-4961-92b6-879bd8655b0b.html" target="_blank">will not run on Windows XP</a>, and requires at least Windows 7 or Windows Server 2008. I guess this day has been coming for several years and it&#8217;s been time for me to upgrade my development machine for some time. Maybe now I have the impetus to do it. Welcome to the twenty-teens, eh!</p>

				<div class="mr_social_sharing_wrapper">
				<!-- Social Sharing Toolkit v2.0.7 | http://www.active-bits.nl/support/social-sharing-toolkit/ --></div>]]></content:encoded>
			<wfw:commentRss>http://blog.webactivedirectory.com/net-4-5-developer-preview-installation-error-or-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>COM Unknown error (0&#215;80005000) with PrincipalContext in the System.DirectoryServices.AccountManagement .NET Namespace</title>
		<link>http://blog.webactivedirectory.com/com-unknown-error-0x80005000-with-principalcontext-in-the-system-directoryservices-accountmanagement-net-namespace/</link>
		<comments>http://blog.webactivedirectory.com/com-unknown-error-0x80005000-with-principalcontext-in-the-system-directoryservices-accountmanagement-net-namespace/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 16:00:53 +0000</pubDate>
		<dc:creator>Jason Cox</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Active Directory Updates]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Microsoft Active Directory]]></category>
		<category><![CDATA[Validation]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[ad lds]]></category>
		<category><![CDATA[directory programming]]></category>
		<category><![CDATA[principalcontext]]></category>
		<category><![CDATA[sam]]></category>
		<category><![CDATA[system.directoryservices]]></category>
		<category><![CDATA[system.directoryservices.accountmanagement]]></category>

		<guid isPermaLink="false">http://blog.webactivedirectory.com/?p=1874</guid>
		<description><![CDATA[While working on a project recently, I ran into the very undescriptive COM Unknown error (0&#215;80005000) trying to instantiate a PrincipalContext to use for some Active Directory management needs. To support a number of directory connection scenarios—including AD, AD LDS and the local machine SAM—our application allows admins to configure any set of relevant parameters used [...]]]></description>
			<content:encoded><![CDATA[<p>While working on a project recently, I ran into the very undescriptive COM Unknown error (0&#215;80005000) trying to instantiate a PrincipalContext to use for some Active Directory management needs. To support a number of directory connection scenarios—including AD, AD LDS and the local machine SAM—our application allows admins to configure any set of relevant parameters used to create the PrincipalContext.</p>
<p>A subtle issue with the <a title="PrincipalContext Constructor" href="http://msdn.microsoft.com/en-us/library/bb356158.aspx" target="_blank">PrincipalContext constructor</a> caused the COM Unknown Error and watch out for this when working with any of the System.DirectoryServices.AccountManagement classes. Merely passing blank values—empty strings—to the constructor for default parameters does not behave nicely and results in the COM Unknown Error. You must explicitly pass <em>null</em> for these values and then you will get the expected default behavior. You might use a pattern to check for empty string parameters in your wrapper class and set these values to null before constructing a PrincipalContext.</p>
<p>I suspect under the covers that the library authors include empty strings (String.Empty) as valid values and go ahead and pass these values to the underlying directory store. Of course, this causes an issue with most directories so just make sure to pass null.</p>

				<div class="mr_social_sharing_wrapper">
				<!-- Social Sharing Toolkit v2.0.7 | http://www.active-bits.nl/support/social-sharing-toolkit/ --></div>]]></content:encoded>
			<wfw:commentRss>http://blog.webactivedirectory.com/com-unknown-error-0x80005000-with-principalcontext-in-the-system-directoryservices-accountmanagement-net-namespace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

