Why this Error comes during compilation of our ASP page ?

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineOnly' beyond machine.config.

 Posted by Chvrsri on 12/23/2010 | Category: ASP.NET Interview questions | Views: 5080 | Points: 40
Answer:

This happens because ,

In our web.config file we might have declared a section that is not configurable on our shared web hosting platform. So when we get this error we have to remove that part which is not supported in the web.config file.


Source: My Own Observation | Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response