Creation of Microsoft Azure Web App with sql server failed - azure

I've been attempting to create a new MVC web application in visual studio and have it hosted in Microsoft Azure. If I choose to have a database server it fails with the following error.
Creating Microsoft Azure Web App
Creation of Microsoft Azure Web App failed. Object reference not set to an instance of an object.
If I don't select the option to have a database the web site is created in my azure account.
Can anyone tell me what this error is suppose to mean.

Make sure you are using the latest SDK version. There was a bug in 2.5.1 that is fixed in 2.6. Also make sure you're creating the database in the same resource group as the web app.

Related

VS Server Explorer - Azure Web Apps / Unable to Access App Service node

I'm getting the following error when I try to access the App Service node in the Server Explorer after connecting to my Azure Subscription.
Here's the complete Error Message.
---------------------------
Server Explorer
---------------------------
Unable to retrieve Web Apps from some subscriptions:
Subscription Visual Studio Premium with MSDN: The resource type 'apiapps'
could not be found in the namespace 'Microsoft.AppService' for api version
'2015-03-01-preview'. The supported api-versions are '2015-03-01-alpha'.
---------------------------
OK
---------------------------
I am able to access other nodes, just not the App Service node wherein I have 2 Apps installed and running. 1 is a Web App, the other is an Api App that I originally published as a ASP.Net Core API App.
Due to this, I'm having to FTP into the Site and browse through log files and download them to view them. Very time consuming and distressing.
Even after I deleted the ASP.Net Core API app I am still not able to access this node from within Visual Studio 2015.

Using VS 2013, publishing a web site to Azure through the wizard, where would I find this website for later management within my MSDN Azure account?

I've recently built an ASP.NET website using C#.
Using the publishing wizard within Visual Studio 2013 I see that I can publish to "Microsoft Azure Websites", and I have done so. It worked great.
However, logging into the Azure account I'm not able to locate this website anywhere so that I may manage it directly, and see what the burn rate (costs) are.
Where are these "Microsoft Azure Websites" stored once they are published, within Azure?
Many thanks in advance.
Bob
Under Web Apps in the old portal and under App Services in the new one.

How can I deploy my database from SQL Server 2008 Express to Azure SQL Database

I am using Visual Studio Community 2013, SQL Server 2008 R2 Express Edition for an MVC web application using entity framework code first migrations for my database.
I am trying to get my local application hosted on the Microsoft Azure platform.
I have registered for a trial account which expires in 30 days, and deployed my MVC5 app out which has been successful.
However, this app requires a database which I am struggling to deploy.
What is the easiest way to get my database deployed out to Azure as I do not seem to have the :
"Tasks" -> "Deploy Database to Microsoft Azure SQL Database" option available to me in SSMS.
I have extracted a Data-tier Application of my local database and have it stored on my C drive, however if I connect to my Azure Account in a second window, and right click the server then select Deploy Data-tier Application, it fails on "Creating schema object in database" with the following error:
TITLE: Microsoft SQL Server Management Studio
An exception occurred while executing a Transact-SQL statement or
batch. (Microsoft.SqlServer.ConnectionInfo)
------------------------------ ADDITIONAL INFORMATION:
Users cannot be mapped to certificates, asymmetric keys, or Windows
logins in this version of SQL Server. (Microsoft SQL Server, Error:
40528)
I'm assuming its tried to create my local account plus the IIS APPPOOL account I had to set up to host the website on my local network, however I do not see a way of removing them from the .dacpac export.
When I refresh the Databases node, there is still no database, I'm fairly lost now as to how I might get my db deployed to this server?
If you can extract a compatible Data-tier application and then Deploy it to your target server using your current version of Management studio, then this approach should work, see this link for more reading on ensuring your database is compatible.
Failing this, as was in my case. I downloaded Management Studio 2015, which gave me the option to deploy database to Azure by simply right clicking the required database.
Again, this threw up the error regarding my database level IISAPPOOL user, but not my server account user. As a way around this, I took a backup/restore of the database and removed this user then deployed the copy database obviously minus the problem account.
Now all that was left to do was add a transform to my Release web.config with the Azure connection string as provided on the Azure dashboard, and re-deploy the website.
Problem solved.

How to publish a website with sql local db database to azure using visual studio 2013

I have my website up and running on local server I want to published it to azure. I searched a lot but unable to do so however succeeded in publishing without database.Can any one provide a step by step guide how to published to azure and what tools to download from azure management portal.
Thanks.
Try this http://www.asp.net/mvc/overview/getting-started/database-first-development/publish-to-azure and let us know if you need more help. You will just need Visual Studio 2013.
You can't use localdb with Azure Websites.
That said, you can use localdb for development, but change the connection string on deployment to use some other database, such as SQL Azure (see http://azure.microsoft.com/blog/2013/07/17/windows-azure-web-sites-how-application-strings-and-connection-strings-work/)

Error creating Windows Azure BizTalk Service instance

After yesterday's announcement of BizTalk Service GA on Windows Azure, I'm trying to create a new Development instance so I can start migrating my on premises BizTalk projects to there.
After I fill the wizard and start waiting for the instance creation, I get the following error:
Could not connect to the Tracking Database. Confirm that the SQL Database details are correct and that Windows Azure Services is enabled on the SQL Database. (RDFE - Operation ID = fcc014e60cea345c9e03dcd2dca787d3 )
What is happening?
Make sure DB allows Azure services to access it
Possibly the internal DNS problems are affecting it.
The Register Microsoft pulls its crowd-control tech from out of the shadows
a variety of Microsoft services including Windows Azure and Xbox became unavailable due to an as-yet-unspecified problem with Microsoft's global DNS configuration
or
Xbox One site BELLY-UP in GLOBAL Microsoft cloud catastrophe
Initial reports seem to indicate the problem stems from an internal DNS issue, as both the page and various Azure services are throwing DNS errors. Azure may be working, but reaching it is difficult.

Resources