Hi All,
I am trying to update the log file rolling to hourly through appcmd. But it is failing for only for default web site.
appcmd.exe set config -section:system.applicationHost/sites /[name='Default Web Site'].logFile.period:"Daily" /commit:apphost
But, I am able to update through site id and i am getting success. I need to do only with site name. So please check and help.
FYI - I am able to update other site's with site name.
Error i get when i am executing this.
Failed to process input: The parameter 'Site'].logFile.period:Daily' must begin with a / or - (HRESULT=80070057).