If you see this error when you try to enter your website properties via your control panel, it might have to do with your web.config file under the wwwroot directory. The following blog will show you how to use your File Manger from your control panel, to rename it to web.config.orig and re-create a new web.config file.
So to fix this issue, we need to rename the web.config file.
- Click on File Manager
- Then click on your domain’s directory
- Now click on the wwwrootdirectory
- Click on the small Renameicon
- Type the new name for it (web.config.orig), and click Rename
- Now you should see the file was renamed
- Now lets generate a new web.config via the control panel, click on Websites
- Click on your website’s name
- Now that you are in (did you notice you could now go in where you could not before!?) click on Update. This will generate a new web.configfile.
- It should show you that it is updating…
- Click on File Manageragain
- And your website’s directory again
- And the wwwrootdirectory again
- Do you see the new web.configfile?
- Now, you are done, but the main thing to consider is, that the control panel and your website are sensitive to changes made in your web.config file, so unless you know exactly what you are doing, do not alter the original web.config file’s content. Only add to it, but don’t change settings that were automatically and originally created by the control panel itself. Doing this wrong, will break your control panel again, and cause your website to not work, again.