>Hi everybody,
>
>I'm getting this error now
>
>---------------------------
>Microsoft Visual Studio
>---------------------------
>The operation could not be completed. The device is not connected.
>---------------------------
>OK
>---------------------------
>
>when I try to debug my application on the scanner. The scanner is connected to the PC through USB port, I copied the database from the PC to the scanner a moment ago using ActiveSync. Yet the VS shows this error and I don't know what to do now.
>
>I was able to debug it before perfectly fine, then my colleague had it for some time, then I put it back on my PC and now I can not run it.
>
>What can I do to fix the problem - I already re-started my PC?
>
>Thanks in advance.
I checked this
http://social.msdn.microsoft.com/Forums/en-US/windowsmobiledev/thread/bc15ec1a-a25a-485b-a5f7-bfc3347be380 and then I removed the reference to MobileOrders.Controls from my project and I was able to run it now on the device. The error message is certainly misleading.
If it's not broken, fix it until it is.
My Blog