cancel
Showing results for 
Search instead for 
Did you mean: 

EV 2007 (SP1, SP2) and Exchange 2007 SP1: OWA

BobDubois
Not applicable
Certified
Support for OWA2007 from Exchange2007 SP1 is still pending but there's a way to get it working already. Typically you would not encounter any issues for OWA2007 in Exchange2007. Buttons work fine, retrieving items goes well, until you upgrade to Exchange 2007 SP1.
Buttons are no longer displayed, you can't retrieve the items through OWA and you find on your CAS server errors in the event viewer like:

An unhandled exception was caught:

System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.

   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
   at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)

 etc.


It's obvious that errors are related to SSL and TLS. During the upgrade to Exch2007SP1, the IIS settings of the "EWS" (Exchange Web Services) virtual directory changed to enforce SSL encryption for enhanced security.

The workaround to have things working in EV is to disable SSL enforcing, thereby still leaving the possibility to have SSL, but not requiring it.


On the CAS server (or the server hosting OWA2007), open the IIS manager and go to the properties of the EWS directory:
Go to tab "Directory Security", choose "edit" from the "Secure Communications". Uncheck "Require secure channel (SSL)" and perform from the command line "iisreset" (this iisreset will impact your OWA for a few seconds).

Open web.config from:
C:\Program Files\Microsoft\Exchange Server\ClientAccess\Owa\web.config

Look foor the block <appSettings>

  • make sure that the WebDAVRequestHost contains as value the server hosting the mailboxes, see:
<add key="EnterpriseVault_WebDAVRequestHost" value="servername_MBX"/>

  • make sure that the WebDAVRequestProtocol is http instead of https, see:
<add key="EnterpriseVault_WebDAVRequestProtocol" value="http"/>
  • make sure that the ExchangeWebServicesUrl points to your CAS server, see:
<add key="EnterpriseVault_ExchangeWebServicesUrl" value="http://servername_CAS/ews/exchange.asmx"/>

There's no need to reset IIS after reconfiguring the web.config, changes are applied in realtime.

Log in to OWA2007 to confirm that EV functionality is available.




Message Edited by BobDubois on 02-01-2008 01:43 AM


Message Edited by BobDubois on 02-01-2008 01:44 AM

Message Edited by BobDubois on 02-01-2008 01:45 AM
2 REPLIES 2

RVD
Level 5
Partner
Hi 'BobDubois',
 
(I think you will remember me ...  )
 
Regarding your thread.
 
Although i am not working with a Exchange 2007 SP1, I have the same situation with EV2007 SP2 and Exchange 2007 (no SP1) at one of my customers: no buttons nor menu items in the OWA interface, Ev shortcut forms are visible but at the end opening shortcuts only show the shortcut content, not the real mail content...
 
When I look at your web.config settings and compare them with the settings I have in the web.config n the CAS , I see that some lines are missing in the web.config we have here. This is the excerpt of the one I have on the cas server:
 
<appSettings>
  <add key="ConnectionCacheSize" value="100"/>
  <add key="MaximumIdentityArraySize" value="100"/>
  <add key="ShowDebugInformation" value="true"/>
  <add key="EnableEmailReports" value="false"/>
  <!-- Configurable email address of where to forward ActiveSync log messages-->
  <add key="MailboxLoggingAddress" value="your email administrator"></add>
  <add key="EnterpriseVault_ResourceVersion" value="v7.5.2.1862"/>
  <add key="EnterpriseVault_WebDAVRequestHost" value="localhost"/>
  </appSettings>
 
 so, things like ...
  • <add key="EnterpriseVault_WebDAVRequestProtocol" value="http"/>
  • <add key="EnterpriseVault_ExchangeWebServicesUrl" value="http://servername_CAS/ews/exchange.asmx"/>

... are not even in there.

Could this also cause any problem here ?

Many thanks,

Greetz,

Rudy

 


RVD
Level 5
Partner
New info I received today from Symantec!
 
According to the new compatability list for Enterprise Vault (25-1-2008), Exchange 2007 SP1 is supported for OWA functionality if Enterprise Vault 2007 SP2 is used.
 
 
 
Greetz,
 
R.