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!!
"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)
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.
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.
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:
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.
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!!
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)
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.
well, that worked once, as soon as I changed something locally and updated the web site it fails to work :( with the same error.
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.
Finally got it up and running, deleted everything, rebooted the server then reinstalled the website.
So far so good :D
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:I just changed it to:
This probably wasn't your issue, but I figured I'd post this in case someone else happens by.
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!!
Glad to be of service. Best of luck on your Umbraco journey 🙂
is working on a reply...