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

I get error when conneting to MS SQL 2008 server

If you get this error: The server principal " " is not able to access the database " " under the...

How to send email from your asp.net code?

' Visual Basic Sample - Sending SMTP Authenticated E-mail ' Please replace yourdomain.com in...

Conection String to MS SQL 2008 DB - example

In order to connect to SQL Server 2008 from Management Studio, Enterprise Manager, Query...

MS SQL 2008 and MySQL server addresses

MSSQL 2008 server addresses are: sql2008.aspnethosting.co.uk sql2008r2.aspnethosting.co.uk...

How to enable remote IIS management for my site?

Login to your hosting control panel here http://cp.aspnethosting.co.uk then click on Web - Web...