problem with web.config file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vajrala Narendra
    New Member
    • Jun 2007
    • 73

    problem with web.config file

    Hi
    in asp.net 2.0 am debugging my project
    it is giving following error what i have to do to rectify that one please suggest

    It is an error to use a section registered as allowDefinition ='MachineToAppl ication' beyond
    application level. This error can be caused by a virtual directory not being configured as an application in IIS.


    Thanks Inadvance
  • DrBunchman
    Recognized Expert Contributor
    • Jan 2008
    • 979

    #2
    I don't know what would cause this but check the application settings for your site as below.
    1. Run the IIS console (Click Start, Run.., Type "inetmgr" and hit enter)
    2. Look under the default website, find your site and right click properties
    3. Under Application Settings in the Virtual Directory Tab check whether your site has an Application Name
    4. If it doesn't then click Create and Ok
    Hope this helps,

    Dr B

    Comment

    • kenobewan
      Recognized Expert Specialist
      • Dec 2006
      • 4871

      #3
      Configure all MachineToApplic ation settings in your application's root,
      and remove all MachineToApplic ation settings from your application's
      subdirectories. HTH.

      Comment

      Working...