Copied to clipboard

Flag this post as spam?

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


  • Hubert Thalmann 57 posts 263 karma points
    May 03, 2017 @ 15:24
    Hubert Thalmann
    0

    Specified Cast is not valid

    enter image description here

    I've set up a empty Umbraco and then i added the Umazel Starter Kit and when i try to get on my Site i get this Error.

    What am i doing wrong?

    please help.

    set up with Visual Studio Nuget <-

  • Hubert Thalmann 57 posts 263 karma points
    May 04, 2017 @ 13:58
    Hubert Thalmann
    0

    I tried it then with Umbraco 7.6 that doesn't seemed to work.

    Now i've set up with 7.5.12 and it works! :)

  • Neil Hodges 338 posts 987 karma points
    May 04, 2017 @ 15:00
    Neil Hodges
    0

    Hi

    This may be to do with the breaking changes in Version 7.6 Property Value Converters are now used within v7.6 and I had an issue with the MultinodeTreePicker returning the wrong format.

    Here is a list of the breaking changes for v7.6 - https://our.umbraco.org/documentation/Getting-Started/Setup/Upgrading/760-breaking-changes

    I switched the EnablePropertyValueConverters setting in the umbracoSetting.config to false to enable my site to work again. Once the doc's are up to date i'll return this to true and convert the razor code to use PropertyValueConverters.

  • Nitin Anand 46 posts 178 karma points
    May 12, 2017 @ 20:24
    Nitin Anand
    0

    this works for me. thanks for saving my time

  • Daryl 21 posts 114 karma points
    Aug 08, 2017 @ 07:14
    Daryl
    2

    I just came across this when using Umazel in 7.6.4, and modified the int call to:

    switch (currSection.TitleSize.ToString().AsInt())

    Now works fine...

  • Gerard 3 posts 74 karma points
    Mar 05, 2018 @ 20:38
    Gerard
    0

    This solution works in 7.9.2 as well! I suggest the uMazel coders update this fix in there package.

  • Simeon Ostberg 123 posts 389 karma points
    Mar 08, 2018 @ 13:47
    Simeon Ostberg
    1

    Hi!

    Where can I find the

    switch (currSection.TitleSize.ToString().AsInt())
    

    ?

    Thanks, Simeon

    EDIT: SORRY, I FOUND IT...

  • Rasmus Svinding 1 post 71 karma points
    Oct 21, 2018 @ 16:55
    Rasmus Svinding
    0

    Had to create a small website "should be ready yesterday"-style (yup.. that kind of client) and stumbled across this issue as well.

    Changing line 16 to "switch (currSection.TitleSize.ToString().AsInt())" also works in 7.12.3 (Umazel installed from package repo).

Please Sign in or register to post replies

Write your reply to:

Draft