"An error occurred loading a [web.config] configuration file"

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Using Microsoft Visual Web Developer 2010 Express. FireFox 5.0<br/>

<span style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225

---------------------------------------------------------
Hello,
I have been receiving a reoccurring ERROR Message while attempting to preview my Web Page in a browser.
The message I receive:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<span>
<h1>Server Error in /App Application.
<hr size="1
</h1>
Configuration Error
<span style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif Description:
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.
<br/>
<br/>
Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to C:ProgramFilesApp.<br/>
<br/>
Source Error: <br/>
<br/>


<table width="100%" bgcolor="#ffffcc
<tbody>
<tr>
<td>
<pre>[No relevant source lines][/code]
</td>
</tr>
</tbody>
</table>
<span style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif <br/>
Source File: <span style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif C:ProgramFilesApp<span style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif web.config Line:
0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

<span style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif From my understanding, there is information missing from my WEB.CONFIG file, however, I have not been successful in finding any relevant information to my error.
<span style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif Here is my code for the web.config file:

<span style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif <br/>

<span style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif <?xml version="1.0"?><br/>
<br/>
<!--<br/>
For more information on how to configure your ASP.NET application, please visit<br/>
http://go.microsoft.com/fwlink/?LinkId=169433<br/>
--><br/>
<br/>
<configuration><br/>
<system.web><br/>
<compilation debug="false" strict="false" explicit="true" targetFramework="4.0" /><br/>
</system.web><br/>
<br/>
</configuration>



Thanks in advance for the help! Much appreciated!
Melitta

View the full article
 
Back
Top