Copied to clipboard

Flag this post as spam?

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


  • Gournis 12 posts 32 karma points
    Jul 26, 2010 @ 19:23
    Gournis
    0

    Configuration Error: web.config Line: 154

    hello  everybody

    this is my first post, and unfortunately is about a problem. more accurate is about a problem with installation:
    i follow the instructions, and gone with Cassini. But when i Run Umbraco’s Web-based Installer, i get this message:

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

    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: Unrecognized configuration section system.web.extensions.

    Source Error:

    Line 152:
    Line 153: <!-- ASPNETAJAX -->
    Line 154: <system.web.extensions>
    Line 155: <scripting>
    Line 156: <scriptResourceHandler enableCompression="true" enableCaching="true" />


    Source File: C:\Inetpub\wwwroot\build\web.config Line: 154

    Version Information: Microsoft .NET Framework Version:2.0.50727.3607; ASP.NET Version:2.0.50727.3082

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

    thanks for take the time to read.

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jul 26, 2010 @ 19:36
    Lee Kelleher
    0

    HI Gournis, welcome to the Umbraco community!

    Which version of Umbraco are you using? If its the latest version (v4.5.1), was it for .NET 3.5 or 4.0? (so many choices!)

    It sounds like there are configuration sections missing from the top of your Web.config file.  Try adding the following into the <configSections>:

    <!-- ASPNETAJAX -->
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
        <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
            <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
            <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" />
                <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
                <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" />
            </sectionGroup>
        </sectionGroup>
    </sectionGroup>

    Cheers, Lee.

  • Gournis 12 posts 32 karma points
    Jul 27, 2010 @ 07:10
    Gournis
    0

    thanks Lee Kelleher for your reply. i use the latest version that i download from the main page. on cassidi server.  By adding the above line, the message is change in:
    -----------------------------------------------

    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: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

    Source Error:

    Line 116: </httpHandlers>
    Line 117:
    Line 118: <compilation defaultLanguage="c#" debug="false" batch="false" targetFramework="4.0">
    Line 119: <assemblies>
    Line 120: <!-- ASP.NET 4.0 Assemblies -->


    Source File: C:\Inetpub\wwwroot\build\web.config Line: 118

    Version Information: Microsoft .NET Framework Version:2.0.50727.3607; ASP.NET Version:2.0.50727.3082

     

     

  • Kenneth Rasmussen 29 posts 21 karma points
    Jul 27, 2010 @ 07:49
    Kenneth Rasmussen
    0

    Perhaps ASPNETAJAX needs to be installed on the server? :)

  • Gournis 12 posts 32 karma points
    Jul 27, 2010 @ 07:55
    Gournis
    0

    i re-instal and  here is the new message:

    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: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

    Source Error:

    Line 116:
    Line 117:
    Line 118:
    Line 119:
    Line 120:


    Source File: C:\Inetpub\wwwroot\build\web.config Line: 118

    Version Information: Microsoft .NET Framework Version:2.0.50727.3607; ASP.NET Version:2.0.50727.3082

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jul 27, 2010 @ 10:46
    Lee Kelleher
    0

    Hi Gournis,

    It still sounds like you have a mish-mash between the versions of ASP.NET on your machine.  Guessing that you need .NET 3.5?

    Best bet is to re-download it from CodePlex, the 3.5 version is under "Other Available Downloads" (direct download here)

    That will have the correct Web.config for you.

    Good luck, Lee.

  • Gournis 12 posts 32 karma points
    Jul 27, 2010 @ 17:31
    Gournis
    0

    and yes Lee Kelleher, you are wright. thanks again all you guys that help me

  • Gournis 12 posts 32 karma points
    Jul 27, 2010 @ 17:53
    Gournis
    0

    uuups an other problem is arise:
    no embeded database. only MySQL & Microsoft SQL server

    no what;

  • Gournis 12 posts 32 karma points
    Jul 27, 2010 @ 17:54
    Gournis
    0

    (now what)

     

  • Sascha Wolter 615 posts 1101 karma points
    Jul 27, 2010 @ 18:03
    Sascha Wolter
    1

    Hi Gournis,

    you can use an embedded database by creating your own custom connection string (or let VS create it for you ;) and selecting "custom" from the dropdown. Have never tried, but there were a couple of forum posts lately concerning this.

    Sascha

  • Gournis 12 posts 32 karma points
    Jul 28, 2010 @ 07:34
    Gournis
    0

    thanks Sascha Wolter very helpgull

  • mulmad 1 post 21 karma points
    Aug 10, 2010 @ 15:45
    mulmad
    0

    I'm having the same Configuration Error (line 154) on my first attempt to install umbraco on my local w7 using ultidev cassini.

    I have the following .NET frameworks installed on my box:

    [v1.0.3705]
    [v1.1.4322]
    [v2.0.50727]
    [v3.0]
    [v3.5]
    [v4.0.30319]

    and below is a snap shot of my C:\Windows\assembly

    System.Web 2.0.0.0 b03f5f7f11d50a3a x86
    System.Web.Abstractions 3.5.0.0 31bf3856ad364e35 MSIL
    System.Web.DynamicData 3.5.0.0 31bf3856ad364e35 MSIL
    System.Web.DynamicData.Design 3.5.0.0 31bf3856ad364e35 MSIL
    System.Web.Entity 3.5.0.0 b77a5c561934e089 MSIL
    System.Web.Entity.Design 3.5.0.0 b77a5c561934e089 MSIL
    System.Web.Extensions 3.5.0.0 31bf3856ad364e35 MSIL
    System.Web.Extensions.Design 3.5.0.0 31bf3856ad364e35 MSIL
    System.Web.Mobile 2.0.0.0 b03f5f7f11d50a3a MSIL
    System.Web.Mvc 2.0.0.0 31bf3856ad364e35 MSIL
    System.Web.RegularExpressions 2.0.0.0 b03f5f7f11d50a3a MSIL
    System.Web.Routing 3.5.0.0 31bf3856ad364e35 MSIL
    System.Web.Services 2.0.0.0 b03f5f7f11d50a3a MSIL

    Gournis, what was your solution?

  • Gournis 12 posts 32 karma points
    Aug 11, 2010 @ 10:42
    Gournis
    0

    well, its wasnt really a solution but a way to go:

    i end up with a host solution, since i went for vacation in a greek island, and i dont want to carry on my tower. just a small laptop is good enough.
    I made  use of online microsoft instaler form my provider. its by far more simpler, but am sure you can use the localhost microsoft instaler.

    to be tottaly honest, after i follow the advise from Lee Kelleher, everything was ok, but i try to avoid the localogost database thing.

    Also the advise for the ready DB was really fine

     

     

Please Sign in or register to post replies

Write your reply to:

Draft