Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




2 posts

Wannabe Geek


Topic # 15244 11-Aug-2007 17:06
Send private message

Greetings all

I am trying to sort out an issue with an Apache trying to Activesync (version 4.0) to a laptop. At present when I plug it in Activesync starts up and then pops up a window saying Retrieving Settings ... and then just sits there forever.

Now I saw a bunch of suggestions in another forum here but it is locked so I am just copying some of it here to show what I have checked and found.  This stuff was originally posted by freitasm and is copied here without his permission .. but hopefully he won't take offence Smile


# Look in Device Manager for "Windows Mobile Device" under Network Adapters. If it's not there then there was a problem installing ActiveSync.
--> I have looked in Device Manager and Windows Mobile Device is not there.
# Look in Device Manager for "Generic RNDIS" under Other Devices. If it's there then there was a problem installing ActiveSync.
--> There isn't a sub-heading called Other Devices on this laptop.
# After placing the Apache in the cradle use the command line to PING 169.254.2.1. If it's not replying then the connection is not completed.
--> This works properly, I can ping the address
# Make sure the DHCP Client service is running on your PC.
--> DHCP Client is running on the laptop
# Make sure the firewall configuration allows the following programs: wcesmgr.exe, wcescomm.exe, rapimgr.exe, ActiveSync service (port 26675).
--> The firewall (Sygate Firewall) is configured to allow those programs through
# Look in the following log files for clues: %temp%\wcescomm.log, %temp%\wcesmgr.log, %temp%\wceslog.log.
--> There are some errors in some of the logs thus ...
WCESMgr.log
p(292) t(876) TraceToFile -> ERROR in CConfigMgr::GetConfig : hr = 0x80072746 - cfgmgr.cpp(318)
p(292) t(876) TraceToFile -> ERROR in CDataSourceCol::_QueryDevice : hr = 0x80072746 - DataSource.cpp(5305)
p(292) t(876) TraceToFile -> ERROR in CDataSourceCol::Load : hr = 0x8000ffff - DataSource.cpp(3509)
p(292) t(2788) TraceToFile -> ERROR in CHttpEngine::SetTrustedIp : hr = 0x80072726 - httpeng.cpp(254)
p(292) t(2788) TraceToFile -> ERROR in CHttpEngine::SetTrustedIp : hr = 0x80072726 - httpeng.cpp(254)
**** ActiveSync exiting

WCESLog.log
**************** Logging Started ****************
Process C:\Program Files\Microsoft ActiveSync\WCESMgr.exe p(292)
p(2412) t(4000) TraceToFile -> ERROR in CRAPISocket::WaitForDataToRecv : hr = 0x80072745 - rapisock.cpp(413)
p(2412) t(4000) TraceToFile -> ERROR in CRAPISocket::ReceiveBufferNoDecrypt : hr = 0x80072745 - rapisock.cpp(498)
p(2412) t(4000) TraceToFile -> ERROR in CRAPISocket::ReceiveBuffer : hr = 0x80072745 - rapisock.cpp(690)
p(2412) t(4000) TraceToFile -> ERROR in CRAPIPacket::ReadPacket : hr = 0x80072745 - rapiconnection.cpp(620)
p(2412) t(4000) TraceToFile -> ERROR in CRAPIDevicePrivate::HandlePackets : hr = 0x80072745 - RAPIDevicePriv.cpp(443)
p(292) t(876) TraceToFile -> ERROR in CRAPISocket::ReceiveBufferNoDecrypt : hr = 0x80072746 - rapisock.cpp(524)
p(292) t(876) TraceToFile -> ERROR in CRAPISocket::ReceiveBufferSize : hr = 0x80072746 - rapisock.cpp(630)
p(292) t(876) TraceToFile -> ERROR in CByteBuffer::ReceiveFromSocket : hr = 0x80072746 - bytebuf.cpp(314)
p(292) t(876) TraceToFile -> ERROR in CRAPISession::RAPI_EXP_25 : hr = 0x80072746 - rapisession.cpp(10099)
p(2412) t(4000) TraceToFile -> ERROR in CRAPIDevicePrivate::DeviceThread : hr = 0x80072745 - RAPIDevicePriv.cpp(663)
**************** Logging Stopped ****************


# Make sure your USB is work properly
--> USB is working fine.
# Do not use USB HUBs
--> No hub on this machine.

Now I know that points 1 and 2 suggest there was a problem installing Activesync but what sort of problem and how do I resolve it? I have uninstalled and reinstalled and I have tried both versions 4.0 and 4.5 to no avail. If anyone has any light to shed on this I would be most appreciative.

cheers
Chris

 


Create new topic
BDFL - Memuneh
61746 posts

Uber Geek
+1 received by user: 12406

Administrator
Trusted
Geekzone
Lifetime subscriber

Reply # 82022 11-Aug-2007 17:14
Send private message

Chris I seriously recommend you update to the latest ActiveSync 4.x - ActiveSync 4.0 was just a beta - and really bad.

Uninstall ActiveSync, reboot your PC, install the new ActiveSync, reboot your PC, plug the Apache.

Make sure you soft reset the Apache just before plugging.

If you are running Windows Live One Care, it won't work well with ActiveSync.

You have other firewalls on your PC - remember the Windows Firewall is active most of the times, so check that too, not only Sygate.

Check the USB cable. Perhaps use another one to try?

Is there enough storage memory on your Pocket PC?








2 posts

Wannabe Geek


  Reply # 82027 11-Aug-2007 18:07
Send private message

Thanks very much for your fast reply Freitasm.

OK ... here goes ...

uninstalled 4.0 then rebooted
installed 4.5 then rebooted
replaced usb cable
checked that windows firewall is disabled
checked storage memory on apache - 37MB free
soft reset apache
plugged apache in ...

Got an error saying to the Windows Mobile Powered Device (NB - this is the first time I have had this message)

Clicked OK to troubleshoot the problem ...

The troubleshooting tool ran for a while and then came back with 2 potential issues

1.  Sygate Personal Firewall has been detected. Firewall settings can prevent Windows Mobile powered devices from connecting. Get up-to-date solutions to common firewall problems and step by step instructions for correcting them. Please click the following link:
http://go.microsoft.com/fwlink/?LinkId=65175
and follow the steps provided to make sure that your firewall is configured correctly.

--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
2.  Unable to establish a connection between the PC and the device. Get up-to-date solutions to common connection problems. Please click the following link:  http://go.microsoft.com/fwlink/?LinkId=65257


I had previously followed the instructions on the first link in an attempt to resolve the issue and so I had a look at the second link.  All the settings on the phone and pc were just as the linked page said they should be.  But since the page said to be sure that the phone was plugged in with the cable that came with it (not that it should make any difference in theory) I swapped back to the original cable.  Then the phone was detected and connected to just as it had before but still with the same original problem ie it comes up Retrieving settings and just sits there seemingly forever.

Cry


 
 
 
 


Infrastructure Geek
4057 posts

Uber Geek
+1 received by user: 195

Trusted
Microsoft NZ
Subscriber

  Reply # 82242 13-Aug-2007 19:40
Send private message

NZChris: 1.  Sygate Personal Firewall has been detected. Firewall settings can prevent Windows Mobile powered devices from connecting.


Have you tried disabling/removing the Sygate firewall?




Technical Evangelist
Microsoft NZ
about.me/nzregs
Twitter: @nzregs


BDFL - Memuneh
61746 posts

Uber Geek
+1 received by user: 12406

Administrator
Trusted
Geekzone
Lifetime subscriber

Reply # 82263 13-Aug-2007 22:14
Send private message

Regs is right - some software firewall continue to interfere even when disabled because they actually replace some parts of the system. Only removing then you actually get to turn them off...




Infrastructure Geek
4057 posts

Uber Geek
+1 received by user: 195

Trusted
Microsoft NZ
Subscriber

  Reply # 82274 13-Aug-2007 23:22
Send private message

NZChris:

checked that windows firewall is disabled

Sygate Personal Firewall has been detected.


Just in case it isnt obvious, Sygate Personal Firewall is a different firewall product than Windows Firewall.  Both of these could potentially break ActiveSync (but windows firewall is less likely to)




Technical Evangelist
Microsoft NZ
about.me/nzregs
Twitter: @nzregs


Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.