raj_Winmo
Had this question 1
Question
raj_Winmo asked on
| 2251 views

ActiveSync spins

Hi,

   I am trying to connect activesync 4.5 with windows mobile 6 mobile using USB-RNDIS driver.

please see the logs

06/23/2008 16:14:19.942 - USB: RNDIS device id \\?\USB#Vid_045e&Pid_0301#600cc7d0-de3a-4213-4442-323435353839#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
06/23/2008 16:14:20.145 - USB: found RNDIS device id USB\Vid_045e&Pid_0301&Rev_0000
06/23/2008 16:14:20.161 - USB RNDIS: Device Removal notification
06/23/2008 16:14:28.474 - USB: RNDIS device id \\?\USB#Vid_045e&Pid_0301#600cc7d0-de3a-4213-4442-323435353839#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
06/23/2008 16:14:28.520 - USB: found RNDIS device id USB\Vid_045e&Pid_0301&Rev_0000
06/23/2008 16:14:49.614 - USB RNDIS: Device Arrival notification

USB-RNDIS driver is recognized by the desktop machine

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x80002 ...00 16 35 ae 9b 34 ...... Broadcom NetXtreme Gigabit Ethernet - Packet Scheduler Miniport
0x100004 ...80 00 60 0f e8 00 ...... Windows Mobile-based Device #6
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      169.254.2.0    255.255.255.0      169.254.2.2     169.254.2.2       30
      169.254.2.2  255.255.255.255        127.0.0.1       127.0.0.1       30
  169.254.255.255  255.255.255.255      169.254.2.2     169.254.2.2       30
        224.0.0.0        240.0.0.0      169.254.2.2     169.254.2.2       30
  255.255.255.255  255.255.255.255      169.254.2.2     169.254.2.2       1
  255.255.255.255  255.255.255.255      169.254.2.2           80002       1
===========================================================================
Persistent Routes:
  None

Microsoft Network adapter is created successfully and i am able to ping
 
$ ping 169.254.2.2

Pinging 169.254.2.2 with 32 bytes of data:

Reply from 169.254.2.2: bytes=32 time<1ms TTL=128
Reply from 169.254.2.2: bytes=32 time<1ms TTL=128
Reply from 169.254.2.2: bytes=32 time<1ms TTL=128
Reply from 169.254.2.2: bytes=32 time<1ms TTL=128

Ping statistics for 169.254.2.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

$ ping 169.254.2.1

Pinging 169.254.2.1 with 32 bytes of data:

Reply from 169.254.2.1: bytes=32 time=671ms TTL=128
Reply from 169.254.2.1: bytes=32 time=420ms TTL=128
Reply from 169.254.2.1: bytes=32 time=12ms TTL=128
Reply from 169.254.2.1: bytes=32 time=12ms TTL=128

Ping statistics for 169.254.2.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 12ms, Maximum = 671ms, Average = 278ms


Windows FireWall service is disabled
Host/desktop machine is not connected to any other network

In Windows Mobile,  Start -> seettings -> connections -> usb to Pc -> Checked the option since i am using usb as usb-RNDIS and NOT as PPP connection.


06/23/2008 16:13:25.427 p(768) t(2160) TraceToFile -> ERROR in CRAPISocket::WaitForDataToRecv : hr = 0x80072745 - rapisock.cpp(413)
06/23/2008 16:13:25.427 p(768) t(2160) TraceToFile -> ERROR in CRAPISocket::ReceiveBufferNoDecrypt : hr = 0x80072745 - rapisock.cpp(498)
06/23/2008 16:13:25.427 p(768) t(2160) TraceToFile -> ERROR in CRAPISocket::ReceiveBuffer : hr = 0x80072745 - rapisock.cpp(690)
06/23/2008 16:13:25.427 p(768) t(2160) TraceToFile -> ERROR in CRAPIPacket::ReadPacket : hr = 0x80072745 - rapiconnection.cpp(620)
06/23/2008 16:13:25.427 p(768) t(2160) TraceToFile -> ERROR in CRAPIDevicePrivate::HandlePackets : hr = 0x80072745 - RAPIDevicePriv.cpp(459)
06/23/2008 16:13:25.427 p(768) t(288) TraceToFile -> ERROR in CRAPIDevicePrivate:rimeDeviceInfo : hr = 0x80070490 - RAPIDevicePriv.cpp(224)
06/23/2008 16:13:25.427 p(768) t(288) TraceToFile -> ERROR in CRAPIDesktopPrivate::ReceiveConnection : hr = 0x80070490 - RAPIDesktopPriv.cpp(455)
06/23/2008 16:13:25.427 p(768) t(3364) TraceToFile -> ERROR in CRAPIDesktopPrivate:nDeviceDisconnect : hr = 0x80070490 - RAPIDesktopPriv.cpp(1122)
06/23/2008 16:13:25.427 p(768) t(2160) TraceToFile -> ERROR in CRAPIDevicePrivate:eviceThread : hr = 0x80072745 - RAPIDevicePriv.cpp(687)

I get error
0x80072745 and activesync just spins displaying as "connecting". I have been trying hard to resolve this issue from past two days. i am unable to finding any help on resolving the 0x80072745 error or description on 0x80072745 error in the internet.

If you have seen this issue / resolved the same. please let me know

Thanks in advance
Raj
raj_Winmo
Found this helpful 0
Answer
raj_Winmo replied on

Reply

HI,

Thanks a lot for the reply,

I didn't update my OEMPlatformType in my windows mobile Source code.
After updating the OEMPLatformType to "PocketPC".. Things are working now (connected and able to transfer files)

But I still getting below errors,

06/27/2008 15:29:39.854 p(728) t(3452) TraceToFile -> ERROR in CConfigMgr::GetConfig : hr = 0x80004005 - cfgmgr.cpp(318)
06/27/2008 15:29:39.854 p(728) t(3452) TraceToFile -> ERROR in CDataSourceCol::_QueryDevice : hr = 0x80004005 - DataSource.cpp(5347)
06/27/2008 15:29:39.854 p(728) t(3452) TraceToFile -> ERROR in CDataSourceCol::Load : hr = 0x8000ffff - DataSource.cpp(3512)
06/27/2008 15:29:49.917 p(728) t(4088) TraceToFile -> ERROR in CConfigMgr::GetConfig : hr = 0x80004005 - cfgmgr.cpp(318)
06/27/2008 15:29:49.917 DTPT: Failed first query to find network. Dest={A1182988-0D73-439E-87AD-2A5B369F808B}, HR=0x80004005
06/27/2008 15:29:49.917 DTPT: FAILED to find source network. Dest={A1182988-0D73-439E-87AD-2A5B369F808B} fDeviceSrc=0 HR=0x80004005
06/27/2008 15:29:49.917 p(728) t(3884) TraceToFile -> ERROR in CCeSync2::CreateGuestOrSyncPartner : hr = 0x80004005 - sync2.cpp(2284)
06/27/2008 15:31:10.076 p(728) t(3884) TraceToFile -> ERROR in CExchCertEnroll::IsDeviceXBow : hr = 0x80004005 - exchcertenroll.cpp(242)
06/27/2008 15:31:20.514 p(728) t(3884) TraceToFile -> ERROR in CExchCertEnroll::IsDeviceXBow : hr = 0x80004005 - exchcertenroll.cpp(242)
06/27/2008 15:31:37.342 p(728) t(3884) TraceToFile -> ERROR in CExchCertEnroll::IsDeviceXBow : hr = 0x80004005 - exchcertenroll.cpp(242)
06/27/2008 15:32:20.969 p(728) t(3884) TraceToFile -> ERROR in CExchCertEnroll::IsDeviceXBow : hr = 0x80004005 - exchcertenroll.cpp(242)

Cheers,
Raj

Johan van Mierlo
Found this helpful 0

Please delete all partneships on your device and pc,

 

reboot both your pc and device and reconnect to create a new partneship.

 

Hopefully this will work for you

 

Johan van Mierlo | Community Moderator Windows Phone | www.mobilityminded.com | www.wp7.nl
raj_Winmo
Found this helpful 0
Answer
raj_Winmo replied on

Reply

HI,

Thanks a lot for the reply,

I didn't update my OEMPlatformType in my windows mobile Source code.
After updating the OEMPLatformType to "PocketPC".. Things are working now (connected and able to transfer files)

But I still getting below errors,

06/27/2008 15:29:39.854 p(728) t(3452) TraceToFile -> ERROR in CConfigMgr::GetConfig : hr = 0x80004005 - cfgmgr.cpp(318)
06/27/2008 15:29:39.854 p(728) t(3452) TraceToFile -> ERROR in CDataSourceCol::_QueryDevice : hr = 0x80004005 - DataSource.cpp(5347)
06/27/2008 15:29:39.854 p(728) t(3452) TraceToFile -> ERROR in CDataSourceCol::Load : hr = 0x8000ffff - DataSource.cpp(3512)
06/27/2008 15:29:49.917 p(728) t(4088) TraceToFile -> ERROR in CConfigMgr::GetConfig : hr = 0x80004005 - cfgmgr.cpp(318)
06/27/2008 15:29:49.917 DTPT: Failed first query to find network. Dest={A1182988-0D73-439E-87AD-2A5B369F808B}, HR=0x80004005
06/27/2008 15:29:49.917 DTPT: FAILED to find source network. Dest={A1182988-0D73-439E-87AD-2A5B369F808B} fDeviceSrc=0 HR=0x80004005
06/27/2008 15:29:49.917 p(728) t(3884) TraceToFile -> ERROR in CCeSync2::CreateGuestOrSyncPartner : hr = 0x80004005 - sync2.cpp(2284)
06/27/2008 15:31:10.076 p(728) t(3884) TraceToFile -> ERROR in CExchCertEnroll::IsDeviceXBow : hr = 0x80004005 - exchcertenroll.cpp(242)
06/27/2008 15:31:20.514 p(728) t(3884) TraceToFile -> ERROR in CExchCertEnroll::IsDeviceXBow : hr = 0x80004005 - exchcertenroll.cpp(242)
06/27/2008 15:31:37.342 p(728) t(3884) TraceToFile -> ERROR in CExchCertEnroll::IsDeviceXBow : hr = 0x80004005 - exchcertenroll.cpp(242)
06/27/2008 15:32:20.969 p(728) t(3884) TraceToFile -> ERROR in CExchCertEnroll::IsDeviceXBow : hr = 0x80004005 - exchcertenroll.cpp(242)

Cheers,
Raj