串連Windows Phone以後不能調試Windows Mobile程式的問題

來源:互聯網
上載者:User
問題

如果我把Windows Phone通過Zune software連結到PC上,然後再串連Windows Mobile。如果我想使用Visual Studio 對Windows Mobile進行調試,會出現下面的錯誤資訊。

 

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 device for development. Review your SDK documentation for proper security settings for connecting to this device.
5>
5>Connect to device failed.

我想Zune software和ActiveSync底層使用了同樣的技術,例如socket,而且使用了同樣的連接埠號碼。

 

解決方案

先串連Windows Mobile,然後再串連Windows Phone,這樣就能夠調試Windows Mobile的程式了。而且我試過可以同時調試Windows Phone的程式,順序很關鍵。可是我重新啟動Windows Mobile的調試又不行了,提示下面的錯誤資訊。一山不能藏二虎。

Unable to start program 'WindowsMobileProgram.exe'
An existing connection was forcibly closed by the remote host. 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.