Skip to content

Error problem while running website

Akhilesh Patel

Akhilesh Patel

Asked Apr 1, 2012, 8:46 PM EDT1 answer
Share
LinkedInX
Error  7  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.  D:\akhilesh\Kiosk Control System\Kiosk Control System\Web.Config  29 

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Senthilkumar
    0
    Hi,

    First question i would like ask to you is dd you move your web.config from root to sub directories?

    If yes then you can have the web.config in the sub directory. But in the root level it should have the default web.config file.

    Anyway you try this.

    Give your virtual directory an Application Name that does not have dots (.) in the name. To make sure you are not having naming issues, give a short name such as MK as your Virtual Directory name.
    0