Windows Mobile and VS2008 cannot connect to the device

I have a new toy, a Windows Mobile 6 phone. I'm trying to write a simple "Hello World" application in VS2008 (C #) and I can't connect to the device. It connects via ActiveSync (over USB), I can browse the file system, but for some reason, when I try to build an app and deploy it to the device, it says "Failed to connect to device."

I installed Windows Mobile 6 Professional SDK as well as .NET Compact Framework 3.5 on the device and everything worked. I can run the application on the emulator, but for some strange reason, I cannot connect to the device. I know this is not much information, but I am losing out on the full!

+1


source to share


1 answer


There are several possibilities, but most likely it is all about security. Carriers have the ability to lock the device to prevent the installation of "unauthorized" applications. There is also security granularity. Many devices can run applications, but only if they are signed. Some devices allow you to change this setting, or they will at least tell you that an unsigned app is trying to launch and ask you if it's okay. Using Device Security Powertoy , you can provide a device with deployment options. Read more about provisioning here and here .



You may need to sign your application with a development or real certificate - especially if you plan to deploy the application.

+2


source







All Articles