<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I've been Exchanged</title><link>http://blogs.technet.com/mblant/default.aspx</link><description>and I have a whole new Outlook</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Why would cached mode Outlook clients NDR messages for foreign connectors that Outlook online clients do not?</title><link>http://blogs.technet.com/mblant/archive/2008/09/08/why-would-cached-mode-outlook-clients-ndr-messages-for-foreign-connectors-that-outlook-online-clients-do-not.aspx</link><pubDate>Mon, 08 Sep 2008 21:07:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3121089</guid><dc:creator>mblant</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mblant/comments/3121089.aspx</comments><wfw:commentRss>http://blogs.technet.com/mblant/commentrss.aspx?PostID=3121089</wfw:commentRss><description>&lt;p&gt;First, just a little background about address types and foreign connectors.   &lt;br /&gt;Address Types are ,as the name implies, the types of addresses that Exchange has knowledge of and that can be used for message transport.    &lt;br /&gt;There are several that are included with Exchange by default. You will see these stamped on each mail enabled user as proxyAddresses.    &lt;br /&gt;SMTP: (SMTP:mblanton@tailspintoys.com)    &lt;br /&gt;X400: (X400:c=US;a= ;p=TailspinToys;o=Exchange;s=Blanton;g=Michael;)    &lt;br /&gt;and EX: (Internal address type, not stamped on users)&lt;/p&gt;  &lt;p&gt;You have always been able to add external address types to Exchange via gateway connectors. Fax connectors are a good example of this. Most of the time installing the a 3rd party connector will created the address type for you. Generally it will also create a gateway or connector mailbox on your server to handle those messages types. This is all based on EDK gateways which is outlined in the Exchange SDK.   &lt;br /&gt;&lt;a href="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/WhydoesOutlookcachedmodeNDRforeignconnec_10B4F/image_6.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="184" alt="image" src="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/WhydoesOutlookcachedmodeNDRforeignconnec_10B4F/image_thumb_2.png" width="244" border="0" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt; &lt;a href="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/WhydoesOutlookcachedmodeNDRforeignconnec_10B4F/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="image" src="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/WhydoesOutlookcachedmodeNDRforeignconnec_10B4F/image_thumb_1.png" width="220" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Exchange 2007 will still let you install 3rd party connectors. These are now classified as foreign connectors.   &lt;br /&gt;These are installed with the &amp;quot;New-ForeignConnector&amp;quot; cmdlet.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Now on to the real question. When I install a new gateway or connector, why does Outlook work in online mode but not in cached mode?&lt;/p&gt;  &lt;p&gt;In online mode when you send a message from Outlook, the message is submitted to the Outbox folder of your mailbox directly on the Exchange server. From there Exchange picks up the message and hands it over to transport for delivery.&lt;/p&gt;  &lt;p&gt;With cached mode, Outlook tries to be a little smarter. Outlook will basically attempt to submit the message directly to transport queue for you. Outlook does this by requested and storing a list of available address types. If the address type you are attempting to send to is not on the list, Outlook will NDR the message before it ever attempts to connect to the Exchange server.   &lt;br /&gt;You can confirm which types are available by looking that registry keys for the cached mode profile:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;&lt;font color="#0000ff"&gt;&amp;#160; Name:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 01026687         &lt;br /&gt;&amp;#160; Type:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; REG_BINARY          &lt;br /&gt;&amp;#160; Data:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;00000000&amp;#160;&amp;#160; 03 00 0d 00 45 58 00 58 - 34 30 30 00 53 4d 54 50&amp;#160; ....&lt;strong&gt;EX.X400.SMTP&lt;/strong&gt;          &lt;br /&gt;00000010&amp;#160;&amp;#160; 00&lt;/font&gt;&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;   &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;When the Information Store service starts, Exchange 2007 loads a list of address types which is stores in an array in memory. The key here is, when the Information Store starts...   &lt;br /&gt;When Outlook requests the list of available types, this array is what is returned.&lt;/p&gt;  &lt;p&gt;Our problem comes about when a foreign connector is installed and the Information Store is not restarted. This array in memory has not been updated. Thus, as in my sample above, our Outlook cached mode client does not know about the FAX address type and Outlook will NDR any message addressed for FAX.&lt;/p&gt;  &lt;p&gt;Simply restart the Information Store on the affected Mailbox server roles. This will update the array in memory. Then have each client log off and log back on to request the updated list from the Information Store.   &lt;br /&gt;You should now see the FAX address type stored for this profile and messages for address type FAX should work.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;&lt;font color="#0000ff"&gt;&amp;#160; Name:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 01026687         &lt;br /&gt;&amp;#160; Type:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; REG_BINARY          &lt;br /&gt;&amp;#160; Data:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;00000000&amp;#160;&amp;#160; 45 00 13 00 45 58 00 58 - 34 30 30 00 53 4d 54 50&amp;#160; ....&lt;strong&gt;EX.X400.SMTP.FAX&lt;/strong&gt;          &lt;br /&gt;00000010&amp;#160;&amp;#160; 00&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3121089" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mblant/archive/tags/Transport/default.aspx">Transport</category><category domain="http://blogs.technet.com/mblant/archive/tags/Outlook/default.aspx">Outlook</category></item><item><title>Exchange 2007 OWAAppPool crash on Windows 2008</title><link>http://blogs.technet.com/mblant/archive/2008/08/29/exchange-2007-owa-crash-issue-on-windows-2008-server-iis7.aspx</link><pubDate>Fri, 29 Aug 2008 20:29:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3114045</guid><dc:creator>mblant</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/mblant/comments/3114045.aspx</comments><wfw:commentRss>http://blogs.technet.com/mblant/commentrss.aspx?PostID=3114045</wfw:commentRss><description>&lt;p&gt;Over the past week or so we've had several cases pop up where the Exchange 2007 OWAAppPool is crashing. After looking over a few of these cases we found one thing they had in common, they were all running on Windows 2008.&lt;/p&gt;  &lt;p&gt;A little debugging and we found the culprit. We were receiving an HTTP response that we didn't recognize. That causes an exception and crashes the application pool. That response was a redirect. So, how does a redirect response crash the application pool?&lt;/p&gt;  &lt;p&gt;Let's review our current documentation on TechNet:&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;How to Simplify the Outlook Web Access URL     &lt;br /&gt;&lt;a title="http://technet.microsoft.com/en-us/library/aa998359.aspx" href="http://technet.microsoft.com/en-us/library/aa998359.aspx" mce_href="http://technet.microsoft.com/en-us/library/aa998359.aspx"&gt;http://technet.microsoft.com/en-us/library/aa998359.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;You have the option to set our response to a file or a URL. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_6.png" mce_href="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_6.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="144" alt="image" src="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_thumb_2.png" width="244" border="0" mce_src="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_thumb_2.png" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Using the URL redirect works fine for a relative URL to the site root, this doesn't help much if you want to also redirect from HTTP to HTTPS. So, most configurations use the FILE option for the redirect.&lt;a href="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_8.png" mce_href="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_8.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="236" alt="image" src="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_thumb_3.png" width="244" border="0" mce_src="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_thumb_3.png" /&gt;&lt;/a&gt;     &lt;br /&gt;Now, this works great with Exchange 2007 running on Windows 2003\IIS6.     &lt;br /&gt;Just as outlined in the TechNet article, the file can then handle the redirect to HTTPS, But the response code is still &amp;quot;FILE&amp;quot;.&lt;/p&gt;  &lt;p&gt;What happens when you install Exchange 2007 SP1 on Windows 2008?    &lt;br /&gt;Welcome to IIS7.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_2.png" mce_href="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="176" alt="image" src="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_thumb.png" width="244" border="0" mce_src="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_thumb.png" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;IIS7 has a new feature that was not present in IIS6 and thus was not present when Exchange 2007 was released.    &lt;br /&gt;We know Exchange 2007 was clearly designed with IIS6 in mind. Just note the message when installing on a straight IIS7 install:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;&lt;font color="#0000ff"&gt;Unable to read data from the Metabase. Ensure that Microsoft Internet Information Services is installed.          &lt;br /&gt;The 'IIS 6 Metabase Compatibility' component is not installed. Install the           &lt;br /&gt;component via Server Manager.&lt;/font&gt;&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;That feature is the Redirect response. This will allow an absolute URL as opposed to a relative URL like IIS6. The response code here is REDIRECT, not FILE or URL.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_4.png" mce_href="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_4.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="image" src="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_thumb_1.png" width="235" border="0" mce_src="http://blogs.technet.com/blogfiles/mblant/WindowsLiveWriter/Exchange2007OWAcrashissueonWindows2008Se_D3E8/image_thumb_1.png" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;As stated before, REDIRECT is not a response type we expect. We check for FILE and URL. So, when we receive REDIRECT, we fail our test case and force an exception, thinking something bad must have happened.&lt;/p&gt;  &lt;p&gt;You can also find this in the ApplicationHost.config file:    &lt;br /&gt;C:\windows\System32\inetsrv\config\applicationHost.config&lt;/p&gt;  &lt;p&gt;&amp;lt;httpErrors&amp;gt;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;error statusCode=&amp;quot;403&amp;quot; subStatusCode=&amp;quot;4&amp;quot; path=&amp;quot;C:\inetpub\SSLredirection.html&amp;quot; responseMode=&amp;quot;File&amp;quot; /&amp;gt;     &lt;br /&gt;&amp;lt;/httpErrors&amp;gt; &lt;/p&gt;  &lt;p&gt;&amp;lt;httpErrors&amp;gt;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;lt;error statusCode=&amp;quot;403&amp;quot; subStatusCode=&amp;quot;4&amp;quot; path=https://WEBMAIL.TAILSPINTOYS.COM /OWA responseMode=&amp;quot;Redirect&amp;quot; /&amp;gt;     &lt;br /&gt;&amp;lt;/httpErrors&amp;gt;&lt;/p&gt;  &lt;p&gt;If you are using this feature, anytime someone\something attempts to access the &amp;quot;/exchange&amp;quot; virtual directory we will crash the OWAAppPool. This could either be in DAVEX or EXPROX depending on if you CAS server has only the CAS role installed or CAS and MBX installed together.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font color="#0000ff"&gt;Log Name:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Application        &lt;br /&gt;Source:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Application Error         &lt;br /&gt;Date:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 8/28/2008 2:17:37 AM         &lt;br /&gt;Event ID:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; 1000         &lt;br /&gt;Task Category: (100)         &lt;br /&gt;Level:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Error         &lt;br /&gt;Keywords:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; Classic         &lt;br /&gt;User:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; N/A         &lt;br /&gt;Computer:&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; WEBMAIL.TAILSPINTOYS.COM         &lt;br /&gt;Description:         &lt;br /&gt;Faulting application w3wp.exe, version 7.0.6001.18000, time stamp 0x47919ed8, faulting module davex.dll, version 8.1.240.5, time stamp 0x47427a90, exception code 0xc0000005, fault offset 0x00000000000d3ac1, process id 0x1078, application start time 0x01c908d5c27835da.&lt;/font&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Our current solution is to continue using the same practice outlined in the TechNet article for IIS6 by setting a FILE response and let that handle the redirect for you.&lt;/p&gt;  &lt;p&gt;Thanks to Brad Hughes for helping me track this down.    &lt;br /&gt;Check out his blog as well.     &lt;br /&gt;&lt;a title="http://blogs.msdn.com/brad_hughes/" href="http://blogs.msdn.com/brad_hughes/" mce_href="http://blogs.msdn.com/brad_hughes/"&gt;http://blogs.msdn.com/brad_hughes/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Update:     &lt;br /&gt;&lt;/strong&gt;RU5 for Exchange 2007 SP1 includes an update to enabled the use of this new feature in IIS.    &lt;br /&gt;With RU5 installed you can now use the &amp;quot;REDIRECT&amp;quot; option of IIS7 instead of the more complex FILE option to redirect users to an absolute URL. &lt;/p&gt;  &lt;p&gt;Description of Update Rollup 5 for Exchange Server 2007 Service Pack 1   &lt;br /&gt;&lt;a href="http://support.microsoft.com/?kbid=953467"&gt;http://support.microsoft.com/?kbid=953467&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Update Rollup 5 for Exchange Server 2007 Service Pack 1 (KB953467)   &lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=652ED33A-11A1-459C-8FFE-90B9CBFE7903&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=652ED33A-11A1-459C-8FFE-90B9CBFE7903&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3114045" width="1" height="1"&gt;</description></item></channel></rss>