Dr4g0nfly,
What are your symptoms?
An update to the Uninstall web.config issue is:
Symptom:
Exchange Web Services (EWS) operations fail with the following response.
HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 175
Content-Type: text/html; charset=utf-8
Location: /ews/GenericErrorPage.htm?aspxerrorpath=/ews/Exchange.asmx
Server: Microsoft-IIS/7.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 12 Sep 2008 01:00:02 GMT
<html>
<head>
<title>Object moved</title>
</head>
<body>
<h2>Object moved to <a href="/ews/GenericErrorPage.htm?aspxerrorpath=/ews/Exchange.asmx">here</a>.</h2>
</body>
</html>
Troubleshooting steps to validate root cause:
1) On the CAS server, open the web.config file located at <Exchange Install folder>Client Accessexchwebews using an editor like Notepad.exe.
2) Look for the presence of the text %ExchangeInstallDir% in the file. E.g.
<codeBase version="0.0.0.0" href="file:///%ExchangeInstallDir%binMicrosoft.Exchange.Common.IL.dll"/>
Issue:
The issue happened because Update Rollup 4 for Exchange server 2007 Service Pack 1 (KB952580) v1 was previously installed on the server and subsequently uninstalled
Workaround (if the rollup cannot be uninstalled immediately): None
Resolution:
1) Open the web.config file located at <Exchange Install folder>Client Accessexchwebews using an editor like Notepad.exe.
2) Replace all instances of %ExchangeInstallDir% with the actual path of the Exchange installation folder. E.g. If you have installed Exchange in D:Program FilesMicrosoftExchange Server replace %ExchangeInstallDir% with D:Program FilesMicrosoftExchange Server.
Here is a line in the web.config file.
Before
<codeBase version="0.0.0.0" href="file:///%ExchangeInstallDir%binMicrosoft.Exchange.Common.IL.dll"/>
After
<codeBase version="0.0.0.0" href="file:///D:Program FilesMicrosoftExchange ServerbinMicrosoft.Exchange.Common.IL.dll"/>
3) Restart W3SVC service