<?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>A Developer&#039;s Blog &#187; IIS</title>
	<atom:link href="http://blog.hoegaerden.be/tag/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hoegaerden.be</link>
	<description>SQL Server, BI, .NET, IT and anything else I have been playing with.</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:15:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>IIS 7.5 And Windows Authentication</title>
		<link>http://blog.hoegaerden.be/2010/02/14/iis-7-5-and-windows-authentication/</link>
		<comments>http://blog.hoegaerden.be/2010/02/14/iis-7-5-and-windows-authentication/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 10:34:33 +0000</pubDate>
		<dc:creator>Valentino Vranken</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[IIS 7.5]]></category>
		<category><![CDATA[Master Data Services]]></category>
		<category><![CDATA[MDS]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.hoegaerden.be/2010/02/14/iis-7-5-and-windows-authentication/</guid>
		<description><![CDATA[Owkay, I’ve got a good one for you this time. And all it takes is checking a checkbox, just one checkbox! That’s the solution to a problem with which I’ve been struggling yesterday.&#160; What problem?&#160; Let me tell you. I’ve been installing Master Data Services (MDS) on my SQL Server 2008 R2.&#160; This feature will [...]]]></description>
			<content:encoded><![CDATA[<p>Owkay, I’ve got a good one for you this time.</p>
<blockquote><p>And all it takes is checking a checkbox, just one checkbox!</p>
</blockquote>
<p>That’s the solution to a problem with which I’ve been struggling yesterday.&#160; What problem?&#160; Let me tell you.</p>
<p>I’ve been installing <a title="SQL Server 2008 R2 Master Data Services" href="http://www.microsoft.com/sqlserver/2008/en/us/mds.aspx" target="_blank">Master Data Services</a> (MDS) on my SQL Server 2008 R2.&#160; This feature will not only create a database but also a website which you can use to manage MDS.&#160; And it’s the website part that I had a problem with.&#160; Everything installed just fine but when I tried to load the site in Internet Explorer 8 on my Windows 7 64-bit machine, I got the following error:</p>
<blockquote><p>HTTP Error 401.2 – Unauthorized</p>
<p>You are not authorized to view this page due to invalid authentication headers.</p>
</blockquote>
<p>Great, an authentication problem &#8211; aren&#8217;t those our favorite ones?&#160; And like any decent developer, I didn’t waste my time reading all the text on the error page and started investigating the issue.&#160; I had a look at the settings of the Application Pool and those of the Default Web Site.&#160; I also tried changing the security settings in IE.&#160; At the end I think I have tried every possible setting in <a title="Installing IIS 7.5 on Windows 7 Professional, Enterprise, or Ultimate" href="http://technet.microsoft.com/en-us/library/cc725762.aspx" target="_blank">IIS 7.5</a> (which is the version that ships with Windows 7), but I kept getting that same error.</p>
<p>I let some time pass (not on purpose but because we were going to visit my parents-in-law) and in the evening I decided to have another look.&#160; This time I took the effort of reading everything mentioned in the error:</p>
<p><a href="http://blog.hoegaerden.be/wp-content/uploads/image183.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="HTTP Error 401.2 - Unauthorized" border="0" alt="HTTP Error 401.2 - Unauthorized" src="http://blog.hoegaerden.be/wp-content/uploads/image_thumb53.png" width="657" height="582" /></a></p>
<p>Do you see that blue link down at the bottom, which I’ve marked with a red rectangle?&#160; That’s where I got the answer from!&#160; Clicking it opened up the following Microsoft Support page: <a title="Error message when you try to visit a Web page that is hosted on IIS 7.0: &quot;HTTP Error 401.2 - Unauthorized&quot;" href="http://support.microsoft.com/kb/942043/" target="_blank">Error message when you try to visit a Web page that is hosted on IIS 7.0: &quot;HTTP Error 401.2 &#8211; Unauthorized&quot;</a>.</p>
<p>Sounds familiar doesn’t it?&#160; Okay, it’s meant for IIS 7.0 but works for 7.5 as well.</p>
<p>I solved my problem by applying Resolution 1.&#160; In short: IIS was running without the Windows Authentication module installed!&#160; Apparently that is not installed by default when you activate Internet Information Services through the “Turn Windows features on or off” window.&#160; Here’s a screenshot showing what needs to be added:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Activating Windows Authentication for IIS 7.5 in Windows 7" border="0" alt="Activating Windows Authentication for IIS 7.5 in Windows 7" src="http://blog.hoegaerden.be/wp-content/uploads/image184.png" width="660" height="653" /></p>
<p>Once that was set up I was able to load the MDS application:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Master Data Services Home Page" border="0" alt="Master Data Services Home Page" src="http://blog.hoegaerden.be/wp-content/uploads/image185.png" width="627" height="598" /></p>
<p>If you’re looking for instructions on how to install and configure Master Data Services, have a look at <a title="Installing and Configuring Master Data Services 2008 R2 November CTP" href="http://sqlblog.com/blogs/mds_team/archive/2009/12/10/installing-and-configuring-master-data-services-2008-r2-november-ctp.aspx" target="_blank">this article at the Master Data Services Team blog</a>.</p>
<p>(Do I need to mention that this was the first-ever web application that I tried running on Windows 7? <img src='http://blog.hoegaerden.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  )</p>
<p>Have fun!</p>
<p>Valentino.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.hoegaerden.be%2F2010%2F02%2F14%2Fiis-7-5-and-windows-authentication%2F&amp;title=IIS%207.5%20And%20Windows%20Authentication" id="wpa2a_2"><img src="http://blog.hoegaerden.be/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.hoegaerden.be/2010/02/14/iis-7-5-and-windows-authentication/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

