Activesync Synchronization Problem

Hi,

I am trying to connect WinCE 5.0 Device to Windows XP deskop using Activesync version 4.5.

I am getting following error on the XP Desktop when I try to Synchronize

"Failed to setup partnership"

with details

"A system error has prevented microsoft activesync from setting up a partnership between your mobile device and this computer. To setup a partnership, disconnect your device and restart windows on this computer , and then reconnect your device"

Restart does not help?

I am able to exchange files manually using file explorer.

I have added following components to my os -

sysgen_as_base=1
sysgen_as_file=1
sysgen_as_mail=1
sysgen_as_pim=1

Please suggest, if I am missing any setting.

Thanks,

[952 byte] By [ArunKR] at [2008-1-9]
# 1

Hi Arun KR,

I suggest that verify the version of RAPI.dll file . it is in C:\WINDOWS\system32 folder. Maybe the rapi version is not correct.

For more information, click the link below:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=382284&SiteID=1

There is also a good summarization by Chris , the article show all kinds of trouble shooting of activesync.

http://www.pocketpcfaq.com/faqs/activesync/tshoot-as4x.htm

Best regards,

Guang-Ming Bian - MSFT

Guang-MingBian-MSFT at 2007-10-3 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 2

Hi Guang.

Thanks for your info.

As mentioned the link http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=382284&SiteID=1,

I dont see the WCESetup.log in my %temp% folder.

I have only WcesView, WCESMgr, WCESLog, WCESCOMM in my PC's %temp% folder.

I have rapi.dll and CEUtil.dll in my \windows\system32 folder. and it is not present in \program files\Microsoft Activesync.

Im using Active Sync version 4.5.5096.

I tried uninstallling and reinstalling the Active sync, but it didnt help much.

Im able to explore my device over active sync, only problem is when I try to syncronize, it gives this synchronization error as mentioned earlier.

Here is the trace of log what I got in my WceSMgr.log

09/14/2007 15:31:08.021 **************** Logging Stopped ****************
09/14/2007 15:31:08.178 Creating new partnership for device 0x0 (WindowsCE, SmartPhone).
09/14/2007 15:31:08.178 p(2716) t(1228) TraceToFile -> ERROR in CConfigMgr::GetConfig : hr = 0x80004005 - cfgmgr.cpp(318)
09/14/2007 15:31:08.178 Failed to get server sync version. HR=0x80004005
09/14/2007 15:31:08.178 Found PIM at 'C:\PROGRA~1\MICROS~2\OFFICE11\OUTLOOK.EXE'
09/14/2007 15:31:08.178 Notes Sync not available for device type: 'SmartPhone'
09/14/2007 15:31:11.705 DTPT: Setting DTPT network to {436EF144-B4FB-4863-A041-8F905A62C572}
09/14/2007 15:31:11.705 p(2716) t(1228) TraceToFile -> ERROR in CConfigMgr:Tongue TiedetConfig : hr = 0x80072775 - cfgmgr.cpp(573)
09/14/2007 15:31:11.705 DTPT: Send DTPT Network={436EF144-B4FB-4863-A041-8F905A62C572}. Result=0x80072775
09/14/2007 15:31:11.705 Failed to setup desktop passthrough 0x80072775
09/14/2007 15:31:11.705 p(2716) t(2548) TraceToFile -> ERROR in GetPartnerInfo : hr = 0x8000ffff - partner.cpp(466)
09/14/2007 15:31:11.705 ERROR: returned 0x80004005
09/14/2007 15:31:11.705 ERROR returned in function CDevInfo::GetExtraConnectInfo. hr: 0x80004005
09/14/2007 15:31:11.705 p(2716) t(2548) TraceToFile -> ERROR in CDevInfo::CreateDeviceSyncProfile : hr = 0x80004005 - partner.cpp(2508)
09/14/2007 15:31:11.705 ERROR: returned 0x80004005
09/14/2007 15:31:11.705 ERROR returned in function CDevInfo::MakeNewPartner. hr: 0x80004005

Any help in this regard will be appreciated.

Thanks

ArunKR at 2007-10-3 > top of Msdn Tech,Smart Device Development,Smart Devices General...