Error: Cannot write configuration file

Asked By 10 points N/A Posted on -
qa-featured

Hello experts

When unintentionally put a http forward for your OWA on your Exchange 2007/ 2010 as well as SBS 2008 by IIS7, also inherited to every virtual sub lists and then try to delete it for the virtual lists public, exchange, exadmin and exchweb you get the following error:

HTTP Redirect:
There was an error while performing this operation.
 

Details:
Filename: \?BackOfficeStorageyourdomain.extensionPublic Foldersweb.config
Error: Cannot write configuration file

Please help me to solve this. Thanks in advance.

SHARE
Answered By 40 points N/A #106132

Error: Cannot write configuration file

qa-featured

 

All virtual directories must have their redirection removed.
Everytime you configure redirection from one top-level directory in Windows Server 2008, all the settings are propagated to lower-level directories. This error is generally generated because these virtual directories don’t have a physical path.
Hope you get what i am talking about.
 
Therefore, you must have to remove redirection from all these virtual directories except from the one that you want redirected.
 
The solution is mere simple.
 open a command prompt window. Change the directory to Windowssystem32Inetsrv. and Then run this command: appcmd set config “/” /section:httpredirect /enabled:false -commit:apphost.Change and for yours specific environment.
Hope it helps solving your redirection problems. 🙂

 

Related Questions