Exchange 2010 SP3 RpcProxy not working.

After doing an Upgrade of Exchange 2010 SP2 to SP3 the RpcProxy/ Outlook Anywhere stopped working.

Eventlog on Exchange server showed lots of:

Event ID 1310

Application information:

Application domain: /LM/W3SVC/1/ROOT/Rpc-18-130144692505559065

Trust level: Full

Application Virtual Path: /Rpc

Application Path: C:\Windows\System32\RpcProxy\

Machine name: MS-NO-SVG-01

 

Process information:

Process ID: 7156

Process name: w3wp.exe

Account name: IIS APPPOOL\DefaultAppPool

 

Exception information:

Exception type: ConfigurationErrorsException

Exception message: Could not load file or assembly ‘Microsoft.Exchange.RpcClientAccess.Coexistence, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.

 

After some research I found out that the RPCProxy webconfig file was strange/corrupted .

All Path’s in the file was incorrect: (snipp from c:\windows\system32\rpcproxy\web.config)

 <codeBase version=”14.0.0.0″ href=”file:///%ExchangeInstallDir%bin\Microsoft.Exchange.RpcClientAccess.Coexistence.dll” />

 

The correct should be:

<codeBase version=”14.0.0.0″ href=”file:///C:\Program Files\Microsoft\Exchange Server\V14\bin\Microsoft.Exchange.RpcClientAccess.Coexistence.dll” />

Attached a file from a working server:

web-config.txt (67.89 kb)

Exchange 2013/ecp shows Exchange 2010/ecp

When you install Exchange 2013 into a Exchange 2010 organization and try to access https://exchange2013cas/ecp  – Exchange server will show Exchange 2010 ecp. To access the Exchange 2013 ecp you will have to specify your Exchange version in the URL.

https://exchange2013cas/ecp?ExchClientVer=15

Reference: http://technet.microsoft.com/en-us/library/jj150562(v=exchg.150).aspx#access

Several external url’s missing from Exchange autodiscover.

Had a issue where “externalewsurl” and “externaloaburl” was missing from Exchange autodiscover. All urls was configured on the Exchange server and all other information was available through autodiscover. In the end I found out that the Outlook provider for Outlook anywhere was missing. Create New EXPR provider and set external wildcard certificate as CertPrincipalName.

Permanently delete disconnected mailboxes in Exchange 2010

This could be usefull when moving users and you would like to free up some space.

# Permanently delete disconnected mailboxes.

List disconnected:
Get-MailboxStatistics -Server MAILSERVER | ?{$_.DisconnectDate -ne $null} |ft Displayname,Identity,Disconnectreason

Remove by using mailbox database and mailbox identity.
remove-storemailbox -Database MAILBOXDATABASE -Identity “8be4d91d-6380-4dcd-b5a4-d003f4ec3f14” -MailboxState Disabled

-MS Stuff-