question

Bundoo-2912 avatar image
0 Votes"
Bundoo-2912 asked LydiaZhou-MSFT commented

can't load exchange 2013 hybrid ECP website

we are at office 365 hybrid setup and have windows 2012 server with Exchange 2013 hybrid server

can't load exchange 2013 ECP website after I deleted IIS W3SVC1 log files by using delete shift, to clearup space and I could not bring back those deleted log files

Now Getting ERROR: ERROR- Can not right configuration file
: C:\Windows\System32\inetsrv\config\applicationhost.config


Anyone has workaround to fix this please

office-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SethWH avatar image
0 Votes"
SethWH answered

Hello,

I don't think shift-deleting log files in inetpub would have caused this. Did you end up freeing space? Sometimes these errors can be related to insufficient space. How often is a full system backup (w/ System State) taken on the server? A full backup on Exchange will free up log space.

Once space has been cleared, are you able to reset exchange services (after hours or when use is minimal)?

Powershell script:

 $services = Get-Service | ? { $_.name -like "MSExchange*" -and $_.Status -eq "Running"}
     
 #Restart each service
 foreach ($service in $services)
 {
     Restart-Service $service.name -Force
 }


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LydiaZhou-MSFT avatar image
0 Votes"
LydiaZhou-MSFT answered LydiaZhou-MSFT commented

@Bundoo-2912

What's the detailed version of your Exchange 2013? You can check with the following command:

 Get-ExchangeServer | Format-List Name,Edition,AdminDisplayVersion

What error message do you get after entering the URL of EAC? You can post the screenshot here, and don't forget to cover your personal information.
Does OWA work as normal?

As SethWH mentioned, the error you provided may be caused by the server does not have available disk space. Here is the same error for your reference: IIS 7.5 Unable to write configuration file.
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

If EAC still cannot work after freeing up disk space, here are more suggestions for you:
1. Please check and make sure all needed Exchange services are running well.
2. Recycle MSExchangeECPAppPool in Application Pools from IIS Manager. Application Pools > MSExchangeECPAppPool > Recycle.
3. Run UpdateCas.ps1 and UpdateConfigFiles.ps1 from the exchange bin directory C:\Program Files\Microsoft\Exchange Server\V15\Bin.
After that, use the following command to restart IIS:

 iisreset /noforce

If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Just checking in to see if above information was helpful. If you have any questions or need further help on this issue, please feel free to post back.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·

Any updates so far?
If you have solved your problem, could you share with us? Maybe it will help more people with similar problems.


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·