Home:ALL Converter>Publish From VS to Azure Gives Generic Error

Publish From VS to Azure Gives Generic Error

Ask Time:2022-10-11T21:48:27         Author:Jake Fairbairn

Json Formatter

Until recently, I had a web solution that I could publish to my Azure webservice from VS2019 without issues. I just got a new PC, and now I get an error message even though the publish seems to work. Something's erroring, but I can't figure out what. I've tried on both VS2019 and VS2022.

When I publish, I get the following error in VS:

An error has occurred

Publish has encountered an error. We were unable to determine the cause of the error. Check the output log for more details.

There are no errors in the output window. In fact, the Output window says "Publish Succeeded" and "Web App was published successfully." And if I look at the live website, it does indeed have my changes.

The fact that there's an error is concerning though, and I don't know how to find more details. I'm worried something in the process isn't completing successfully. Normally VS opens the live website in Chrome after successfully publishing, but it doesn't do so in this case.

What might be the problem? Or what logs can I look at to view more info about the problem?

Author:Jake Fairbairn,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/74029237/publish-from-vs-to-azure-gives-generic-error
yy