Arne
Arne

Reputation: 3064

Visual Studio 2010 can't open a web browser, tells me to restart Windows every time

I'm trying to publish an Azure application, but can't sign in using Visual Studio 2010. I get the error message "The web browser cannot be started. To resolve this problem, you must restart Windows."

I've tried both rebooting and making Internet Explorer the default browser, but I still get the error message. This also occurs when clicking on other links (for example "Online Privacy Statement" in the same publish dialog box).

How can I fix this, or alternatively, are there any other easy ways to publish to Azure?

Upvotes: 1

Views: 297

Answers (1)

Girish
Girish

Reputation: 558

There are several ways to publish to Azure. Depending on your preference, some of them may be easy. Some, not so much.

First of all, are you using a source control? If you're using git, then you can use Azure Git Repository that comes free with Azure Websites and also Azure Cloud Services. So when you push your code to the Azure repository, it automatically publishes the final bits to the corresponding site.

If you're using TFS locally (at home or office), you can set up a build task that'll deploy the bits to Azure. Also, check out TFS Preview if you are comfortable with a Microsoft hosted free TFS server.

If you feel comfortable using FTP, you can get the FTP account details from the Azure portal when you set up a new azure website or a cloud service.

Finally, one of the easiest way to publish to Azure is to use the Publish Profile feature.

  1. You'll find a link called "Download Publish Profile" associated with your azure website. Click on that to download the profile (an XML file).

  2. Then right click on your VS project and hit Publish. Under Profile tab, select "Import" and pick this downloaded file.

  3. It should populate all the details for you. Test your connection to make sure everything works okay.

  4. Publish and ENJOY!

UPDATE: Based on the comment to this answer, adding screenshot to show where to get the FTP details for your azure website.

enter image description here

Upvotes: 1

Related Questions