Copied to clipboard

Flag this post as spam?

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


  • Sören Deger 733 posts 2844 karma points c-trib
    Dec 15, 2014 @ 11:18
    Sören Deger
    0

    nuget install 7.2.0 fails

    Hi all,

    if I start a new website in browser after install nuget package umbraco 7.2.0 I get this error message instead of installation screen:


    My web.config looks after nuget installation very small:

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <configSections>
        <section name="clientDependency" type="ClientDependency.Core.Config.ClientDependencySection, ClientDependency.Core" requirePermission="false" />
        <sectionGroup name="umbracoConfiguration">
          <section name="settings" type="Umbraco.Core.Configuration.UmbracoSettings.UmbracoSettingsSection, Umbraco.Core" requirePermission="false" />
          <section name="BaseRestExtensions" type="Umbraco.Core.Configuration.BaseRest.BaseRestSection, Umbraco.Core" requirePermission="false" />
          <section name="FileSystemProviders" type="Umbraco.Core.Configuration.FileSystemProvidersSection, Umbraco.Core" requirePermission="false" />
          <section name="dashBoard" type="Umbraco.Core.Configuration.Dashboard.DashboardSection, Umbraco.Core" requirePermission="false" />
        </sectionGroup>
      </configSections>
      <system.webServer>
        <handlers>
          <!-- ** Need to add the dependency handler --><remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" />
          <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" />
          <remove name="ExtensionlessUrlHandler-Integrated-4.0" />
          <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0" />
          <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0" />
          <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
        <remove name="DependencyHandler" /><add name="DependencyHandler" preCondition="integratedMode" verb="GET" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " /></handlers>
      <validation validateIntegratedModeConfiguration="false" /><modules runAllManagedModulesForAllRequests="true">
          <remove name="ClientDependencyModule" />
          <!-- ** Need to add the dependency module -->
          <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
        <add name="ImageProcessorModule" type="ImageProcessor.Web.HttpModules.ImageProcessingModule, ImageProcessor.Web" />
        <remove name="WebDAVModule" />
        <add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" />
      </modules>
      <staticContent>
      <remove fileExtension=".svg" />
      <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
      <remove fileExtension=".woff" />
      <mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
      <remove fileExtension=".less" />
      <mimeMap fileExtension=".less" mimeType="text/css" />
      </staticContent>
      </system.webServer>
    <clientDependency>
        <!-- Full config documentation is here: https://github.com/Shandem/ClientDependency/wiki/Configuration -->    
      </clientDependency><system.web>
        <pages>
          <namespaces>
            <add namespace="ClientDependency.Core" />
          <add namespace="ClientDependency.Core.Mvc" /></namespaces>
        </pages>
        <httpModules>
          <!-- ** Need to add the dependency module -->
          <add name="ClientDependencyModule" type="ClientDependency.Core.Module.ClientDependencyModule, ClientDependency.Core" />
        <add name="ImageProcessorModule" type="ImageProcessor.Web.HttpModules.ImageProcessingModule, ImageProcessor.Web" />
        <add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" />
        </httpModules>
        <httpHandlers>
          <!-- ** Need to add the dependency handler -->
          <add verb="GET" path="DependencyHandler.axd" type="ClientDependency.Core.CompositeFiles.CompositeDependencyHandler, ClientDependency.Core " />
        </httpHandlers>
        <compilation>
            <assemblies>
                <remove assembly="System.Web.Http" />
                <remove assembly="System.Net.Http" />
                <add assembly="System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
                <add assembly="System.Web.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
            </assemblies>
        </compilation>
      </system.web>
    <appSettings>
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
    </appSettings>
    <umbracoConfiguration>
    <settings configSource="config\umbracoSettings.config" />
    <BaseRestExtensions configSource="config\BaseRestExtensions.config" />
    <FileSystemProviders configSource="config\FileSystemProviders.config" />
    <dashBoard configSource="config\Dashboard.config" />
    </umbracoConfiguration>
    <system.data>
    <DbProviderFactories>
    <remove invariant="System.Data.SqlServerCe.4.0" />
    <add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe" />
    <remove invariant="MySql.Data.MySqlClient" />
    <add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" />
    </DbProviderFactories>
    </system.data>
    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
    </dependentAssembly>
     <dependentAssembly>
      <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" culture="neutral" />
      <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
     </dependentAssembly>
     <dependentAssembly>
      <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" culture="neutral" />
      <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
     </dependentAssembly>
     <dependentAssembly>
      <assemblyIdentity name="System.Web.WebPages.Razor" publicKeyToken="31bf3856ad364e35" culture="neutral" />
      <bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
     </dependentAssembly>
    </assemblyBinding>
    </runtime>
    <location path="umbraco">
    <system.webServer>
    <urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" />
    </system.webServer>
    </location>
    <location path="App_Plugins">
    <system.webServer>
    <urlCompression doStaticCompression="false" doDynamicCompression="false" dynamicCompressionBeforeCache="false" />
    </system.webServer>
    </location>
    </configuration>

    I have tested it a lot of times, but every time I get the same error.

    If I add this key to web.config:

    <add key="umbracoPath" value="~/umbraco/"/>

    After this I see the installation screen background and the loading bar at bottom, but nothing happens...

    Any ideas? Is this an issue in nuget package?

    I have now instal umbraco 7.1.9 with nuget. After this I have update the nuget-package to 7.2.0. This works great :-) But now, how I can get the new starter kit for 7.2.0?

     

    Best regards 

    Sören

  • MambaStudio 4 posts 24 karma points
    Dec 15, 2014 @ 18:10
    MambaStudio
    0

    Hi,

     

    I'm a newbie of Umbraco CMS, I just started to install it via Nuget and I've the same issue than you.

    I'll try to get the previous version and update to the new one.

     

    Best Regards.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Dec 15, 2014 @ 18:20
    Jan Skovgaard
    0

    Hi Guys

    What operating system are you using? Is it windows 8.1?

    /Jan

  • Sören Deger 733 posts 2844 karma points c-trib
    Dec 15, 2014 @ 19:15
    Sören Deger
    0

    Hi Jan,

    yes, Windows 8.1 pro.

     

    Sören

  • Keith R Hubbard 175 posts 403 karma points
    Dec 15, 2014 @ 19:40
    Keith R Hubbard
    0

    I had a problem with the nuget install not adding the Umbraco and Umbracoclient folders not being added when installed from nuget on Windows 8.1 pro.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Dec 16, 2014 @ 06:07
    Jan Skovgaard
    0

    Are you using resharper? If so then disable it during installation.

    /Jan

  • Sebastiaan Janssen 5044 posts 15475 karma points MVP admin hq
    Dec 16, 2014 @ 08:15
    Sebastiaan Janssen
    0

    Which exsct version of Visual Studio are you using and what version of NuGet? Also, which VS template do you select when starting a new site? The documentation lists which ones work but maybe we can make more of them work, let me know!
    http://our.umbraco.org/documentation/Installation/install-umbraco-with-nuget.

  • Sebastiaan Janssen 5044 posts 15475 karma points MVP admin hq
    Dec 16, 2014 @ 08:17
    Sebastiaan Janssen
    0

    @Keith did you build the solution? That's when those folders are copied in.

  • Sören Deger 733 posts 2844 karma points c-trib
    Dec 16, 2014 @ 08:38
    Sören Deger
    0

    @Jan: No, I don't use resharper.

    @Sebastiaan:

    • nuGet: 2.8.50926.602
    • Visual Studio Professional 2012: V 11.0.61030.00 Update 4
    • .NET Framework: 4.5.51641
    If I starting a new site I select ASP.NET MVC 4 - Webapplications (Empty) and select .NET Framework 4.5
    This has everytime works good on last installs of umbraco 6 and 7 with nuget. Only with 7.2 it doesn't work.
    Sören
  • MambaStudio 4 posts 24 karma points
    Dec 16, 2014 @ 09:42
    MambaStudio
    0

    Hi,

    I'm using :

    • Windows 7 Pro SP1
    • Visual Studio Professional 2013 Update 4
    • NuGet 2.8.50926.663
    • .Net Framework 4.5.1
    I don't use Resharper either and I started with an Empty ASP.Net Application Template.
  • Safak Ulusoy 9 posts 29 karma points
    Dec 27, 2014 @ 21:59
    Safak Ulusoy
    0

    Hello, I have the same exact problem.

    Like Sören did, I added

    <add key="umbracoPath" value="~/umbraco/"/>
    

    ; and againg same process and result, opend the installation screen but nothing happens.

    I opened the Chrome console and found the error :

    "GET http://localhost:38777/install/api/GetSetup 500 (Internal Server Error)"

    Error detail is :

    )]}', {"Message":"An error has occurred.","ExceptionMessage":"The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'.","ExceptionType":"System.InvalidOperationException","StackTrace":null,"InnerException":{"Message":"An error has occurred.","ExceptionMessage":"Error getting value from 'ViewModel' on 'Umbraco.Web.Install.InstallSteps.NewInstallStep'.","ExceptionType":"Newtonsoft.Json.JsonSerializationException","StackTrace":" at Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CalculatePropertyValues(JsonWriter writer, Object value, JsonContainerContract contract, JsonProperty member, JsonProperty property, JsonContract& memberContract, Object& memberValue)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue(JsonWriter writer, Object value, JsonContract valueContract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerProperty)\r\n at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)\r\n at Newtonsoft.Json.JsonSerializer.Serialize(JsonWriter jsonWriter, Object value)\r\n at System.Net.Http.Formatting.JsonMediaTypeFormatter.<>cDisplayClassd.c()\r\n at System.Threading.Tasks.TaskHelpers.RunSynchronously(Action action, CancellationToken token)","InnerException":{"Message":"An error has occurred.","ExceptionMessage":"No membership provider found with name UsersMembershipProvider","ExceptionType":"System.InvalidOperationException","StackTrace":" at Umbraco.Core.Security.MembershipProviderExtensions.GetUsersMembershipProvider()\r\n at Umbraco.Web.Install.InstallSteps.NewInstallStep.get_ViewModel()\r\n at GetViewModel(Object )\r\n at Newtonsoft.Json.Serialization.DynamicValueProvider.GetValue(Object target)"}}}

    I hope a solution will be found shortly.

    Edit:

    My system configuration is

    • Visual studio 2013 update 4
    • Windows 8.1 (single lang - TR)
  • Safak Ulusoy 9 posts 29 karma points
    Dec 28, 2014 @ 01:04
    Safak Ulusoy
    0

    And as Sören said again;

    If I install 7.1.9, it just works, no problem. Probably I can upgrade from there, I will try.

    I noticed one thing that, in 7.1.9 there are 10+ items in appSettings; but there is almost none in web-config file of 7.2.1 or 7.2.0 .

    I wish a solution can be find asap.

    Thank you Sören by the way, I can run umbraco now using nuget package (7.1.9) in vs2013.

  • Safak Ulusoy 9 posts 29 karma points
    Dec 28, 2014 @ 02:12
    Safak Ulusoy
    0

    I tried to upgrade to 7.2.1 but I think It is not worked 100%.

    For example there is no umbraco forms menu in the admin panel; I rebuild the project and cleared chrome cache.

  • Safak Ulusoy 9 posts 29 karma points
    Dec 29, 2014 @ 20:40
    Safak Ulusoy
    0

    Any help ? :) Could not solve the problem myself.

  • Sören Deger 733 posts 2844 karma points c-trib
    Jan 07, 2015 @ 10:26
    Sören Deger
    0

    Hi Safak,

    maybe you must allowed this section for your user in user section manually.

    @Jan, @Sebastiaan:
    I have the same issue with 7.2.1. I can't install umbraco version 7.2.0 or 7.2.1 with nuget. Now, if I install successfully 7.1.9 with nuget and then update to 7.2.1 with nuget umbraco crashed with this error message:
     
     

     

    Cheers

    Sören

  • Sören Deger 733 posts 2844 karma points c-trib
    Jan 07, 2015 @ 10:33
    Sören Deger
    0

    @Jan, @Sebastiaan,

    sorry, after recycling application pool umbraco works after upgrade with nuget :)

    But this can not be a permanent solution. It must be possible that I install umbraco 7.2.1 with nuget directly.

    @Safak:
    I have tested now: Go to user-section, choose your user and give him the permission for forms-section. This works for me and is logical on this update.

     

    Cheers 
    Sören 

     


     

  • Sebastiaan Janssen 5044 posts 15475 karma points MVP admin hq
    Jan 07, 2015 @ 11:54
    Sebastiaan Janssen
    1

    This was also reported as: http://issues.umbraco.org/issue/U4-6052

    I noticed that only people with internationalized versions of Visual Studio have this problem and I think I figured out why this is, during the install we're looking for the text "installing...umbracocms". But of course the word "installing" would be localized for you so it might not be a good indicator. I've updated it so that we're ONLY looking for "...umbracocms" now which might help.

    Could you give it a go by running the following command in your package manager console:

    Install-Package UmbracoCms -Source https://www.myget.org/F/umbraco72nightly/ -Pre

    This should install a 7.2.2 nightly which should have the correct web.config.

  • Sebastiaan Janssen 5044 posts 15475 karma points MVP admin hq
    Jan 07, 2015 @ 12:17
    Sebastiaan Janssen
    1

    Update: Ah, this is not actually the problem I see now. The problem is that our install script is looking to a window in Visual Studio with the title "Package manager console". This title is localized in your case so it has a different name. I'll see if I can think of a way to not rely on the window title.

  • Sören Deger 733 posts 2844 karma points c-trib
    Jan 07, 2015 @ 14:13
    Sören Deger
    0

    Hi Sebastiaan,

    thanks for the reply.

    Good that the cause was found. I look forward to a solution :)

     

    Best

    Sören

  • Sören Deger 733 posts 2844 karma points c-trib
    Jan 27, 2015 @ 10:24
    Sören Deger
    0

    Hi Sebastiaan,

    Is there something new?

     

    Best,

    Sören

  • Sebastiaan Janssen 5044 posts 15475 karma points MVP admin hq
    Feb 10, 2015 @ 17:48
    Sebastiaan Janssen
    100

    Apologies for the delay in fixing this, it turned out to be a bit more tricky than I had hoped. I do believe it should work fine now though but I would REALLY like some confirmations from Turkey, France and Germany (and whatever other country possible).

    Can you run the following in the NuGet Package Manager Console please:

    Install-Package UmbracoCms -Version 7.2.2-nightly22 -Pre -Source https://www.myget.org/F/umbraco72nightly/

    After that you should be able to install without problems. Let me know!

  • Sören Deger 733 posts 2844 karma points c-trib
    Feb 11, 2015 @ 08:19
    Sören Deger
    0

    Hi Sebastiaan,

    I get an install error in NuGet Package Manager Console and it does a rollback:

    Error Message in english: 
    Error on update from "Microsoft.AspNet.Mvc 4.0.20710.0" to "Microsoft.AspNet.Mvc 4.0.30506.0". No Version from "Microsoft.AspNet.Mvc.de" found, which is compatible with "Microsoft.AspNet.Mvc 4.0.30506.0".

     

    Best,

    Sören

     

  • Robin Hansen 135 posts 368 karma points
    Feb 11, 2015 @ 08:25
    Robin Hansen
    0

    I had a similar issue... - I upgraded my Visual SStudio 2013 to ver. 4 - it solved my problem :)

  • Sören Deger 733 posts 2844 karma points c-trib
    Feb 11, 2015 @ 08:36
    Sören Deger
    0

    Hi Robin,

    I have only Visual Studio 2012 (ver. 11.0.61030.00 Update 4)

  • Sebastiaan Janssen 5044 posts 15475 karma points MVP admin hq
    Feb 11, 2015 @ 10:16
    Sebastiaan Janssen
    1

    I find it weird that this is now a problem for 7.2 and not for 7.1.9. as our dependencies have not changed at all. So I wonder if you get this error for 7.1.9 now as well?

    In fact: we depend on Microsoft.AspNet.Mvc of AT LEAST version 4.0.30506 while yours seems to look for 4.0.20710.0, I don't know where that version comes from..

    Also the NuGet package it's looking for is right here and compatible with that (wrong version): https://www.nuget.org/packages/Microsoft.AspNet.Mvc.de/4.0.20710

    So make sure you investigate that, and let me know if Umbraco needs to do anything to help with that.

  • Sören Deger 733 posts 2844 karma points c-trib
    Feb 11, 2015 @ 10:55
    Sören Deger
    0

    Hi Sebastiaan,

    I have checked it again with 7.1.9 and nuget has been installed this version right without errors.

    I do not know why the above error now occurs in 7.2. But I will try next week to check this and give you reply as soon as I found out something.

     

    Thank you for the great support!

     

    Best,

    Sören

  • Sören Deger 733 posts 2844 karma points c-trib
    Feb 11, 2015 @ 12:03
    Sören Deger
    0

    Hi Sebastiaan,

    it works now! At first I have installed the version 4.0.30506 of ASP.NET MVC 4 (https://www.nuget.org/packages/Microsoft.AspNet.Mvc.de/4.0.30506) and after this I have installed the nightly with your nuget command above.

    Thanks!

     

    Best, Sören

  • Sören Deger 733 posts 2844 karma points c-trib
    Feb 23, 2015 @ 08:38
    Sören Deger
    0

    Hi Sebastiaan,

    Still an information: it works also with the finale 7.2.2 release! Thanks :)

     

    Sören

Please Sign in or register to post replies

Write your reply to:

Draft