<?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>Confused Amused &#187; iis</title>
	<atom:link href="http://www.confusedamused.com/tags/iis/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.confusedamused.com</link>
	<description></description>
	<lastBuildDate>Tue, 27 Jul 2010 03:03:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Communicator and Damaged Address Book Files</title>
		<link>http://www.confusedamused.com/notebook/communicator-and-damaged-address-book-files/</link>
		<comments>http://www.confusedamused.com/notebook/communicator-and-damaged-address-book-files/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 17:35:23 +0000</pubDate>
		<dc:creator>Tom Pacyk</dc:creator>
				<category><![CDATA[Office Communications Server 2007 R2]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[abs]]></category>
		<category><![CDATA[communicator]]></category>
		<category><![CDATA[dabs]]></category>
		<category><![CDATA[delta]]></category>
		<category><![CDATA[hotfix]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[lsabs]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[R2]]></category>

		<guid isPermaLink="false">http://www.confusedamused.com/?p=666</guid>
		<description><![CDATA[The past few days I spent wrestling an address book server issue in OCS and I wanted to share the solution. The quick version: make sure you have your server side and client side hotfix revisions match up.    If you want the whole story…the specific details of this case involved a Front-End [...]]]></description>
			<content:encoded><![CDATA[<p><p>The past few days I spent wrestling an address book server issue in OCS and I wanted to share the solution. The quick version: make sure you have your server side and client side hotfix revisions match up.  </p>  <p>If you want the whole story…the specific details of this case involved a Front-End server which had the OCS 2007 R2 April hotfixes, but the MOC clients had the July hotfixes applied. The issue first manifested itself with clients reporting ABS damaged:</p>  <blockquote> Communicator cannot synchronize with the corporate address book because the corporate address book file appears to be damaged. Contact your system administrator with this information. </blockquote>  <p>We resolved this by deleting the entire contents of the address book file share and forcing a resync of the address book. We also deleted GalContacts.db from a few user workstations, but later found the client error actually disappeared on its own without removing the file. </p>  <p>Things hummed along nicely for a week or so until a large amount of users (600+) were enabled for OCS one Friday evening. The following Monday previously enabled pilot users were reporting they still didn’t have a SIP URI in their address books for the mass-enabled users. The GalContacts.db file was also still showing a timestamp from the day the mass change occurred, indicating they had not downloaded an update yet. </p>  <p>We took a peek at the Front-End logs and it appeared to be generating address book files correctly. The odd thing was in looking at the IIS logs we actually saw quite a few 404 errors of MOC clients trying to request delta files that did not exist. Other users showed successful downloads of the latest delta files which should have included the changes, but they weren’t being applied to their local GalContacts.db for some reason. I also saw those same clients registering a success end up using the <a href="http://support.microsoft.com/kb/954650">fallback logic</a> and downloading older address book files even though they had the newer versions. Very, very strange. Any client we deleted GalContacts.db on would pull down the latest full address book with no issues. The clients looking for deltas that didn&#8217;t exist we probably caused by deleting the address book files previously.</p>  <p>Side tip when looking at the IIS logs: Full files start with F-xxxx and delta files follow a D-xxxx-xxxx naming convention. Also, .lsabs files are used by MOC while .dabs files are used by Tanjay devices. </p>  <p>At that point I noticed the mismatch in server (April hotfixes) vs. client (July hotfixes) versions and suggested we get the latest fixes installed on all sides. While that suggestion made its way through change control procedures we opened a PSS case with Microsoft to hit the problem from another angle. The engineer we spoke with immediately blurted out that we needed to match the hotfix versions as soon as we described the behavior. It sounded to me like this was one he had heard before or was familiar with so while we didn’t have a second approach this definitely helped accelerate the change control ticket to an authorized state.  After we fully patched the Front-End using the new ServerUpdateInstaller (a lifesaver), applied the back-end database hotfix, and installed the client October hotfix the address book went back to functioning properly. There were a couple of users that needed to delete the GalContacts.db before everything went back to normal, but most of them picked it up without intervention.</p>  <p>As for root cause, the <a href="http://support.microsoft.com/kb/972403">KB 972403 article</a> actually does reference applying both the MOC and server fix together, but the <a href="http://support.microsoft.com/kb/969821/">July server hotfix document</a> doesn’t describe this behavior or even mention it.  Personally, I think the underlying issue was having the 3.5.6907.37 hotfix on clients while the abserver.exe file was still at 3.5.6907.0. In any case, I learned a lot more about the ABS than I ever cared to, but it was great information that will surely help in the future. </p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.confusedamused.com/notebook/communicator-and-damaged-address-book-files/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OAB Never Downloads for Outlook 2007 Clients with Exchange 2007 on Server 2008</title>
		<link>http://www.confusedamused.com/notebook/oab-never-downloads-for-outlook-2007-clients-with-exchange-2007-on-server-2008/</link>
		<comments>http://www.confusedamused.com/notebook/oab-never-downloads-for-outlook-2007-clients-with-exchange-2007-on-server-2008/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 06:11:03 +0000</pubDate>
		<dc:creator>Tom Pacyk</dc:creator>
				<category><![CDATA[Exchange Server 2007]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[oab]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.confusedamused.com/notebook/oab-never-downloads-for-outlook-2007-clients-with-exchange-2007-on-server-2008/</guid>
		<description><![CDATA[This one killed me today. Exchange 2007 SP1, with Rollup Update 6 on Server 2008. Everything working perfectly with one exception – the offline address book (OAB) never downloads from the file distribution point for Outlook 2007 clients. Works fine via public folders, but not web-based. No error, no timeout, no progress indicator, no login [...]]]></description>
			<content:encoded><![CDATA[<p><p>This one killed me today. Exchange 2007 SP1, with Rollup Update 6 on Server 2008. Everything working perfectly with one exception – the offline address book (OAB) never downloads from the file distribution point for Outlook 2007 clients. Works fine via public folders, but not web-based. No error, no timeout, no progress indicator, no login prompt, Outlook just looks like it’s endlessly trying to download the OAB. I double-checked all the URLs, flipped around SSL settings, but still couldn’t figure out why it wouldn’t download. I would have been happy to see an error so I had something to search on. There were actually 2 problems here that made the situation a real pain in the ass. </p>  <p>First – the same bug that affects Outlook Anywhere on Server 2008 apparently does a number on the OAB too. The solution is to turn off kernel-mode authentication in IIS. Run this command to fix that issue and you’re halfway there. I ran across some blog that mentioned Rollup Update 7 may include this change by default.</p>  <pre><code>
C:\Windows\system32\inetsrv\appcmd.exe set config /section:system.webServer/security/authentication/windowsAuthentication /useKernelMode:false
</code></pre></p>

<p>Second – I had enabled a redirect at the Default Web Site root to dump clients to the /owa folder gracefully <a href="http://technet.microsoft.com/en-us/library/aa998359.aspx">using the Microsoft methodology at Technet</a>. If you read the procedure you’ll notice <strong>setting the redirect at the root sets the same redirect on every single virtual directory</strong>. So, you need to go in to each virtual directory and undo the change you made for the root. This works fine, or appears to until your Outlook 2007 client tries to download the OAB and hangs forever.</p>

<p>I brightly plugged the URL to the OAB.XML file into IE and was greeted with a 500 – Internal Server Error message without an authentication prompt. That didn’t seem right. After some searching I realized the reason why Outlook hangs forever is that it tries to hit this URL, gets denied, uses some back-off logic, and tries again. I believe the back-off gets longer and longer each time it fails. </p>

<p>What happens is that when you disable that redirect for the OAB virtual directory IIS 7 generates a web.config file in the C:\Program Files\Microsoft\Exchange Server\ClientAccess\OAB folder. This seems logical, as it overrides the redirect at the root level, and is necessary. Unlike every other web.config that is generated in the other folders like Autodiscover and OWA, <strong>Authenticated Users do not have read access to the file</strong>. This is why Outlook and IE can’t even access the /OAB virtual directory.</p>

<p>The fix is pretty easy. Open the web.config in the OAB folder, and give Authenticated Users both the read and read and execute permissions. Run a iisreset /noforce on the CAS server to bounce IIS. Just for good measure, on the client side I wiped out the Outlook profile, and the contents of the %USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook folder. Once I recreated the profile the OAB downloaded just fine. All in a day’s fun… 
  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.confusedamused.com/notebook/oab-never-downloads-for-outlook-2007-clients-with-exchange-2007-on-server-2008/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Redirecting CWA 2007 R2 from HTTP to HTTPS in IIS 7</title>
		<link>http://www.confusedamused.com/notebook/redirecting-cwa-2007-r2-from-http-to-https-in-iis-7/</link>
		<comments>http://www.confusedamused.com/notebook/redirecting-cwa-2007-r2-from-http-to-https-in-iis-7/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 17:41:05 +0000</pubDate>
		<dc:creator>Tom Pacyk</dc:creator>
				<category><![CDATA[Office Communications Server 2007 R2]]></category>
		<category><![CDATA[2007]]></category>
		<category><![CDATA[7]]></category>
		<category><![CDATA[cwa]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[R2]]></category>

		<guid isPermaLink="false">http://www.confusedamused.com/notebook/redirecting-cwa-2007-r2-from-http-to-https-in-iis-7/</guid>
		<description><![CDATA[This task has always been more of a pain that it ever should have, regardless of application. After trying a few of the usual hacks like requiring SSL and using a custom error page or an HTTP to HTTPS module I found I still wasn’t having any luck. From what I can tell this is [...]]]></description>
			<content:encoded><![CDATA[<p><p>This task has always been more of a pain that it ever should have, regardless of application. After trying a few of the usual hacks like requiring SSL and using a custom error page or an HTTP to HTTPS module I found I still wasn’t having any luck. From what I can tell this is because there actually isn’t any kind of default web page in the CWA virtual directory so when you browse to the HTTP version of the site you actually get a 404 “Page not Found” error before anything else happens.</p>  <p>I ended up keying off that idea and changed the 404 error page to be a redirect to the HTTPS page. I’m still testing this out, but I haven’t run into any issues yet with this approach. To change your site the same way:</p>  <ol>   <li>Open <strong>IIS 7 Manager</strong>.</li>    <li>Click on the CWA virtual web site you want to redirect.</li>    <li>Double-click on <strong>Error Pages</strong>.</li>    <li>Highlight <strong>404</strong> and press <strong>Edit </strong>in the right pane.</li>    <li>Select the <strong>Respond with a 302 redirect</strong>, enter <strong>https://My-CWA-URL</strong> and click <strong>OK</strong>. </li>    <li>Run a<strong> iisreset /noforc</strong>e for good measure. </li> </ol>  <p>I’m curious how this works for everyone and if you see any issues with this method.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.confusedamused.com/notebook/redirecting-cwa-2007-r2-from-http-to-https-in-iis-7/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
