Yii Installation on IIS server: Application runtime path is not valid issue

After Yii installation on IIS then developer face problem to run the demo application. And following error message appear in-front of them

“Application runtime path “C:\inetpub\wwwroot\projectname\protected\runtime” is not valid. Please make sure it is a directory writable by the Web server process.”

To solve this issue

1. Open IIS manager and select the project folder name from all available sites

2. From right pane “Actions” please select “Edit Permissions”  and then give full permission to user “IUSR” and then save and restart IIS

Reload your URL and see the result.