Windows Mobile cannot be debugged after Windows Phone connection

Source: Internet
Author: User
Problem

If I link Windows Phone to a PC through Zune software, and then connect to Windows Mobile. If you want to use Visual Studio to debug Windows Mobile, the following error message is displayed.

 

 
5> all attempts to connect to the deployment target at Port 5655 have failed. Addresses attempted:
5> 127.0.0.1.
5> the device security configuration may have disallowed the connection. ensure that you have the appropriate certificates on your deviceForDevelopment. Review Your SDK documentationForProper Security SettingsForConnectingThisDevice.
5>
5> connect to device failed.

I think Zune software and ActiveSync use the same technology, such as socket, and the same port number.

 

Solution

Connect to Windows Mobile first, and then connect to Windows Phone to debug Windows MobileProgram. In addition, I tried to debug Windows Phone programs at the same time. The sequence is critical. However, the following error message is prompted when I restart Windows Mobile. One mountain cannot hide two tigers.

Unable to Start Program 'windowsmobileprogram.exe'
An existing connection was forcibly closed by the remote host.

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.