Tuesday, March 18, 2014

Exchange 2007, you set a http redirect on the default web site and find you are unable to remove the redirect on the legacy subfolders.

In Exchange 2007, if you set a http redirect on the default web site and find you are unable to remove the redirect on the legacy subfolders you may receive an error "There was an error while performing the operation." "Error: Cannot write configuration file."



These are legacy folders for Exchange 2003 users and don't have a physical path.  To remove the redirect-

1) Go to the command prompt
2) Navigate to C:\Windows\System32\Inetsrv.
3) Enter each of these commands-
appcmd set config "Default Web Site/autodiscover" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/ews" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/Exadmin" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/Exchange" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/Exchweb" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/Microsoft-Server-ActiveSync" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/owa" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/oab" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/Public" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/rpc" /section:httpredirect /enabled:false -commit:apphost
appcmd set config "Default Web Site/rpcwithcert" /section:httpredirect /enabled:false -commit:apphost

4) Run iisreset/noforce.

No comments:

Post a Comment