Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • prachi 8 posts 28 karma points
    Dec 31, 2010 @ 11:35
    prachi
    0

    Configuration Error while first time installation

    I have installed umbraco 4.5.2 on my pc. I got successful msg, but when I open localhost in browser, I came accross a configuration error as follows:

     

    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 72:     <customErrors mode="Off" />
    Line 73: <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
    Line 74: <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
    Line 75: <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" />
    Line 76: <xhtmlConformance mode="Strict" />


    Source File: E:\Umbraco_Test\newcms\web.config    Line: 74

     

    Any one can guide me in this regard?

     

    Thanks,

    Prachi

    Show Additional Configuration Errors:

    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. (E:\Umbraco_Test\newcms\web.config line 133)
    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. (E:\Umbraco_Test\newcms\web.config line 142)
    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. (E:\Umbraco_Test\newcms\web.config line 151)
    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. (E:\Umbraco_Test\newcms\web.config line 159)


    Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

  • John C Scott 473 posts 1183 karma points
    Dec 31, 2010 @ 11:39
    John C Scott
    0

    Hi Prachi

    Are you trying to install umbraco in a virtual directory?

    My understanding is that this can be difficult to get to work.

    It is better if it can be in a real directory under IIS.

    John

  • prachi 8 posts 28 karma points
    Dec 31, 2010 @ 11:51
    prachi
    0

    Hi John,

    I have installed umbraco in the real directory, but now i m gettingthe error as :

    Server Error in '/' Application.

    The resource cannot be found.

    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

    Requested URL: /New_Test/install/default.aspx


    Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927

     

    The files is there in the directory. Wht might be the reason for this?

    Prachi.

  • John C Scott 473 posts 1183 karma points
    Dec 31, 2010 @ 13:04
    John C Scott
    0

    It works best as the root directory.

    However I believe it should work as a sub-directory as you have here.

    I've never done this though.

Please Sign in or register to post replies

Write your reply to:

Draft