Plesk for Windows
kb: technical
Applicable to:
- Plesk for Windows
Symptoms
-
The website returns an error such as the following when accessed via a browser:
CONFIG_TEXT: Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. - The website in Plesk is not with a Suspended status.
- The site under the IIS pool for the domain does not return any errors on restart
- The domain is configured correctly to resolve to the IP address of the server
Cause
An invalid or corrupted web.config file within the main directory of the website prevents its IIS application pool for this domain from running as expected, due to which it crashes repeatedly.
Resolution
- Log into Plesk
- Rename the
web.configfile under website's main directory toweb.config.backupvia the Plesk File Manager - Start Command Prompt as an Administrator
-
Run the following command in order to force the recreation of a default
web.configfile:C:\> plesk repair web example.com -y
- The error on the website will change, but it will likely still fail to load, because your script likely requires a specific configuration to exist within its
web.configfile - Analyze the
web.configfile, compare it to theweb.config.backupfile from earlier and make sure to add only the necessary content from theweb.config.backupback to theweb.configfile and save the changes. - Restart the application pool for the website in IIS
- Confirm that the website is now loading as expected
Comments
Please sign in to leave a comment.