Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
I am trying to upload codeigniter website project on windows server. When I uploaded project on windows server my index page running perfectly but when I enter username and password to login page an error come with message - "
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.Detailed Error Information:
Module	   IIS Web Core
Notification	   BeginRequest
Handler	   Not yet determined
Error Code	   0x80070003
Config Error	   Cannot read configuration file
Config File	   \\?\D:\Inetpub\vhosts\sp-tapi.in\clean-note.rudra-infotech.com\test\web.config
Requested URL	   http://clean-note.rudra-infotech.com:80/test

Physical Path	   D:\Inetpub\vhosts\sp-tapi.in\clean-note.rudra-infotech.com\test
Logon Method	   Not yet determined
Logon User	   Not yet determined


What I have tried:

I have converted my .htaccess file to web.config for IIS server (using IIS 8.5)

my web.config file is 

<pre><?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <rewrite>
      <rules>
        <rule name="rule 1S" stopProcessing="true">
	<match url="^(.*)$"  />
	<action type="Rewrite" url="/index.php/{R:1}"  appendQueryString="true" />
</rule>

      </rules>
    </rewrite>
    <httpErrors>
      <remove statusCode="404" subStatusCode="-1" />
      <error statusCode="404" path="/somedir/oops404.htm" responseMode="ExecuteURL" />
    </httpErrors>
  </system.webServer>
  <system.web>
    <customErrors mode="Off" />
  </system.web>
</configuration>
Posted
Updated 30-Mar-17 8:18am

1 solution

The error message is quite clear: the application is unable to read the file located at:
D:\Inetpub\vhosts\sp-tapi.in\clean-note.rudra-infotech.com\test\web.config

Check that the NTFS permissions for that file grant read access to the IIS_IUSRS group, or whichever account your AppPool is set to run as.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900