GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0

 Print  |  
Question:  MachineToApplication error

Answer: Hi all,

When i run my project the following error is given

It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. F:PRASHANTprojecteRecruitmenthorizonWeb.config 52

Can any one know about this please tell me.


December 12, 2008 06:16:56 #1
 Nandini_arthi   Member Since: December 2008    Total Comments: 1 

RE: MachineToApplication error
 

This is the error which is caused frequently by most of them.

Reason for this error is when ever you create a virtual directory of your solution see that web.config is also included.

If your project is in IIS and web.config is not in IIS you get this error.

     

 

Back To Question