Copied to clipboard

Flag this post as spam?

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


  • Joel 23 posts 108 karma points
    Feb 06, 2016 @ 21:30
    Joel
    0

    Sequence contains no elements

    I'm having an error when installing a fresh copy of v7.3.7

    Error during installation
    Sequence contains
    no elements
    

    The first couple of lines of the log files shows the following:

    2016-02-07 08:05:15,822 [P10416/D2/T11] INFO  Umbraco.Web.Install.Controllers.InstallApiController - Executing installation step: DatabaseConfigure
     2016-02-07 08:05:15,822 [P10416/D2/T11] ERROR Umbraco.Web.Install.Controllers.InstallApiController - Installation step DatabaseConfigure failed.
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Sequence contains no elements
       at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
    

    It's a standard SQL Server 2012 Express install on Windows Server 2012 R2. There is only one other database on the server and it's working fine.

    Any ideas?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 06, 2016 @ 23:23
    Jan Skovgaard
    0

    Hi Joel

    I remember seeing this one before - Can't remember the cause of it though. Have not seen it for this particular version but I have seen it in older versions...I'm just wondering how you did the install? Was it manually or using nuget? I'm wondering if for some reason some files are missing or if some permissions have not been set for some reason.

    Do you have a local copy or have you installed it directly on the server? And have you double checked that the requirements for running Umbraco are in place https://our.umbraco.org/documentation/Getting-Started/Setup/Requirements/ - Perhaps it's also a good idea to check the list of permissions needed to be set https://our.umbraco.org/documentation/Getting-Started/Setup/Server-Setup/permissions

    Hope this helps!

    /Jan

  • Joel 23 posts 108 karma points
    Feb 07, 2016 @ 17:46
    Joel
    0

    Thanks for the info Jan. I installed it manually, ie. upload files, setup permissions, setup database, and then run the installer.

    The database connection works fine and there are no permissions issues as it normally flags them for you if there are.

    I might just remove the install and start again.

  • Joel 23 posts 108 karma points
    Feb 09, 2016 @ 09:25
    Joel
    0

    A quick follow up - I deleted all files and the database and set it all up again and this time it went much better! Not sure what the issue was the first time as I used the same process the second time around without any issues.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 09, 2016 @ 20:39
    Jan Skovgaard
    0

    Hi Joel

    Very happy to hear you managed to move forward but still wondering what it is that triggers the issue sometimes. Perhaps some files have been missing for some weird reason...But who knows...But I hope you'll have a much more pleasant time with Umbraco from now on :)

    Happy coding!

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft