virtual directory not an application in IIS

Discussion in 'ASP.NET / ASP.NET Core' started by steurm, Nov 4, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. quote:Originally posted by reiji

    The following is the error message I received when trying to run one of the .aspx files in a subweb. Is this something I can correct, or the administrator of IIS has to do? Thank you for your help. -reiji

    Server Error in '/' Application.

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: 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.

    Source Error:


    Line 23: "Forms", "Passport" and "None"
    Line 24: -->
    Line 25: <authentication mode="None" />
    Line 26:
    Line 27:



    </blockquote id="quote"></font id="quote">

    see this topic forum.discountasp.net/topic.asp?TOPIC_ID=423. The answer is allready suggested in the error message

    Good luck

    --
    Steurm
    www.steurm.net/steurm
     
  2. Yes, if that's the case, how do I (is there any tool) configure the subweb an application in IIS? Since I, as a client of DiscountASP, don't have access to IIS Manager. Thanks.

    - reiji
     
  3. The following is the error message I received when trying to run one of the .aspx files in a subweb. Is this something I can correct, or the administrator of IIS has to do? Thank you for your help. -reiji

    Server Error in '/' Application.

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: 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.

    Source Error:


    Line 23: "Forms", "Passport" and "None"
    Line 24: -->
    Line 25: <authentication mode="None" />
    Line 26:
    Line 27:
     
  4. quote:Originally posted by reiji

    Yes, if that's the case, how do I (is there any tool) configure the subweb an application in IIS? Since I, as a client of DiscountASP, don't have access to IIS Manager. Thanks.

    - reiji
    </blockquote id="quote"></font id="quote">
    As stated by DASP in that post, go to My DiscountASP (your account) and then go to your IIS Manager. Create an application with the name of the root-directory which is supposed to be an application.

    success !

    --
    Steurm
    www.steurm.net/steurm
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    FP subweb is not equivalent to IIS App.

    If you are uploading via VS.net, an application should be created automatically.

    quote:Originally posted by reiji

    Sorry, I must be really dense. But in the control panel's IIS Manager, there are only 3 things: Custom Error Pages, Directory Browsing, and Default Documents. I don't see anything that could create a directory or make a subweb an application.

    I made the subweb using FrontPage Tool/Manage FrontPage Extension, and thought it would automatically be an IIS application. Apparently, it's not. So ...?

    - reiji
    </blockquote id="quote"></font id="quote">
     
  6. Sorry, I must be really dense. But in the control panel's IIS Manager, there are only 3 things: Custom Error Pages, Directory Browsing, and Default Documents. I don't see anything that could create a directory or make a subweb an application.

    I made the subweb using FrontPage Tool/Manage FrontPage Extension, and thought it would automatically be an IIS application. Apparently, it's not. So ...?

    - reiji
     
  7. My mistake ... you should go to the Web application tool in the control panel [:I] ...

    quote:Originally posted by reiji

    Sorry, I must be really dense. But in the control panel's IIS Manager, there are only 3 things: Custom Error Pages, Directory Browsing, and Default Documents. I don't see anything that could create a directory or make a subweb an application.

    I made the subweb using FrontPage Tool/Manage FrontPage Extension, and thought it would automatically be an IIS application. Apparently, it's not. So ...?

    - reiji
    </blockquote id="quote"></font id="quote">

    --
    Steurm
    www.steurm.net/steurm
     
  8. quote:Originally posted by bruce

    FP subweb is not equivalent to IIS App.

    If you are uploading via VS.net, an application should be created automatically.

    quote:Originally posted by reiji

    Sorry, I must be really dense. But in the control panel's IIS Manager, there are only 3 things: Custom Error Pages, Directory Browsing, and Default Documents. I don't see anything that could create a directory or make a subweb an application.

    I made the subweb using FrontPage Tool/Manage FrontPage Extension, and thought it would automatically be an IIS application. Apparently, it's not. So ...?

    - reiji
    </blockquote id="quote"></font id="quote">
    </blockquote id="quote"></font id="quote">

    Bruce,

    Previously, I copied the project (vs.net copy project) into an existing subdirectory in my domain and it gave me error that directory not an IIS application.

    After reading your message, I copied again to a non-existing directory and then tried to run an aspx file. Here is the error message I got:

    The page cannot be displayed
    You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
    --------------------------------------------------------------------------------

    Please try the following:

    Contact the Web site administrator if you believe this directory should allow execute access.
    HTTP Error 403.1 - Forbidden: Execute access is denied.
    Internet Information Services (IIS)

    --------------------------------------------------------------------------------

    Please instruct. Thank you.


    - reiji
     
  9. Bruce

    Bruce DiscountASP.NET Staff

    We've had some report regarding this matter. Please create a support ticket such that we can look into this in detail.

    quote:Originally posted by reiji

    quote:Originally posted by bruce

    FP subweb is not equivalent to IIS App.

    If you are uploading via VS.net, an application should be created automatically.

    quote:Originally posted by reiji

    Sorry, I must be really dense. But in the control panel's IIS Manager, there are only 3 things: Custom Error Pages, Directory Browsing, and Default Documents. I don't see anything that could create a directory or make a subweb an application.

    I made the subweb using FrontPage Tool/Manage FrontPage Extension, and thought it would automatically be an IIS application. Apparently, it's not. So ...?

    - reiji
    </blockquote id="quote"></font id="quote">
    </blockquote id="quote"></font id="quote">

    Bruce,

    Previously, I copied the project (vs.net copy project) into an existing subdirectory in my domain and it gave me error that directory not an IIS application.

    After reading your message, I copied again to a non-existing directory and then tried to run an aspx file. Here is the error message I got:

    The page cannot be displayed
    You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
    --------------------------------------------------------------------------------

    Please try the following:

    Contact the Web site administrator if you believe this directory should allow execute access.
    HTTP Error 403.1 - Forbidden: Execute access is denied.
    Internet Information Services (IIS)

    --------------------------------------------------------------------------------

    Please instruct. Thank you.


    - reiji
    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page