It is an error to use a section registered as allowDefinition='MachineToApplication' beyond applicat


You may receive the error "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level" in asp.net

Hi All,

i got the below

Error:
"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"

on putting session on web.config file.

by referring the below links, i got resolved my issue.

http://geekswithblogs.net/ranganh/archive/2005/04/25/37609.aspx

http://forums.asp.net/t/769696.aspx

http://www.shabdar.org/virtual-directory-not-being-configured-as-an-application-in-iis.html


Have a Great Day...


Comments

Author: Karthick09 Aug 2011 Member Level: Bronze   Points : 0

Hi,

You won't get error if you open file by double clicking solution file.

Am i rite?



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: