Reputation: 11221
Exact error:
Severity Code Description Project File Line Suppression State Error DEP0001 : Unexpected Error: -1988945906 TestApp
What does it mean? It seems it isn't problem with application, it works OK on PC.
Version of OS: 1511, Windows 10 for phones 10.0.10586.164
Upvotes: 29
Views: 16839
Reputation: 2085
I faced this problem after I uninstalled Windows 10 SDK. It deleted the IpOverUsbSvc
service from the system.
Download the Windows 10 SDK .iso installer
Inside it there is Installers
folder.
Find Windows IP Over USB-x86_en-us.msi
. Install it. (Don't worry if there is no setup window, it installs fast and silently).
I didn't even have to reboot VS2015, it just worked.
Check if the IpOverUsbSvc
service is running
Get-Service -Name *USB*
Upvotes: 0
Reputation: 478
This kind of error happens very randomly and usually it means there was an issue during the deployment of the app. Things to check:
Upvotes: 9
Reputation: 1
I got a similar error.
The reason the error occurred for me was because I forgot to add the new splash images in assets after deleting the old ones.
The solution was to add the images. To get the correct image names and sizes, I used this extension for visual studio.
Upvotes: 0
Reputation: 57
I had the same problem.
"net start IpOverUsbSvc" didn't worked for me (throws Access is denied Exception).
I have followed following steps to fix.
Upvotes: 2
Reputation: 6375
I had this issue as well. None of the answers helped me. IpOverUsbSvc was up and runing, phone reset, system reboot, nothing... The issue was fixed after a Visual Studio "repair": control panel -> Programs and features -> select VS2015 -> Repair
Upvotes: 0
Reputation: 1908
For me, it was as simple as unlocking the phone so that the computer would have access to it.
Upvotes: 0
Reputation: 117
After trying some of the answers already provided and nothing worked, I fixed the error by simply restarting the phone. After that the error was gone for me.
Upvotes: 1
Reputation: 11
For the RPi, I have RPi3 with WIOT (build 14376) this error happens after failed deployment. Just restart VS and it'll deploy ok.
Upvotes: 1
Reputation: 2307
I had the same error, solution is here: https://msdn.microsoft.com/ru-ru/library/windows/apps/jj863509(v=vs.105).aspx Look at Checking BIOS settings required by Hyper-V for Data Execution Prevention. You must select "Turn on DEP for all programs and services except those i select" and in my case application deploys successfully.
Upvotes: 0
Reputation: 26
So, I think I get the trick. After plugged in your Windows Mobile device, Windows App Deploy can see W10M device, but once your device goes to lock screen, WPD can not detect it anymore.
You should to plug out and plugin again, with screen unlocked, to make it detectable. (I'm not a really English speaker).
Upvotes: -1
Reputation: 278
I had the same issue, and found that in my case it was occurring while the phone was downloading system updates in the background. App updates/installations from the app Store were also prevented from downloading/installing.
After the update had finished, all was back to working again.
As Windows Phone 10 doesn't seem to make it obvious that it's downloading updates, maybe worth checking this out if you hit this problem.
Upvotes: 0
Reputation: 719
I've experienced the same problem after updating Visual Studio community to Update 2. Typing in CMD (under admin rights) the following command solved my issue:
net start IpOverUsbSvc
Thanks to Agrgg for a good tip ;)
Upvotes: 44
Reputation: 279
I had the same error with deploying onto Windows Phone 8.1 device. In my case the problem was in Windows Phone IP over USB Transport (IpOverUsbSvc) service, which wasn't running. The deployment error disappeared after I'd started the service manually.
Upvotes: 5