Knowledgebase

I get Error reading web site information when i click my website in Websitepanel

A) this usually means that either

a) you have deleted wwwroot/web.config
b) edited wwwroot/web.config and currupt the file.

Create a new file in file manager, call this web.config and place it in your wwwroot

enter the below as the content and save the file. this will fix your problem:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<security>
<authentication>
<basicAuthentication enabled="false" />
</authentication>
</security>
<defaultDocument>
<files>
<clear />
<add value="Default.htm" />
<add value="Default.asp" />
<add value="Default.aspx" />
<add value="default.html" />
<add value="index.htm" />
<add value="index.html" />
<add value="index.php" />
<add value="index.asp" />
<add value="_holding.aspx" />
<add value="_holding.html" />
</files>
</defaultDocument>
<httpRedirect enabled="false">
<clear />
</httpRedirect>
<handlers>
<remove name="PHP_via_FastCGI" />
<add name="Perl via ISAPI (*.cgi)" path="*.cgi" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Perl\bin\PerlEx30.dll" resourceType="File" />
<add name="Perl via ISAPI (*.pl)" path="*.pl" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Perl\bin\PerlEx30.dll" resourceType="File" />
<add name="PHP via FastCGI (*.php)" path="*.php" verb="GET,HEAD,POST,DEBUG" modules="FastCgiModule" scriptProcessor="c:\Php5\php-cgi.exe" resourceType="File" />
<add name="ASPClassic (*.htr)" path="*.htr" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\system32\inetsrv\asp.dll" resourceType="File" />
<add name="ASPClassic (*.cdx)" path="*.cdx" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\system32\inetsrv\asp.dll" resourceType="File" />
<add name="ASPClassic (*.asa)" path="*.asa" verb="GET,HEAD,POST,DEBUG" modules="IsapiModule" scriptProcessor="C:\Windows\system32\inetsrv\asp.dll" resourceType="File" />
</handlers>
<httpProtocol>
<customHeaders>
<clear />
<add name="X-Powered-By" value="ASP.NET" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>

Was this answer helpful?

 Print this Article

Also Read

How to change asp.net version for my website?

1. Login to your control panel https://cp.aspnethosting.co.uk and click on Web - Web sites menu...

What is the aspnet_client Folder?

ASP.net developers should be aware of the aspnet_client folder in their web space. This folder...

How to clean MS SQL 2008 transaction log file

Please login to Mylittleadmin in websitepanel and execute this acript against your database: USE...

What is FTP hostname/server address for Windows servers?

FTP server address/host name is ftp.yourdomain and port 21

Login URL for the Web Site Panel

For shared hosting - https://wsp.aspnethosting.co.uk