无法RDP到Windows Azure SVC虚拟机(RDP启用,配置RDP终端)终端、虚拟机、Windows、RDP

2023-09-04 13:17:33 作者:相见不如怀念

我已经看到了多篇文章讨论如何通过视觉工作室,凭据缓存通过RDP计划配置您的RDP设置,但我们仍然有一个问题。

I've seen multiple articles discussing how to configure your RDP settings via visual studio, credential caching via the RDP program, and yet we still have a problem.

我也看到文章说:你需要一个端点添加到您的RDP的角色 - 如果我这样做,Visual Studio中抱怨说,端点已经被定义为远程桌面 - 因为它这样做幕后(或者看起来是这样),当您启用通过UI RDP。 (它不会让我发布,所以我要去(畏缩)假设这已经为我做了。)

I've also seen articles saying "you need to add an endpoint to your role for RDP" -- If I do that, Visual Studio complains that "an endpoint is already defined for remote desktop" -- because it does this behind the scenes (or so it seems) when you enable RDP via the UI. (It wont let me publish, so I'm going to (cringe) assume this is already done for me.)

我也应该注意到,我们还有其他的Azure服务,我们能够RDP到他们就好了。我们的本地连接/防火墙(就像我希望我能怪谁呢)不怪。

I should also note, we have other Azure Services and we are able to RDP to them just fine. Our local connection/firewall (as much as I wish I could blame it) is not to blame.

下面是正在发生的事情:如果我删除了云服务的所有实例,并通过Visual Studio的部署(是的,我已经启用远程桌面,设置密码,设置我的证书为自动,以及尝试了各种证书,在下拉),我通过RDP连接通过直接从Windows Azure的门户网站使用连接按钮。提示我输入用户名(这是ppopulated $ P $)和密码。

Here's what is going on: If I delete all instances of my cloud service and deploy via visual studio (yes, I've enabled remote desktop, set a password, set my cert to auto as well as tried various certs in the drop down), I connect via RDP by using the "Connect" button directly from the Windows Azure portal. I am prompted for a username (which is prepopulated) and a password.

我不能,因为我的凭据无效登录。我试着重新部署,并输入新密码......同样的结果。我试着通过Azure的门户......同样的结果。

I am unable to log in because my credentials are invalid. I've tried redeploying and typing a new password... same result. I've tried changing the password via Azure Portal... same result.

第2部分:如果我有一个实例previously部署和我通过视觉工作室修改密码,重新部署,我无法RDP到机器都没有。我不明白的登录/密码的提示,并获得了无法连接到远程机器......,远程桌面未启用时,机器处于关闭状态,等等。错误信息。

Part 2: If I have an instance previously deployed and I change the password via visual studio and deploy again, I am unable to RDP to the machine at all. I do not get the login/pw prompt, and get the "unable to connect to remote machine..., remote desktop is not enabled, the machine is turned off, etc." error message.

所以基本上,我有两个问题。为什么我无法RDP上的previous顶部的第二个部署后,为什么是我的凭据是无效不管?这是我发疯,我甚至去尽可能做我的其他项目之间比较的配置文件,看是否缺了点什么 - 没有骰子。这一切看起来都一样减去名字和日期。

So essentially, I have two problems. Why am I unable to RDP after a second deploy on top of a previous, and why are my credentials always invalid regardless? This is driving me nuts, I've even gone as far as doing compares between my other projects config files to see if something was missing -- no dice. It all looks the same minus names and dates.

谁能关系? (第一个问题贴过,我已经潜伏多年,你好。)

Can anyone relate? (First question ever posted, I've been lurking for years. Hi.)

推荐答案

虽然这并不能真正解决问题,这是我没有修复它。

While this doesn't really address the problem, here's what I did to fix it.

我创建了一个全新的Azure云服务项目,其分配给使用现有的web项目,发表出来,让天青做所有的魔力来创建新的服务实例(再次)?你知道什么,就没有这个问题。

I created an entirely new Azure Cloud Service project, assigned it to use my existing web project, published it and let Azure do all of its magic to create a new service instance (again) and what do you know, works without a problem.

我不知道是否有可能在Visual Studio或什么错误,但是这肯定是陌生的。 此外,作为一个善意的提醒,记得要清理'死'的服务,所以你不要让嘴!

I'm not sure if there may be a bug in Visual Studio or what, but this was certainly strange. Also, as a friendly reminder, remember to clean up your 'dead' services so you don't get billed!