Parser error when running application
Question:
When I try to run my application I get the following parser error :
Parser Error Message: It is an error to use a section registered as allowdefinition='MachineOnly' beyond machine.config.
What can I do to fix this problem ?
Answer:
The Pure ASP.NET Upload extension adds an entry to the web.config file. Unfortunately, this entry can only be used when you remove an attribute in the machine.config file, that is located in your windows dir\Microsoft.NET\Framework\version\CONFIG directory. Locate the following line :
<section name="processModel" type="System.Web.Configuration.ProcessModelConfigurationHandler, System.Web, version="1".0.3300.0, Culture=neutral, publickeytoken="b03f5f7f11d50a3a"" allowdefinition="MachineOnly"/>
and delete the allowDefinition attribute. This should fix the problem.
Comments
Be the first to write a comment
You must me logged in to write a comment.