﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Newest KB Articles in Questions</title>
    <description>Recent additions to the Knowledge Base from ASPhostBG Support</description>
    <link>http://www.support.asphostbg.net/KB/c7/questions.aspx</link>
    <dt>Fri, 18 May 2012 14:33:10 GMT</dt>
    <generator>SmarterTrack Free Edition 4.5.3586</generator>
    <item>
      <title>500.19 internal server error Cannot read configuration file</title>
      <link>http://www.support.asphostbg.net/KB/a98/50019-internal-server-error-cannot-read-configuration-file.aspx</link>
      <pubDate>Thu, 11 Nov 2010 17:42:32 GMT</pubDate>
      <guid isPermaLink="false">kbarticle98</guid>
      <description>&lt;span class="mediumtext"&gt;&lt;span style="color: #333333; font-size: 13px;"&gt; &lt;/span&gt;
&lt;p&gt;You receive error on website: HTTP Error 500.19 - Internal Server Error&lt;/p&gt;
&lt;p&gt;Config Error Cannot read configuration file&lt;/p&gt;
&lt;p&gt;Config File &lt;a href="file:///?\D:\Websites\hosting-username\your-domain.com\wwwroot\web.config"&gt;&lt;span style="color: #000000;"&gt;\\?\D:\Websites\hosting-username\your-domain.com\wwwroot\web.config&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The error means IIS cannot read configuration file web.config under wwwroot folder.&lt;/p&gt;
&lt;p&gt;When you add hosting account for a domain, websitepanel create 3 folders &lt;strong&gt;wwwroot&lt;/strong&gt;, &lt;strong&gt;data&lt;/strong&gt;, &lt;strong&gt;logs&lt;/strong&gt; under your-domain.com folder.&lt;/p&gt;
&lt;p&gt;Website files must be uploaded to wwwroot folder.&lt;/p&gt;
&lt;p&gt;IIS cannot read configuration file either because you remove wwwroot folder or "Network Service" read permission on wwwroot folder is missing.&lt;/p&gt;
&lt;p&gt;There are 2 options to fix the error:&lt;/p&gt;
&lt;p&gt;1. If you have not uploaded any data, please try to delete and re-add hosting space to reset permission.&lt;/p&gt;
&lt;p&gt;2. If you uploaded a lot of files and don't want to delete hosting space,  you can manually recreate wwwroot folder following steps below:&lt;/p&gt;
&lt;p&gt;+ Login WebsitePanel, navigate to hosting space&lt;/p&gt;
&lt;p&gt;+ Select File Manager -&amp;gt; go to your-domain.com check if wwwroot folder exists&lt;/p&gt;
&lt;p&gt;+ If wwwroot folder does not exist, recreate wwwroot folder.&lt;/p&gt;
&lt;p&gt;+ Click Lock icon next to wwwroot folder to apply read &amp;amp; write permission for Network Service.&lt;/p&gt;
&lt;p&gt;If you are are still unable to fix error, please open ticket with technical support.&lt;/p&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</description>
    </item>
    <item>
      <title>Incorrect syntax in Web.config file causes 500 internal server error</title>
      <link>http://www.support.asphostbg.net/KB/a96/incorrect-syntax-webconfig-file-causes-500-internal.aspx</link>
      <pubDate>Thu, 11 Nov 2010 17:41:11 GMT</pubDate>
      <guid isPermaLink="false">kbarticle96</guid>
      <description>&lt;span class="mediumtext"&gt;&lt;span style="color: #333333; font-size: 13px;"&gt; &lt;/span&gt;
&lt;p&gt;Error description: you see error page on website or in websitepanel website setting section.&lt;/p&gt;
&lt;p&gt;Error contains details like this:&lt;/p&gt;
&lt;p&gt;Config Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to ...&lt;/p&gt;
&lt;p&gt;Config File &lt;a href="file:///?\D:\Websites\username\yourdomain.com\wwwroot\web.config"&gt;&lt;span style="color: #000000;"&gt;\\?\D:\Websites\username\yourdomain.com\wwwroot\web.config&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The error means you change some website setting in control panel  and the change creates syntax error in web.config file.&lt;/p&gt;
&lt;p&gt;To fix problem, you can remove &amp;lt;handlers&amp;gt; ... &amp;lt;/handlers&amp;gt; in web.config file or delete web.config file to reset default setting.&lt;/p&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</description>
    </item>
  </channel>
</rss>
