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?
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.
)]}',
{"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)"}}}
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:
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.
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:
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.
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:
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".
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..
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.
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:
I have tested it a lot of times, but every time I get the same error.
If I add this key to web.config:
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
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.
Hi Guys
What operating system are you using? Is it windows 8.1?
/Jan
Hi Jan,
yes, Windows 8.1 pro.
Sören
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.
Are you using resharper? If so then disable it during installation.
/Jan
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.
@Keith did you build the solution? That's when those folders are copied in.
@Jan: No, I don't use resharper.
@Sebastiaan:
Hi,
I'm using :
Hello, I have the same exact problem.
Like Sören did, I added
; 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
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.
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.
Any help ? :) Could not solve the problem myself.
Hi Safak,
maybe you must allowed this section for your user in user section manually.
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
@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
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.
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.
Hi Sebastiaan,
thanks for the reply.
Good that the cause was found. I look forward to a solution :)
Best
Sören
Hi Sebastiaan,
Is there something new?
Best,
Sören
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!
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
I had a similar issue... - I upgraded my Visual SStudio 2013 to ver. 4 - it solved my problem :)
Hi Robin,
I have only Visual Studio 2012 (ver. 11.0.61030.00 Update 4)
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.
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
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
Hi Sebastiaan,
Still an information: it works also with the finale 7.2.2 release! Thanks :)
Sören
is working on a reply...