<?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>JJClements.co.uk &#187; OWA</title>
	<atom:link href="http://www.jjclements.co.uk/tag/owa/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jjclements.co.uk</link>
	<description>Clem&#039;s Technical Blog</description>
	<lastBuildDate>Tue, 15 Nov 2011 00:16:50 +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>Exchange 2010 SP1 issues</title>
		<link>http://www.jjclements.co.uk/2010/10/24/exchange-2010-sp1-issues/</link>
		<comments>http://www.jjclements.co.uk/2010/10/24/exchange-2010-sp1-issues/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 22:31:31 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[applicationHost.config]]></category>
		<category><![CDATA[bindings]]></category>
		<category><![CDATA[bitness64]]></category>
		<category><![CDATA[cmdlet]]></category>
		<category><![CDATA[exppw.dll]]></category>
		<category><![CDATA[HomeMTA]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[OWA]]></category>
		<category><![CDATA[web.config]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=1233</guid>
		<description><![CDATA[With its recent release, I decided to apply Service Pack 1 to my Exchange 2010 installation. I had read about many of the new features it offered and I was more curious about the Outlook Web App (OWA) improvements than anything else. I set about extracting and running running the SP1 installer, installing any prerequisites [...]]]></description>
			<content:encoded><![CDATA[<p>With its recent release, I decided to apply <a rel="nofollow" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=50b32685-4356-49cc-8b37-d9c9d4ea3f5b" target="_blank">Service Pack 1</a> to my Exchange 2010 installation. I had read about many of the <a rel="nofollow" href="http://msexchangeteam.com/archive/2010/04/07/454533.aspx" target="_blank">new features</a> it offered and I was more curious about the Outlook Web App (OWA) improvements than anything else. I set about extracting and running running the SP1 installer, installing any <a rel="nofollow" href="http://technet.microsoft.com/en-us/library/bb691354.aspx" target="_blank">prerequisites</a> that the installer prompted me for before the upgrade. The upgrade lasted around 45 minutes and I was surprised to see that I was not prompted to restart the server post installation (even though I did out of habit!) Shortly afterwards I ran a few checks to make sure everything was OK and I began to notice a few peculiar issues.</p>
<p><span id="more-1233"></span></p>
<p><strong>Issue 1. Module exppw.dll could not be loaded</strong></p>
<p>The first thing that struck me when I went to test OWA was that it wasn't working. I host a few websites on the same server so I was quite shocked to see that none of them were actually functioning. For what it was worth - I had already restarted the server so an IISRESET probably wouldn't have done much good. I decided to check the Application Event Log and saw this:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/10/applicationlogexppwerror.png" alt="Exchange 2010 exppw.dll Application Event Log error" /></p>
<blockquote><p>
Source: IIS-W3SVC-WP<br />
Event ID: 2282<br />
Level: Error</p>
<p>Error: The Module DLL 'C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\auth\exppw.dll' could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture. The data field contains the error number. To learn more about this issue, including how to troubleshooting this kind of processor architecture mismatch error, see http://go.microsoft.com/fwlink/?LinkId=29349.
</p></blockquote>
<p>I also noticed the following warning in the System Event Log:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/10/systemloglistnererror.png" alt="Exchange 2010 listner channel System Event Log error" /></p>
<blockquote><p>
Source: WAS<br />
Event ID: 5139<br />
Level: Warning</p>
<p>Error: A listener channel for protocol 'http' in worker process '5436' serving application pool 'jjclements.co.uk' reported a listener channel failure.  The data field contains the error number.
</p></blockquote>
<p>IIS was running, I could successfully Telnet into port 80 on the server. It appeared from the first (Application Event Log) error that IIS was trying to load a new module as part of the SP1 upgrade but couldn't. This was causing IIS to stop loading all of the sites that I had configured within it. I knew that since the release of SP1, Microsoft had released <a rel="nofollow" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a371fa96-e85b-4a4f-8242-15d56595d0ec" target="_blank">Update Rollup 1</a> to fix a few of the <a rel="nofollow" href="http://support.microsoft.com/?kbid=2407028" target="_blank">issues</a> that SP1 brought with it. Out of best practice (and the hope that it may help my problem) I installed  Update Rollup 1. Unfortunately it didn't resolve the issue.</p>
<p>Since the error was reporting an issue with IIS loading an x64 compiled module on x86 architecture I decided to investigate which website(s) was attempting to load the module. My reasoning for this was that by default, OWA runs in it's own application pool from a virtual directory located within the Default Website on an IIS installation. Although I had configured other application pools (for the other websites I am hosting) to run with "Enable 32-Bit Applications" set to True, the default setting of False still applied for the MSExchangeOWAAppPool application pool (so it seemed logical to assume that more than one website was probably trying to load the same module):</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/10/iisowaapppooladvsettings.png" alt="Exchange 2010 MSExchangeOWAAppPool Advanced Settings" /></p>
<p>I used the IIS Manager to locate and then checked the <strong>web.config</strong> for the OWA virtual directory located:</p>
<blockquote><p>
<strong>C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\web.config</strong>
</p></blockquote>
<p>Sure enough there was an entry in the web.config for the site to load the exppw module, and because the MSExchangeOWAAppPool was correctly configured with "Enable 32-Bit Applications" set to False this was not the cause of my problem. Since it seemed that IIS was attempting to load the module for other application pools configured to run as 32bit (and I knowingly had other websites configured to run as 32bit) the next logical step was to check the main 'root' configuration file for IIS - <strong>applicationHost.config</strong> located:</p>
<blockquote><p>
<strong>C:\Windows\System32\inetsrv\config\applicationHost.config</strong>
</p></blockquote>
<p>The applicationHost.config file is used to store IIS configuration including sites, virtual directories, general settings, logging, caching etc. A quick search through this file revealed the exppw module was also being loaded globally (from within the <strong>&lt;globalModules&gt;</strong> tag):</p>
<blockquote><p>
<strong>&lt;add name="exppw" image="C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\auth\exppw.dll" /&gt;</strong>
</p></blockquote>
<p>I decided that I had a couple of options to fix this issue. The first was to stop IIS from loading the module globally by removing the entry from the applicationHost.config. I figured that this probably would have worked since the web.config for the MSExchangeOWAAppPool was loading it anyway. The second option I had was to make sure that the module was only ever loaded for an application pool when it's worker process architecture matched the architecture of the module that was being loaded. I chose the second option as I was concerned that modifying the applicationHost.config to prevent IIS from globally loading the exppw module may have caused issues if any of the other Exchange 2010 application pools were depending on the exppw module being loaded globally instead of from a local web.config.</p>
<p>IIS7 introduced the bitness32 and bitness64 preconditions to make sure that it will only load DLLs with the correct bitness in an application pool worker processes. Where specified, the bitness64 precondition is used by IIS to identify and then load modules only when the worker process is an x64 process - not if the worker process happens to be an x86 process.</p>
<p>I modified the applicationHost.config to reflect the bitness64 precondition for the exppw module:</p>
<blockquote><p>
<strong>&lt;add name="exppw" image="C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Owa\auth\exppw.dll" preCondition="bitness64" /&gt;</strong>
</p></blockquote>
<p>Without even restarting IIS all of the websites that I host (including the Default Website and OWA application) started functioning again. The exppw module was now only being loaded where an application pool worker process was an x64 process.</p>
<p><strong>Issue 2. Default Website additional bindings</strong></p>
<p>While this didn't actually stop anything from working, the second problem that I happened to stumble across (when investigating Issue 1) was that the default website now had some additional, unconventional bindings:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/10/iisdefaultsitebindings.png" alt="Exchange 2010 default website bindings" /></p>
<p>It seemed that as well as the normal bindings allowing IIS to listen on ports 80 (http) and 443 (https) for all IP addresses on the server, the SP1 upgrade had added 2 additional bindings. Surprisingly, even though no host headers had been set, the additional bindings were also listening on ports 80 and 443 for the loopback address of 127.0.0.1. For consistency and just incase this caused any issues in the future, I removed the bindings. Seeing as no specific host headers were set for the new additional bindings I concluded that they would have been encompassed by the original 2 bindings anyway. A quick check revealed that none of my other websites had the additional bindings.</p>
<p><strong>Issue 3. Incorrect HomeMTA attribute</strong></p>
<p>Again, while this issue didn't actually appear to stop anything from working, the last problem I noticed was a consistent warning appearing in the Application Event Log. The warning was being generated at frequent intervals for each mailbox that I had configured within Exchange 2010:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/10/applicationloghomemtaerror.png" alt="Exchange 2010 default website bindings" /></p>
<blockquote><p>
Source: MSExchange ADAccess<br />
Event ID: 2937<br />
Level: Warning</p>
<p>Error: Process w3wp.exe () (PID=7276). Object [CN=James,CN=Users,DC=jjclements,DC=co,DC=uk]. Property [HomeMTA] is set to value [jjclements.co.uk/Configuration/Deleted Objects/Microsoft MTA<br />
DEL:75830fde-6ed2-4fe2-b91c-005d7f6b1e6d], it is pointing to the Deleted Objects container in Active Directory. This property should be fixed as soon as possible.
</p></blockquote>
<p>A quick search revealed that the HomeMTA user account attribute was now obsolete for Exchange 2010. Yet, for some bizarre reason Exchange 2010 was obviously still checking that the value was valid (and unfortunately logging a warning in the Application Event Log if it wasn't.)</p>
<p>I used ADSI Edit to check the attribute for one my user accounts and confirmed it was set to the Deleted Objects container. Even though I don't have lots of Exchange users, rather than use ADSI Edit to update the HomeMTA attribute manually for each and every mailbox user I wanted to update them collectively. I had read that the <a rel="nofollow" href="http://technet.microsoft.com/en-us/library/bb738148.aspx" target="_blank">Update-Recipient cmdlet</a> could be used to update user account attributes, including HomeMTA. So, from the Exchange Management Shell, I used the <a rel="nofollow" href="http://technet.microsoft.com/en-us/library/bb123685.aspx" target="_blank">Get-Mailbox cmdlet</a> to retrieve all the user accounts with a mailbox in my single Exchange 2010 database and then piped the results into the <a rel="nofollow" href="http://technet.microsoft.com/en-us/library/bb738148.aspx" target="_blank">Update-Recipient cmdlet</a>. The following command successfully updated the HomeMTA attribute for all user accounts that had a mailbox in my Exchange 2010 database and stopped the warning from appearing in the Application Event Log:</p>
<blockquote><p>
<strong>get-mailbox -database "&lt;databasename&gt;" | update-recipient</strong>
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/10/24/exchange-2010-sp1-issues/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Vista IE7 crashes when sending email through OWA</title>
		<link>http://www.jjclements.co.uk/2008/08/21/vista-ie7-crashes-when-sending-email-through-owa/</link>
		<comments>http://www.jjclements.co.uk/2008/08/21/vista-ie7-crashes-when-sending-email-through-owa/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 09:42:59 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[OWA]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=71</guid>
		<description><![CDATA[I have installed Microsoft Exchange quite a few times as a syadmin and since the release of Vista one thing I seem to forget is to address the issue of Vista clients using Internet Explorer 7 that send email through Outlook Web Access. There is a known problem with Vista clients that causes IE7 to [...]]]></description>
			<content:encoded><![CDATA[<p>I have installed Microsoft Exchange quite a few times as a syadmin and since the release of Vista one thing I seem to forget is to address the issue of Vista clients using Internet Explorer 7 that send email through Outlook Web Access.</p>
<p><span id="more-71"></span></p>
<p>There is a known problem with Vista clients that causes IE7 to crash when using OWA. I have found this is usually when users have gone through the effort of composing an email and hit the 'Send' button. IE7 then crashes with the standard issue 'Program not responding' response at any attempts to recover from it.</p>
<p>I have only ever noticed this problem on Exchange 2003 SP2 and cannot confirm if it happens pre SP2 but it does only seems to affect Vista clients running IE7 and not XP running IE7.</p>
<p>The cure to this problem is a Hotfix released from Microsoft. Although the Hotfix has been out for a while, unless you have tried it by chance there is likelihood that you wouldn't as the description is somewhat vague. The knowledge base article can be found here:</p>
<p><a href="http://support.microsoft.com/kb/911829" target="_blank" rel="nofollow">KB911829</a></p>
<p>And you can download the Hotfix from here:</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=5BC06E8A-08EB-4976-BC68-A03EBE3A2552&amp;amp;displaylang=en&#038;displaylang=en" target="_blank" rel="nofollow">Download Hotfix for KB911829</a></p>
<p>Install the Hotfix on your Exchange OWA facing server. You will have to reboot your Exchange server and key services like 'Microsoft Exchange Information Store' are stopped during the installation. This will obviously cause all outlook clients to disconnect from the Exchange server. You may also then need to instruct Vista users to log into OWA and navigate through:</p>
<p>Options -> E-mail Security -> Install S/MIME</p>
<p>to reinstall S/MIME.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2008/08/21/vista-ie7-crashes-when-sending-email-through-owa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

