Copied to clipboard

Flag this post as spam?

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


  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Jun 06, 2022 @ 07:40
    Huw Reddick
    0

    BootFailedException Problem with published site in IIS

    Having a problem getting a new site running on my server.

    I have published and copied all the files and restored a copy of the database I am using locally, however when I try to connect to the site on the server I just get a boot failed error.

    Log file says

    Umbraco.Cms.Core.Exceptions.BootFailedException: Could not check the upgrade state

    What upgrade state? I'm not doing an upgrade this is a brand new clean install!!

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Jun 06, 2022 @ 07:45
    Huw Reddick
    0

    seems to be failing here

    "Could not check the upgrade state.","@l":"Warning","@x":"System.InvalidOperationException: Instance failure.\r\n at System.Data.SqlClient.TdsParser.Connect

    No idea why though as all settings for user and sql are correct.

    (My Umbraco 8 site connects to the sql server just fine)

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Jun 06, 2022 @ 09:44
    Huw Reddick
    0

    Nothing wrong with the database connection string or permissions.

    I managed to get it to work by setting the connection string to null in the settings file, this then redirected me to the setup screen, I added the settings for exactly the same restored database and that fixed it for some reason.

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Jun 06, 2022 @ 10:05
    Huw Reddick
    0

    well, that worked once, as soon as I changed something locally and updated the web site it fails to work :( with the same error.

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Jun 06, 2022 @ 13:39
    Huw Reddick
    0

    Well, I can point my local copy at the remote database and everything runs just fine, but on the server it still fails with the same upgrade check error. Even tried using the sql admin account, same issue, so it can't be a SQL permission problem.

    Just about ready to give up wasted an entire day trying to get it running.

    Seems I can get a clean install up and running but as soon as I need to update the remote site I run back into this problem.

    Will just have to fire the v8 version back up.

  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Jun 06, 2022 @ 15:12
    Huw Reddick
    0

    Finally got it up and running, deleted everything, rebooted the server then reinstalled the website.

    So far so good :D

  • Heather Floyd 610 posts 1032 karma points MVP 6x c-trib
    Dec 16, 2022 @ 18:39
    Heather Floyd
    1

    I got the same "System.InvalidOperationException: Instance failure." error when attempting to stand up a local copy of a v8 site. In my case the issue was that the Connection string had 2 \\ instead of 1 ex:

    <add name="umbracoDbDSN" connectionString="server=.\\SQL2019;database=...
    

    I just changed it to:

    <add name="umbracoDbDSN" connectionString="server=.\SQL2019;database=...
    

    This probably wasn't your issue, but I figured I'd post this in case someone else happens by.

  • Andy Walker 7 posts 41 karma points
    Sep 18, 2024 @ 15:40
    Andy Walker
    0

    Thank you Heather - couple years later - I'm trying to understand Umbraco and how we can utilize this - so was playing w/ using EnvironmentVariables via IIS - and while I found many other mistakes in my previous trys, this ended up being the final issue.

    Thanks again Heather!!

  • Heather Floyd 610 posts 1032 karma points MVP 6x c-trib
    Sep 18, 2024 @ 18:05
    Heather Floyd
    0

    Glad to be of service. Best of luck on your Umbraco journey 🙂

Please Sign in or register to post replies

Write your reply to:

Draft