Error in C# saying directory not being configured as an application in IIS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raam
    New Member
    • Jun 2008
    • 11

    Error in C# saying directory not being configured as an application in IIS

    Hi,
    Iam facing this problem.can you help me out

    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,
    Raam.
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    This usually means configuring all MachineToApplic ation settings in your application's root and removing all MachineToApplic ation settings from your application's subdirectories.

    You can restrict MachineToApplic ation settings to *one* application
    by making the settings in *that* application's web.config.

    MachineToApplic ation web.config settings in any subdirectory
    not configured as an Application throw the error you encountered. HTH.

    Comment

    Working...