Solved- It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level

Posted on Posted in .NET

Problem :-  It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level

Solution :- There Are Mainly One of the Two Reason Why you Got this Error Message.

1.   If you Have Not configured your asp.net application in IIS.  If you have not Configure your application to run on IIS First Configure your Site to Run on IIS.For that Create Virtual Directory From IIS and Give Permission to Application (Read,Write)

2. If Above is Not Problem Then There are Mainly Problem of Two or many Web.Config Exists on your Site.When you Open Some Site and if Software Crate Backup of that Application then Software mainly Do Create Subfolder and Copy All Files + Web.Config in Application.Just Remove this Subfolder web.config from Subfolder. 

Let me Know if You Know Anything More or want to Know More …..

 

.

Problem :-  It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level

Solution :- There Are Mainly One of the Two Reason Why you Got this Error Message.

1.   If you Have Not configured your asp.net application in IIS.  If you have not Configure your application to run on IIS First Configure your Site to Run on IIS.For that Create Virtual Directory From IIS and Give Permission to Application (Read,Write)

 

2. If Above is Not Problem Then There are Mainly Problem of Two or many Web.Config Exists on your Site.When you Open Some Site and if Software Crate Backup of that Application then Software mainly Do Create Subfolder and Copy All Files + Web.Config in Application.Just Remove this Subfolder web.config from Subfolder. 

 

Let me Know if You Know Anything More or want to Know More …..

 .

Leave a Reply

Your email address will not be published. Required fields are marked *