'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. Advertising

  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. Advertising

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. Alex D.
    Replies:
    1
    Views:
    9,520
    Alex D.
    May 20, 2005
  2. =?Utf-8?B?UGF0cmljayBQYXF1aW4=?=

    Precompilation Error allowDefinition='MachineToApplication'

    =?Utf-8?B?UGF0cmljayBQYXF1aW4=?=, Mar 30, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    12,538
  3. UJ
    Replies:
    2
    Views:
    1,352
  4. Replies:
    23
    Views:
    1,091
    Juan T. Llibre
    Nov 13, 2006
  5. RayLopez99
    Replies:
    1
    Views:
    4,351
    RayLopez99
    Jan 30, 2009
Loading...

Share This Page