为什么我无法将ASP.NET应用部署到Azure?

huangapple go评论64阅读模式
英文:

Why I cannot deploy ASP.NET application to Azure?

问题

我正在尝试部署我的ASP.NET Web应用程序(React变体)到Azure。我需要登录来完成此操作。密码、邮箱和Azure帐户都匹配,一切都正常,但它不让我登录。我甚至没有收到任何可能的错误弹出窗口。这是一个bug还是我做错了什么?

英文:

I'm trying to deploy my ASP.NET web application (React variant) to Azure. I need to log in to do this. The password, mail and Azure account all match and everything is fine, but it won't let me in. I don't even get any popups about a possible error. Is this a bug or some error on my part?

为什么我无法将ASP.NET应用部署到Azure?

答案1

得分: 0

以下是翻译好的部分:

我曾经见过一些关于同样问题的案例,似乎是由于缓存问题或者如果有任何需要自动修复的IDE更新而导致的临时问题。

如果您仍然遇到此问题,您可以尝试以下步骤来修复该问题:

  1. 清除Visual Studio缓存并删除先前的凭据,如果有多个帐户,请也删除它们。完成这些步骤后,重新启动Visual Studio,然后重新登录凭据。

    您的配置文件->帐户设置->删除所有已登录的帐户,然后重新输入您的凭据。

    为什么我无法将ASP.NET应用部署到Azure?

  2. 要删除缓存,请转到%localappdata%\Microsoft\VisualStudio并清除所有缓存。

    为什么我无法将ASP.NET应用部署到Azure?

  • 此文档所述,您还可以尝试使用“系统Web浏览器”而不是“嵌入式Web浏览器”。

    为什么我无法将ASP.NET应用部署到Azure?

如果什么都不起作用,请尝试修复Visual Studio或卸载然后重新安装Visual Studio。

参考资料:

SO

英文:

I have seen few cases regarding the same issue, it seems to be temporary issue due to Cache Problem or if there are any IDE Updates to be done which will automatically get fixed.

If you are still facing this issue, you can try below steps to fix the issue:

  1. Clear Visual Studio cache and delete the previous credentials and also delete all the accounts if you have multiple. Restart visual studio once done with those steps and then re-login credentials.

Your profile->Account Settings-> remove all the existed logged in accounts and reenter your credentials.

为什么我无法将ASP.NET应用部署到Azure?

  1. To delete cache, go to %localappdata%\Microsoft\VisualStudio and clear all the cache.

为什么我无法将ASP.NET应用部署到Azure?

  • As mentioned in this doc,
    you can also try with system web browser instead of Embedded web broswer.

为什么我无法将ASP.NET应用部署到Azure?

If nothing works, try to repair the visual studio or uninstall and reinstall the visual studio.

References:

SO

huangapple
  • 本文由 发表于 2023年4月17日 20:49:28
  • 转载请务必保留本文链接:https://go.coder-hub.com/76035335.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定