Answered by:
Can't host ASP.NET application in Azure

Question
-
Every time I try and do a File -> New Project in Visual Studio and check the "Host in Azure" option it gives me the following errors....
"Unable to get location information. There was an error while performing this operation. Internal Server Error."
"Unable to get Database information. This operation cannot be performed at this time because a conflicting operation is underway. Please retry later. The remote server returned an unexpected response: (409) Conflict."
I also get this same problem when I already have an ASP.NET web application and I try and Publish it from Visual Studio. So then instead of making a new Web App in Visual Studio, I tried to make the Web App in the Azure Dashboard. I get the following error when I try and do that....
"Provisioning failed"
So I can't make a new Web App at all and host it in Azure. Does anyone have any idea of what could be wrong?
Thank you!
Wednesday, April 22, 2015 5:56 PM
Answers
-
Hi,
Are you connected on Azure from the "Server Explorer" of Visual Studio ?
Try to disconnnect all subscriptions and reconnect to it.
Regards,
Yan Grenier
Merci de bien vouloir "Marquer comme réponse", les réponses qui ont répondues à votre question, et de noter les réponses que vous avez trouvé utiles.- Proposed as answer by Ed Price - MSFTMicrosoft employee Thursday, February 25, 2016 10:53 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Friday, February 26, 2016 10:14 PM
Thursday, April 23, 2015 5:24 PM -
Hi Nuttguy :-)
Have a look at the following blogs I have written which walk you through the process of creating your database on the Azure DreamSpark subscription and then connecting to these with Visual Studio
Creating a PHP Web Site with a ClearDB Database
For a Pure ASP.NET web apps see this tutorial
Hope this helps! if it does please mark this as a correct answer.
- Proposed as answer by Lee StottMicrosoft employee Saturday, October 10, 2015 7:58 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Friday, February 26, 2016 10:14 PM
Friday, September 18, 2015 8:17 AM
All replies
-
Hi,
Are you connected on Azure from the "Server Explorer" of Visual Studio ?
Try to disconnnect all subscriptions and reconnect to it.
Regards,
Yan Grenier
Merci de bien vouloir "Marquer comme réponse", les réponses qui ont répondues à votre question, et de noter les réponses que vous avez trouvé utiles.- Proposed as answer by Ed Price - MSFTMicrosoft employee Thursday, February 25, 2016 10:53 PM
- Marked as answer by Ed Price - MSFTMicrosoft employee Friday, February 26, 2016 10:14 PM
Thursday, April 23, 2015 5:24 PM -
Hi,
Could you share some details of your configuration? What VS version and SDK version do you have installed?
Thanks
Mayuri
Tuesday, May 5, 2015 5:00 AM -
In a previous reply, Mayuri has requested some details about your configuration. That information would be helpful. In addition, could you please let us know what type of subscription you're going against - is it an MSDN subscription, a DreamSpark subscription, etc.? That information would be helpful as well.
When you try to create the Web App using the "Host in the Cloud" feature, does the New Web App dialog open? A detailed repro would be helpful in understanding what's happening.
Tuesday, May 5, 2015 2:40 PM -
Hi Nuttguy :-)
Have a look at the following blogs I have written which walk you through the process of creating your database on the Azure DreamSpark subscription and then connecting to these with Visual Studio
Creating a PHP Web Site with a ClearDB Database
For a Pure ASP.NET web apps see this tutorial
Hope this helps! if it does please mark this as a correct answer.
- Proposed as answer by Lee StottMicrosoft employee Saturday, October 10, 2015 7:58 AM
- Marked as answer by Ed Price - MSFTMicrosoft employee Friday, February 26, 2016 10:14 PM
Friday, September 18, 2015 8:17 AM