Symptom: Outlook crashes or you cannot access OutOfOffice settings after you install a package that contains the .NET Framework 3.5 with SP1 and the .NET Framework 2.0 with SP2 on an Exchange 2007 or on an Exchange 2010 server (CAS role)
Problem described in:
Turn of any mmc, powershel console, emc etc.
Uninstall .net 3.5 sp1
Uninstall .net 3.0 sp2
Uninstall .net 2.0 sp2
In this order, without restarting!
if it complains that "you can't uninstall, some other package depends on it", do this:
net stop MSExchangeTransportLogSearch /yes
net stop MSExchangeTransport /yes
net stop MSExchangeServiceHost /yes
net stop MSExchangeSearch /yes
net stop MSExchangeRepl /yes
net stop MSExchangePop3 /yes
net stop MSExchangeMailSubmission /yes
net stop MSExchangeMailboxAssistants /yes
net stop MSExchangeIMAP4 /yes
net stop MSExchangeFDS /yes
net stop MSExchangeSA /yes
net stop MSExchangeEdgeSync /yes
net stop MSExchangeAntispamUpdate /yes
net stop MSExchangeADTopology /yes
net stop MSExchangeIS /yes
ping -n 5 -w 1000 22.214.171.124 >nul
net stop w3svc /yes
If you still can't uninstall, use procexp's "find" feature and close any .NET handle still open.
At the end there should be no reference to .NET in the installed programs.
DO NOT RESTART!
Install .net 3.0 (I used version 3.0.4506.30 downloaded in 2008 an forgotten on server...)
DO NOT RESTART!
[PS] Remove-AutodiscoverVirtualDirectory -Identity "EXCHANGE2007\Autodiscover (Default Web Site)"
[PS] Set-ClientAccessServer -Identity "EXCHANGE2007"
[PS] Test-OutlookWebServices | fl
If you receive Error 401 when attempting to run Test-OutlookWebServices |
FL, disable the loopback check in
HKLM\SYSTEM\CurrentControlSet\Control\Lsa "DisableLoopbackCheck" DWORD,
- In IIS Manager make sure ASP.NET 2.0.50727 is ENABLED
- In IIS Manager make sure Autodiscovery and EWS uses only "Integrated
windows authentication" and that the security cert is "require ssl",
"128 bit" and "ignore client certificates"
- Verify that the folder %ExchangeInstallaDir%\ClientAccess\Autodiscover is readable by "authenticated users"
- perform iisreset /noforce
[PS] Test-OutlookWebServices | FL should give you a good answer now, if not, make sure the autodiscover DNS entry exists:
- in DNS Manager rightclick the local forward lookup zone, "Other new
records", "SRV", service "_autodiscover", pri "10", weight "5", port
"443", host "autodiscover.domain.tld"
- in DNS Manager, new A-Record "autodiscover.domain.tld"
[PS] Test-OutlookWebServices | FL should give you a good answer now, if not, get the backup tape, it's that time...
In the void is virtue, and no evil. Wisdom has existence, principle has existence, the Way has existence, spirit is nothingness.
Search This Blog
Monday, May 02, 2016
Subscribe to: Posts (Atom)
- ► 2017 (12)
- ▼ 2016 (17)
- ► 2015 (21)
- ► 2014 (15)
- ► 2013 (11)
- ► 2011 (10)