none
PC connect to real windows phone 7 device launch exception RRS feed

  • 问题

  • The app can be launched to Emulator but to real device failed,When I debug to method RemoteApplication.Launch() lead error as below:
    Microsoft.SmartDevice.Connectivity.SmartDeviceException was unhandled
      Message=0x80040202
      Source=Microsoft.SmartDevice.Connectivity
      ErrorCode=-2147220990
      StackTrace:
           at Microsoft.SmartDevice.Connectivity.RemoteApplication.Launch()
           at DeveiceAutomationTest_Desktop.DeveiceControl.ApplicationManager.InstallApplicationAndLaunch(Device deviceObj, Guid applicationGuid, String iconFileName, String xapFileName) in E:\work\WP7AutomationTest_Demo\DeveiceAutomationTest_Desktop\DeveiceControl\ApplicationManager.cs:line 29
           at DeveiceAutomationTest_Desktop.Program.Main(String[] args) in E:\work\WP7AutomationTest_Demo\DeveiceAutomationTest_Desktop\Program.cs:line 38
           at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
           at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
           at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Threading.ThreadHelper.ThreadStart()
      InnerException: 
    I refer to http://justinangel.net/WindowsPhone7EmulatorAutomation.
    Thanks!

    2012年1月31日 6:51

答案

  • 你好, 我使用的是7.10.8107.79系统。

    因为我在这边用windows phone官方的最新系统无法重现你的问题,所以这个问题很有可能是你的DFT ROM操作系统的问题。 DFT ROM不是微软官方的系统,所以我们没有办法向你提供解决方案。

    2012年2月7日 2:00

全部回复