Struggles deploying an umbraco built blog - sql-server

I'm struggling deploying an umbraco built blog through Microsoft Azure.
I have a finished Umbraco database i exported to Microsoft Azure SQL Database.
I have a finished the blog i've deployed to an Azure app service.
I have connected the blog to the Azure SQL Database connectionstring.
But when i publish my website i get redirected to an Umbraco first-time-install. Instead of my Homepage with all the contents. And i know the tables are in the Azure SQL Database through MSSQL.
The blog works perfectly on localhost. I run IIS if that could be something that makes a difference.
Any ideas what i miss?

Is it saying you need to upgrade or install? If it is install then your connection string is either wrong or your database is not an Umbraco database.

Related

Dokerizing .NET Web API (with EF Core) with SQL Server Database in order to deploy on DigitalOcean

Im trying to dokerize my .NET Web API application that is connected to an SQL Server database in order to be able to deploy it on Digital Ocean.
Since DigitalOcean does not support .NET applications, I need to dockerize it in order to deploy it there. The app itself is connected to a SQL Server Database and when I dockerize it I cannot access the database. The database uses "Windows Authentication" in SQL Server and it seems that because of this, it is harder to dockerize and conncect (through containers) the .NET application to the database.
My question is:
Is it necessary to make this connection and dockerize both the .NET application and the SQL Server Database or is this something that is not required to deploy the application since the database will have to be migrated to DigitalOcean.
I'm looking for someone that is familiar with DigitalOcean and knows about application deployment there.
Thank you!

Deploying SQL Server dacpac scripts through AWS codepipeline/codebuild

We are migrating an application from Azure to AWS and we have migrated the SQL Server database to AWS RDS SQL Server database.
In AWS we use codepipeline / codebuild to deploy our application and which is pretty much automated when a push happens to github we have an application deployed. Similarly we also want any DB changes to also be deployed via pipeline.
We will have the dacpac scripts available when we build our project and all we need is to deploy these dacpac scripts from codepipeline to AWS RDS, so I researched to see if this is possible and how to achieve, but I got little help. If any of you have implemented this or are aware, can please help to share your experience, would be highly appreciated.
Thanks in advance.

How to connect Android Studio with SQL Server database hosted in aws rds?

We currently have a .net application which is using MSSQL database hosted in aws rds instance. Now we are trying to build a application in android using the already existing database. But i'm not getting how to connect. First i tried if there are any sdk available to directly communicate. Unfortunately no such options are available. I tried with normal php api to connect with aws rds. But it works only for mysql server.
Thank you.

Database Schema Migration on Azure with Git Deployment

I am looking for a means to use Git deployment on Windows Azure together with either their MySQL or other database solutions.
I need a means of migrating database schema changes as part of deployment - does Azure provide support for this without using Visual Studio or .NET.
You basically want to use Azure as a Continuous Integration (CI) platform and my view is that Azure by itself just isn't there yet.
A basic git based CI scenario would involve the following steps.
Your src code and any database schema/data updates are pushed to a central git repository like GitHub. [Feature available]
GitHub would then push the updates to Azure. [Not supported in Azure until they support GitHub hooks]
Azure compiles and deploys the code. [Supported]
Azure updates the database from sql files pulled from the repo (remember, this needs to be automated). [Not supported]
Azure reports any error in running the database or web application. [Supported]
Azure runs user provided integration tests to check more thoroughly specific functionality and reports the status of those tests to the user [Not supported].
Azure allows you to roll back to a previous deployment snapshot [Partly supported. Snapshots are not based on git commits for instance].
I might be wrong on some of those points or new features might be added since I've written this. Corrections are very welcomed and I'll try to update the list accordingly.
I am not sure how much experiences you have with Windows Azure Websites, however when you are creating a Windows Azure Websites, you have ability to use SQL Azure Database or MySQL cloud database directly integrated with your Windows Azure Websites.
So if you will use SQL Azure Database then there are several ways you can migrate your DB following the link here:
Migrating Databases to Windows Azure SQL Database (formerly SQL Azure)
To manage MySQL you can use Local Web Server to do it. The way I have done is to use PHP, the MySQL Command-Line Tool (part of MySQL), and a web server set up on my local machine, and that I have enabled the PDO extension for MySQL. This way I can manager my MySQL directly from my own local machine and the details are explain at the bottom of this article:
Create a PHP-MySQL Windows Azure web site and deploy using Git.
Also the SQL part you can write in Workbench if you use MySQL and Oracle SQL Developer if you use Oracle SQL.
Finally Git Deployment allows you to deploy your any kind of application directly to Windows Azure without using VSx.

How to set up Database for ASP.NET MVC Application

I created an data driven ASP.NET MVC Application locally and it works fine. Within my App_Data Folder of my project i see two databases: ASPNETDB.mdf and myProjectDatabase.mdf.
I uploaded my project files an the webserver, so that I can actually open the website. But I couldn't figure out how to connect my Database that I created locally to that website. My Website uses Authentication so that it is necessary that a user logs in/registers. But because the database is not connected this obviously doesn't work, because the application needs a database to save and retrieve user information.
I'm using Visual Studio 2010 Express and downloaded Microsoft SQL Server Management Studio as well to work with my database. With Microsoft SQL Server Management Studio I already connected to my database with the login information my provider gave me. But how can I import my local databases? Do I need to import ASPNETDB.mdf as well, because that is where the user information are stored?
I would be very thankful for help
What version of SQL Server do you have on your production server? SQL Server Express can attach to those local MDF files. If you're using SQL Server Standard, you'll need to attach them to the SQL Process.
Also, the ASPNETDB.MDB file is the authentication database that is automatically created in your MVC project. That is the DB that stores usernames and passwords, so yes, you will need to move that database over as well.

Resources