We just deployed our instance of Umbraco on Azure to test something and discovered that it actually created a database somewhere. We have no connection string defined for an SQL database, but looks like it has done it anyway.
Does anyone have an idea on where this is created? We are unable to locate it :D
During the install, if you don't click the option to customize the install, it will generate a SQLCE database for you, guessing this is what happened in your case.
Hi Amir, I dont think that is what happened. Locally it creates an MDF file, and that same file has been uploaded to Azure too but the site is blank. I looked into the code too and umbraco.installer.js has a line where it seems to check the db:
So the SQL connection string in the web.config is actually empty? You should be getting an error on the front-end of the site at least if that's the case.
Glad you got it sorted! Just a heads up, I think its not best practice to use CE in production for sites of any scale. We've never done it but I've seen various articles about issues over the years.
Microsoft SQL Azure...where does it go?
Hi all,
We just deployed our instance of Umbraco on Azure to test something and discovered that it actually created a database somewhere. We have no connection string defined for an SQL database, but looks like it has done it anyway.
Does anyone have an idea on where this is created? We are unable to locate it :D
Thank you!! Genc
During the install, if you don't click the option to customize the install, it will generate a SQLCE database for you, guessing this is what happened in your case.
Hi Amir, I dont think that is what happened. Locally it creates an MDF file, and that same file has been uploaded to Azure too but the site is blank. I looked into the code too and umbraco.installer.js has a line where it seems to check the db:
So this is all on Azure (i am no expert sorry). Very strange we cannot figure out where this SQL Azure is sitting. Thank you!!
So the SQL connection string in the web.config is actually empty? You should be getting an error on the front-end of the site at least if that's the case.
We figured it out. It created an SDF :D I didnt have access to see but just checked now. Guess it works with SQLCE on Azure! Thank you Amir!
Glad you got it sorted! Just a heads up, I think its not best practice to use CE in production for sites of any scale. We've never done it but I've seen various articles about issues over the years.
Info on migrating to SQL Server here: https://our.umbraco.com/forum/using-umbraco-and-getting-started/80077-please-help-convert-umbraco-sdf-database-to-sql-server-2012
Indeed! Just set up a proper DB on Azure and works fine. Thank you!
is working on a reply...