Solve the azure publish "the Remote Desktop configuration was not generated by Windows azure tools" problem

Source: Internet
Author: User

In publish, if you want to use Remote Desktop

Sometimes the "the Remote Desktop configuration was not generated by Windows azure Tools" problem occurs.

This is because we have manually modified the configuration file. However, due to CI build, the configuration file is generated according to the environment, so you must manually modify it (in fact, it is alsoProgramFile generation. To solve this problem, follow these steps:

1. Open the servicedefinition. csdef file andCodeDelete all.

 
<Import Modulename= "RemoteAccess" /><Import Modulename= "Remoteforwarder" />

2. Open the serviceconfiguration. cscfg file and delete all the following code.

       <  Setting   Name  = "Microsoft. windowsazure. plugins. RemoteAccess. enabled"   Value = ""   />        <  Setting   Name  = "Microsoft. windowsazure. plugins. RemoteAccess. accountusername"   Value  = ""   />        <  Setting   Name  = "Microsoft. windowsazure. plugins. RemoteAccess. accountencryptedpassword"   Value  = ""   />        <  Setting   Name = "Microsoft. windowsazure. plugins. RemoteAccess. accountexpiration"   Value  = ""   /> 
    certificate   name   =" Microsoft. windowsazure. plugins. remoteAccess. passwordencryption "  thumbprint   =" "  thumbprintalgorithm   =" sha1 " />  

 

Note that the steps should be performed in order. Otherwise, the serviceconfiguration. cscfg file is automatically generated. Sometimes you delete the file and it is generated, which makes developers very angry.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.