title: Configuration error after deploying ASP.NET application
body: <p>I am using VS2012, A website on local machine works fine , when i deploy a website on remote PC / Server , it also works fine when you run on localhost in server computer, then problem arises when you access it remotely having static/live IP. it gives following configuration error.</p>
  
  <p><img src="https://i.stack.imgur.com/FrEYf.png" alt="enter image description here"></p>
  
  <p>deployed in following path</p>
  
  <p><strong>inetpub > wwwroot > PSE</strong></p>
  
  <p>I have also deployed a website in <strong>inetpub > wwwroot > POS</strong> which works fine</p>
  
  <p><strong><em>here is the website structure</em></strong></p>
  
  <p><img src="https://i.stack.imgur.com/15TC9.png" alt="enter image description here"></p>
  
  <p><strong>Here is the only one web.config file in root directory</strong></p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;!--
    For more information on how to configure your ASP.NET application, please visit
    http://go.microsoft.com/fwlink/?LinkId=169433
    --&gt;
  &lt;configuration&gt;
    &lt;system.web&gt;
      &lt;customErrors mode="Off"/&gt;
      &lt;compilation debug="true" targetFramework="4.0"&gt;
        &lt;assemblies&gt;
          &lt;add assembly="MySql.Data, Version=6.9.6.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/&gt;
        &lt;/assemblies&gt;
      &lt;/compilation&gt;
      &lt;httpRuntime targetFramework="4.0"/&gt;
      &lt;authentication mode="Forms"&gt;
        &lt;forms defaultUrl="~/dao/pos.aspx" loginUrl="~/default.aspx" timeout="20" slidingExpiration="true"&gt;&lt;/forms&gt;
      &lt;/authentication&gt;
    &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Please guide me, where i am wrong and why i am getting above error.</p>
  
  <p><strong>here is IIS Configuration</strong>
  <img src="https://i.stack.imgur.com/d1r45.png" alt="enter image description here"></p>