Missing Registration For Location Error while Publishing the API on Azure. - CloudFronts

Missing Registration For Location Error while Publishing the API on Azure.

Introduction:

Missing Registration For Location Error Can come when we are trying to publish the web application on azure from Visual studio.

Solution:

There are many blogs which says updating your  visual studio or Upgrading Azure SDK will resolve your problem but this solutions did not work for me. So I used alternative approach for publishing.

Steps:

  1. Publish your web application using visual studio. It gives this  error. but It creates App Service Plan and App Service in Azure.
  2.  sign in to portal.azure.com
  3. Select the App Service which you have created.
  4. Click on Get Publish Profile.
  5. Now Again Go to Visual studio and Publish.
  6. This time while publishing select Import.
  7. Select the file which you have downloaded from azure.
  8. Click Ok.
  9. Click On Publish.
    10. Your Application will get Publish.

I hope this solve your issue also.


Share Story :