Copied to clipboard

Flag this post as spam?

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


  • Ryan 2 posts 22 karma points
    Oct 12, 2010 @ 23:58
    Ryan
    0

    new installation config error

    I just installed umbraco using the Web Platform installer.

    When launching cms site to: http://localhost/test/install/default.aspx

    I get an error with the web.config:

    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: C:\inetpub\wwwroot\test\web.config    Line: 74

    The database was created. Should I have to edit the web.config or did IIS not get setup properly??

    I chose new site during the installation process.

    Thanks in advance.

  • Ryan 2 posts 22 karma points
    Oct 13, 2010 @ 00:08
    Ryan
    0

    Sorry, I'm on windows 7, Not exactly sure which version the Web platform installed

  • Colin 4 posts 24 karma points
    Oct 13, 2010 @ 04:02
    Colin
    0

    I got that error too after trying to fix a web.config error.

     

    I'm also on Windows 7

  • Alejo Espinosa 1 post 21 karma points
    Nov 25, 2010 @ 01:08
    Alejo Espinosa
    0

    Hey guys i just installed umbraco, and i got the same error after running the default page. I dont know if this has to do with me using a remote database from a shared hosting. Please I need help on this one fellas ! I need to start working on a site asap. Thanks a lot !!

    Umbraco creators please do not abandon us lol !

    Line 73:     <customErrors mode="Off" />
    Line 74:     <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
    Line 75:     <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 76:     <globalization requestEncoding="UTF-8" responseEncoding="UTF-8" />
    Line 77:     <xhtmlConformance mode="Strict" />

    Im using Windows Vista, Web Developer Express 2008, SQL Express 2008 running locally and SQL 2005 running on my Shared hosting.

    Another thing i noticed is that the ConnectionString section has no connection string specified:

      <connectionStrings>
        <remove name="LocalSqlServer" />
        <!--<add name="LocalSqlServer" connectionString="server=.\sqlexpress;database=aspnetdb;user id=DBUSER;password=DBPASSWORD" providerName="System.Data.SqlClient"/>-->
      </connectionStrings>

    The only part where there is a link to my remote database is wheere the umbracoDbDSN value is specified.

    Thanks for your help

     

  • Johan Plesner Hamann 105 posts 199 karma points
    Nov 30, 2010 @ 22:14
    Johan Plesner Hamann
    0

    Hello

    You can read this guide. it is originally Danish. like this text is translated by google.

    Hope this can help you. 

    zargo.dk/web-sans/umbraco/manuel-installation-af-umbraco-paa-localhost.aspx


    Johan :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies