If you receive the error below when you try and edit a websites settings in the control panel after you upload ASP.NET files to the website then see the details below:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
<defaultDocument>
<files>
<clear />
<add value="Default.aspx" />
<add value="index.php" />
<add value="Default.htm" />
<add value="Default.asp" />
<add value="index.htm" />
</files>
</defaultDocument>
</system.webServer>
</configuration>
You will upload this default web.config into your wwwroot folder and refresh your control panel so that it works again. Change your ASP.NET version in the control panel to 2.0 and click Update.
The ASP.NET versions issue is now resolved and you can now re-upload your orignal web.config file.