Devendra  Kumar

Devendra Kumar

  • NA
  • 517
  • 243.8k

Configuration Error

Mar 23 2016 6:26 AM
how to solve this error:
 
An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately...
 
 
 
use this code:
 
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
<customErrors mode="Off"/>
</system.web>
<system.webServer>
<directoryBrowse enabled="false" />
<defaultDocument>
<files>
<clear />
<add value="Default.htm" />
<add value="default.html" />
<add value="Default.asp" />
<add value="index.htm" />
<add value="index.html" />
<add value="index.asp" />
<add value="Default.aspx" />
<add value="index.aspx" />
<add value="default.php" />
<add value="index.php" />
</files>
</defaultDocument>
</system.webServer>
</configuration>
 

Answers (1)