'MachineToApplication' Error when trying to compile project...

Discussion in 'ASP .Net' started by =?Utf-8?B?Vk1J?=, Jun 5, 2006.

  1. When I'm trying to compile my web application, I get this 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.'
    I was recently given this web application to work on it, and when I try to
    compile it, that's the first (and only) error I get.

    Any help is appreciated.
     
    =?Utf-8?B?Vk1J?=, Jun 5, 2006
    #1
    1. Advertisements

  2. Make sure that the physical directory in which the files are located in
    is configured as an application, or as a virtual directory, in IIS.

    Use the IIS Manager to configure it.




    Juan T. Llibre, asp.net MVP
    aspnetfaq.com : http://www.aspnetfaq.com/
    asp.net faq : http://asp.net.do/faq/
    foros de asp.net, en espaƱol : http://asp.net.do/foros/
    ===================================
    "VMI" <> wrote in message
    news:...
    > When I'm trying to compile my web application, I get this 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.'
    > I was recently given this web application to work on it, and when I try to
    > compile it, that's the first (and only) error I get.
    >
    > Any help is appreciated.
     
    Juan T. Llibre, Jun 5, 2006
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Claude seraphin
    Replies:
    12
    Views:
    2,922
    samundersingh1983
    Feb 15, 2014
  2. Ken Stealth
    Replies:
    2
    Views:
    4,657
    =?Utf-8?B?amRneChDb2xvbWJpYSk=?=
    Jan 31, 2004
  3. Alex D.
    Replies:
    1
    Views:
    9,818
    Alex D.
    May 20, 2005
  4. =?Utf-8?B?UGF0cmljayBQYXF1aW4=?=

    Precompilation Error allowDefinition='MachineToApplication'

    =?Utf-8?B?UGF0cmljayBQYXF1aW4=?=, Mar 30, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    13,023
  5. UJ
    Replies:
    2
    Views:
    1,443
  6. Replies:
    23
    Views:
    1,383
    Juan T. Llibre
    Nov 13, 2006
  7. Nagaraj
    Replies:
    1
    Views:
    1,192
    Lionel B
    Mar 1, 2007
  8. RayLopez99
    Replies:
    1
    Views:
    4,723
    RayLopez99
    Jan 30, 2009
Loading...