# Deployment to production issue (umbraco 16.0.0)

**URL:** <https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736>\
**Category:** Questions\
**Tags:** v16\
**Created:** [September 7, 2025, 10:24pm UTC](https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736 "2025-09-07T22:24:42Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgoasduff](https://forum.umbraco.com/user_avatar/forum.umbraco.com/cgoasduff/32/4242_2.png) [@cgoasduff](https://forum.umbraco.com/u/cgoasduff)\
**Post date:** [September 7, 2025, 10:24pm UTC](https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736/1 "2025-09-07T22:24:42Z")

</div>

Hello!!

I run umbraco 16 from a local environment, I built a website using Visual studio backed up my database and restored in on production. I created a publishing profile in Visual studio, that copied the files on a local folder. I uploaded those files on production. I updated appsettings.json on production so that the connection string is connected to my production database. .Net framework is the same version on both local and production.

If I connect to my database using sql server management studio, I can see that it is the same as my local database. Users and content are there. DB user has `db_datareader`, `db_datawriter`, and `db_ddladmin`

**However when I call my domain name that connects to production. I am redirected to umbraco/install as if it was a new instance.**

I checked with ChatGpt and other AI who told me to add this in appsettings.json

```auto
"Umbraco": {
  "CMS": {
    "RuntimeMinConfiguration": {
      "ConfigurationStatus": "16.0.0"
    }
  }
}

```

and also to add in my DB

```auto
SELECT * FROM umbracoKeyValue WHERE [key] = 'Umbraco.Core.ConfigurationStatus';

```

Done all that, but still the same issue!

Any idea please ? Thanks you!!

---

<div class="post-metadata">

**Author:** ![Saeve](https://forum.umbraco.com/user_avatar/forum.umbraco.com/saeve/32/405_2.png) [@Saeve](https://forum.umbraco.com/u/Saeve)\
**Post date:** [September 8, 2025, 6:52am UTC](https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736/2 "2025-09-08T06:52:30Z")

</div>

Hi and welcome to the forum 🙂

If you see the Umbraco install screen when you visit the site, then it’s almost always a symptom of Umbraco not being able to talk to the database.

You should concentrate you debugging effort on that.

You’re not mentioning where and on what your hosting in production, so assuming it’s on Windows using IIS, then you might have to Recycle the App Pool after changing appsettings.  
Could you show the connection string setting for production and tell which appsettings files it’s in?  
**DON’T INCLUDE PASSWORD, USERNAME OR SERVER.**

As for the ChatGPT response, that is not really going to do much for you.  
It’s using a wrong key and the Minification was removed in V14:

> **[Configuration | Umbraco CMS](https://docs.umbraco.com/umbraco-cms/reference/configuration)**
>
> Information on configuring Umbraco

 ![image](https://forum.umbraco.com/uploads/default/original/2X/3/3bbd95a185623f193f5a95d83f63c131593c002b.png)

You should also never really have to do anything directly in the database.

---

<div class="post-metadata">

**Author:** ![cgoasduff](https://forum.umbraco.com/user_avatar/forum.umbraco.com/cgoasduff/32/4242_2.png) [@cgoasduff](https://forum.umbraco.com/u/cgoasduff)\
**Post date:** [September 8, 2025, 7:49am UTC](https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736/3 "2025-09-08T07:49:12Z")

</div>

Hi Saeve, thanks for taking the time.

Here is the connection string looks like so:

![image](https://forum.umbraco.com/uploads/default/original/2X/0/06626a4b2d1ebbbe19640fb849c3a616f6861415.png)

I also tried the same connection using the IP address of the server (no joy)

Interestingly I can connect using SQL management studio using the same credential!

The other thing I did, was to test by changing the connection string from my local DB to connecto to the Production DB using their IP address. I also end up with the Umbraco install page.

I am not too sure what to do next. The hosting company is quite responsive, but not sure what to ask them at this stage.

here are the user’s permission

 ![image](https://forum.umbraco.com/uploads/default/original/2X/e/e46c199a72e71b3df34bd238630e780745dc773f.png)

Also I noticed that the sql server version is slightly different (which didn’t seems to generate any errors when I restored the local db content to production

PROD

 ![image](https://forum.umbraco.com/uploads/default/original/2X/7/73851194e1ff245f0f93f72d977efe5fcfbfe185.png)

LOCAL

 ![image](https://forum.umbraco.com/uploads/default/original/2X/c/c10c962db64e3636200fe151a2484ea0c75cb3c2.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![mistyn8](https://forum.umbraco.com/user_avatar/forum.umbraco.com/mistyn8/32/671_2.png) [@mistyn8](https://forum.umbraco.com/u/mistyn8)\
**Post date:** [September 8, 2025, 9:19am UTC](https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736/4 "2025-09-08T09:19:40Z")

</div>

Probably also need info on your infrastructure..  
Is your Production Env a server with web head and sql server on the same box?

> Interestingly I can connect using SQL management studio using the same credential!

When you say this the assumption is that you are running SQL Mgmt on the production box (remote desktop)?

But would help troubleshoot with concrete info 🙂

Another quick check could be to add your db user to the `db_owner` role.. to discount any permissions issues with the login and Umbraco specifically.  
(though you are following the docs for a restricted db\_user [Requirements | Umbraco CMS](https://docs.umbraco.com/umbraco-cms/fundamentals/setup/requirements#database-account-roles))

---

<div class="post-metadata">

**Author:** ![glombek](https://forum.umbraco.com/user_avatar/forum.umbraco.com/glombek/32/2089_2.png) [@glombek](https://forum.umbraco.com/u/glombek)\
**Post date:** [September 8, 2025, 9:54am UTC](https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736/5 "2025-09-08T09:54:35Z")

</div>

In my experience, if you’re redirected to the login screen it means the connection string is empty or the configured version is wrong. If Umbraco can’t connect to the database it will error.

From the thread it looks like you’ve covered off the ConfigurationStatus issue.

This leaves a blank connection string. Are there other appsettings environment files that match the ASPNETCORE\_ENVIRONMENT your site is running in? Is your publish profile correctly setting the environment? Is there anything overriding appsettings in your hosting environment?

---

<div class="post-metadata">

**Author:** ![Saeve](https://forum.umbraco.com/user_avatar/forum.umbraco.com/saeve/32/405_2.png) [@Saeve](https://forum.umbraco.com/u/Saeve)\
**Post date:** [September 8, 2025, 11:02am UTC](https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736/6 "2025-09-08T11:02:17Z")

</div>

You, usually, cannot just connect to a SQL Server from outside a trusted/internal network.  
So I wouldn’t expect this to work:

> [@cgoasduff](#):
>
> The other thing I did, was to test by changing the connection string from my local DB to connecto to the Production DB using their IP address. I also end up with the Umbraco install page.

As others state, what is you infrastructure setup?  
Are there multiple server, are Umbraco and SQL Server in the same machine.

Also, did you recycle the site after modifying the appsettings?  
Are you modifying just `appsettings.json`or are you using `appsettings.{Environtment}.json`?

The connection string you provided looks fine, if Umbraco is on the same server as your SQL server.

---

<div class="post-metadata">

**Author:** ![cheeseytoastie](https://forum.umbraco.com/user_avatar/forum.umbraco.com/cheeseytoastie/32/1423_2.png) [@cheeseytoastie](https://forum.umbraco.com/u/cheeseytoastie)\
**Post date:** [September 9, 2025, 6:21am UTC](https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736/7 "2025-09-09T06:21:58Z")

</div>

Without revealing your DB password - check for special chars - if there’s anything like quotes they might need escaping. Used to be more of a problem with xml based web.configs but try wrapping your password in quotes.

But more likely this looks like either:

1. You’ve changed the app settings.json for production after the site has started and it needs restarting to pickup your changed conn str?

2. You have an ASPNETCORE\_ENVIRONMENT setting setup and it’s actually using an environment version of the app settings.json and this sql connection is being overridden with an incorrect one.

3. You possibly could have a secrets file in the hosting setup that’s overriding your app settings.

---

<div class="post-metadata">

**Author:** ![mistyn8](https://forum.umbraco.com/user_avatar/forum.umbraco.com/mistyn8/32/671_2.png) [@mistyn8](https://forum.umbraco.com/u/mistyn8)\
**Post date:** [September 9, 2025, 2:07pm UTC](https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736/8 "2025-09-09T14:07:36Z")

</div>

PS appsettings.secrets.json out of the box is only applied if ASPNETCORE\_ENVIRONMENT is Development.. (which on a production box hopefully not)

Though equally could have anyone of a few mechanisms overriding, like azure\_appservice → configuration → environment vars… Or a keyVault etc…

---

<div class="post-metadata">

**Author:** ![cgoasduff](https://forum.umbraco.com/user_avatar/forum.umbraco.com/cgoasduff/32/4242_2.png) [@cgoasduff](https://forum.umbraco.com/u/cgoasduff)\
**Post date:** [September 15, 2025, 1:00pm UTC](https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736/9 "2025-09-15T13:00:09Z")

</div>

I wanted to thank you all, I really appreciated you taking time to assist.

The issue is now fixed and it was indeed database related. On my local machine, my Umbraco database was using the default Schema dbo. When I restored the DB to production, the SQL login I had to create wasn’t mapped to dbo. as its default schema.

SQL used as schema the same name as the DB user on my hosting environment “myUser\_DB“. o when Umbraco connects, it looks for tables in the current schema.

Since it doesn’t find them in “myUser\_DB”, it assumes no install exists and creates fresh tables in that schema, next to your my real content in dbo.

Fix was to set dbo. as default schema for my DB user, and all is well Hope this makes sense!

---

<div class="post-metadata">

**Author:** ![system](https://forum.umbraco.com/uploads/default/original/1X/624adeddd330a3d0268a184db47946ca7e82c676.png) [@system](https://forum.umbraco.com/u/system)\
**Post date:** [October 15, 2025, 1:00pm UTC](https://forum.umbraco.com/t/deployment-to-production-issue-umbraco-16-0-0/5736/10 "2025-10-15T13:00:42Z")

</div>

Closed on October 15, 2025, 1:00pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
