Jump to content

Proble with ActiveSync


Guest isa_1

Recommended Posts

Guest isa_1

Hello,.

I would like to execute the simple hello world example on my device: a SPV e200 however when I want to build hello.exe I got the following error message:

The Microsoft ActiveSync connection server has failed.

Please make sure Microsoft ActiveSync is running and retry the download by Rebuild All or Update Remote Output File(s).

Also make sure that you have selected the correct platform.

Failed downloading.

I have checked that ActiveSync is running and for the platform I have selected smartphone 2003 + WIN32 (WCE ARMV4) Release + SMARTPHONE 2003 device.

I am using embedded visual c++ 4.0 and service pack3.

What could be wrong?

Thank you for your help.

Isa.

Link to comment
Share on other sites

Guest wohlgetan

Hello,

seems I've got the same problem and until now also searching for a resolution. Heres my description af the problem:

While using Visual C++ 4.0 SP3 with the PlatformManager, I try to connect via ActiveSync 3.7.1 and USB with a Windows SmartPhone 2003 based device. It produces following error message:

"The Microsoft ActiveSync reported the following error: Unable to load device side components. Please check server configuration settings."

I choosed as device "SMARTPHONE 2003 Device" and in the device settings for transport and startup server ActiveSync. There are no properties to configure.

In ActiveSync I use a guest partnership, so there is no server configureable.

After this desaster :°( I've read a little bit more in the PlatformManager help and found a described procedure with ActiveSync 3.5, serial nullmodem cabel connection and a device side start of "repllog.exe".

The described procedure stated to install ActiveSync 3.5, connect with serial, execute "repllog.exe" at the target device and configure a "guest-partnership"...

I've installed ActiveSync 3.7.1 for syncing my Outlook2003 with the device via USB. I deleted all partnerships. While connecting, it asks for the partnership, I choose "guest". Executing "repllog.exe", the existing ActiveSync connection is refused.

Starting then a tool like remote registry seems to connect correct, sends the files, but "hangs" while saying: "Starting server for selected device".

:-(

I appreciate every suggestion how to connect my USB based device with the remote tools.

Link to comment
Share on other sites

Guest wohlgetan

Hello!

While searching the Smartphone 2003 SDK help for spdps.exe, you can find this:

snip

The security features of Smartphone devices make it necessary to sign certain files that are used to support the development and debugging process. During the installation of the Smartphone SDK, this process is performed automatically for the files that the device emulator uses. However, when you want to enable a real Smartphone device for testing and debugging, you will need to complete this file-signing process manually.

snap

Regarding which SmartPhone version you use, you need either for SmartPhone 2002 the "sp2002dps.exe", found on standard path:

"C:Windows CE Toolswce300Smartphone 2002toolssp2002dps.exe" /create /device

Or for SmartPhone 2003 SDK spdps.exe, maybe under:

"C:ProgrammeWindows CE Toolswce420SMARTPHONE 2003Toolsspdps.exe" /create /device

Fortunately, I've got these answers both on a german forum:

http://www.mobilejoe.de/Forum/viewtopic.ph...p?p=36954#36954

... and in the usenet on microsoft.public.smartphone.developer, looking for the thread:

Connection fails between SmartPhone 2003 device <--> PlatformManager :-(

Happy me, I now can use my own device for proof and use such great remote tools as remote registry!

Link to comment
Share on other sites

  • 1 year later...

hi, wohlgetan,

I meet the same problem too, and when seek hints in msdn, i found this article:

http://msdn.microsoft.com/library/default....devicesozup.asp

A Practical guide to the smartphone applications security and code signing model for developer

as this article guide, i executed "spdps" and "rapiconfig", all operations seem right, without any error promption. I execute the querystore_unpriv, and it return a certificate normally. but when i try activesync again (by clicking the "test" button in "platform manager configuration" ,the error still there,

"unable to load device side components............"

it seems very difficult to seek hints again.....

my develop environment is eVC 4.0+sp3, sdk for smartphone 2003. activesync 3.8,

could you explain more detial? thank in advanced

Link to comment
Share on other sites

  • 2 weeks later...

finally, the problem resolved. it is caused that smart phone 2002 and 2003 had great difference, and MS developed different software environment. Now i can run my own program in Smartphone 2002 devices.

Link to comment
Share on other sites

I had the same problem after I installed the PPC sdk with the smartphone sdk. Found I had to upgrade to the latest activesync. I went to V4.0.0 which seemed to fix it.

HTH

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.