Syncing with ActiveSync 4.0 crashes computer! - 8125, K-JAM, P4300, MDA Vario General

Hi,
I'm using ActiveSync 4.0 to try to sync my iMate K-Jam (WM 5) with my IBM T40p laptop. Each time it connects, I get up getting the Blue Screen of Death while trying to connect. I have successfully connected a WM 2003 device (iMate Jam) to my laptop with AS 4.0, but my WM 5 device will crash my computer all the time.
I'm using Windows XP SP2 and have ensured that the firewall is off and the Anti-virus is disabled. I have tried it on the same machine with Windows XP SP1 before I reformatted the HD and re-installed Windows XP(but this time with SP2). I can however get it to work on another machine but try as I might it will not work with my laptop.
I've dug up the logs for AS and attached them below. Any help would be greatly appreciated - this is driving me up the wall!!!!
Regards,
Rajesh
P.S. I've tried AS 4.1 but I still get the same results.
WCESMgr.log
**** ActiveSync (4.0.4358 RETAIL) started, Cmd line: '/show'
10/12/2005 07:49:47.082 ERROR returned in function CMainFrmWnd::ReadWindowPlacement. hr: 0x80070002
10/12/2005 07:49:53.401 p(1016) t(3364) TraceToFile -> ERROR in CHttpEngine::SetTrustedIp : hr = 0x80072726 - httpeng.cpp(253)
10/12/2005 07:50:19.529 p(1016) t(3588) TraceToFile -> ERROR in CConfigMgr::GetConfig : hr = 0x80072775 - cfgmgr.cpp(318)
10/12/2005 07:50:56.072 p(1016) t(3588) TraceToFile -> ERROR in CConfigMgr::GetConfig : hr = 0x80072775 - cfgmgr.cpp(318)
10/12/2005 07:51:49.098 **************** Logging Started ****************
10/12/2005 07:51:49.098 Process C:\Program Files\Microsoft ActiveSync\WCESMgr.exe p(3752)
10/12/2005 07:51:49.098 ActiveSync second instance started, Cmd line: '/onconnect'
10/12/2005 07:51:49.098 ActiveSync second instance exiting
10/12/2005 07:51:49.098 **************** Logging Stopped ****************
10/12/2005 07:51:49.378 Creating new partnership for device 0x0 (Sinope, PocketPC).
WCESCOMM.LOG
10/12/2005 07:53:41.967 - Windows CE Services (4.0.0) Communication Logging.
10/12/2005 07:53:41.977 - IrUtil: IrDA socket cannot be created, error code 10093.
10/12/2005 07:53:41.977 - Windows CE Services Communication started.
10/12/2005 07:53:42.938 - Started desktop passthru TCP2UDP component
10/12/2005 07:53:42.948 - Connection: Prep for a new socket connection.
10/12/2005 07:53:43.359 - ComSerial: Open device <COM6>.
10/12/2005 07:53:43.839 - Serial: Starting device detection at 19200.
10/12/2005 07:53:44.100 - ComSerial: Change DTR to 1.
WCESLog.log
10/12/2005 06:31:46.349 **************** Logging Started ****************
10/12/2005 06:31:46.349 Process C:\PROGRA~1\MICROS~3\rapimgr.exe p(3228)
10/12/2005 06:31:46.349 p(3228) t(3224) RAPIMgr -> Enabling RAPIMgr process for SessionID: 0, ProcessID: 3228 - rapimgr.cpp(1909)
10/12/2005 06:41:41.838 **************** Logging Started ****************
10/12/2005 06:41:41.838 Process C:\PROGRA~1\MICROS~3\rapimgr.exe p(2616)
10/12/2005 06:41:41.838 p(2616) t(2620) RAPIMgr -> Enabling RAPIMgr process for SessionID: 0, ProcessID: 2616 - rapimgr.cpp(1909)
10/12/2005 07:49:46.431 **************** Logging Started ****************
10/12/2005 07:49:46.431 Process C:\Program Files\Microsoft ActiveSync\WCESMgr.exe p(1016)
10/12/2005 07:53:42.718 **************** Logging Started ****************
10/12/2005 07:53:42.718 Process C:\PROGRA~1\MICROS~3\rapimgr.exe p(1124)
10/12/2005 07:53:42.718 p(1124) t(1212) RAPIMgr -> Enabling RAPIMgr process for SessionID: 0, ProcessID: 1124 - rapimgr.cpp(1909)

I have the same with a T30.. What i sthe code in he Blue page. Mine was 00000001
I am having to use Infra Red to sysnc on this my work laptop.

I had this problem too. Firstly are you running Anti-virus software? In particular one that contains a firewall, such as PC-cillin? If so try disabling it temporarily (at your own risk etc...) and see if this helps.
Also you might want to try the latest version of ActiveSync 4.1 (build 4807, I think), which seems to be better.

divingsheep said:
I had this problem too. Firstly are you running Anti-virus software? In particular one that contains a firewall, such as PC-cillin? If so try disabling it temporarily (at your own risk etc...) and see if this helps.
Also you might want to try the latest version of ActiveSync 4.1 (build 4807, I think), which seems to be better.
Click to expand...
Click to collapse
Tried disabling both the AV and firewall, but to no avail. I've tried AS 4.1 and that didn't help either.
I've got it syncing using Bluetooth, but still can't sync with USB!
Rajesh

There was a report over at HoFo about someone with this problem that fixed it by making sure they had all of the updates from MS installed. They posted that after going to the Windows Update site, it installed SP2, still crashed, went back to the update site, got some more and one fo the updates was some sort of USB update. After that the problem went away.
I suggest trying that and seeing if it fixes the problem. Remember you might have to do the update site more then once to make sure all of the udpates have been installed.
Good Luck

Make sure that your motherboard drivers are up to date - this solved my blue screen of death on my Nforce 3 system!
Cheers
Ody

IBM phantom tcp port management?
I too have an IBM that will NOT work with ActiveSync 4.x. I am convinced it is some phantom TCP Port network management issue.
I can only sync via IR, but ActiveSync 3.x worked fine b/c it did not use the TCP/IP stack as does ActiveSync 4.x!!! I also cannot use network management tools that employ high unassigned TCP ports...just like ActiveSync's TCP 26675!
Coincidence...I think not!
FYI, I installed 4.x on my HP laptop...works fine with my QTEX 9100.
Ideas?
Ldr.D

Related

Deploying app to debug on spv m500

Hi There,
I am useing .net 2003, create a C# Smart Device app for smartphone 2003. I can run this on the emulator ok.
I have the phone connected by activesync.
When I try to deploy to the "smartphone device (Default)" it pauses for a few seconds and a dialog apears saying there where deployment errors.
Heres the output:
------ Deploy started: Project: SmartDeviceApplication2, Configuration: Debug Smartphone ------
Deploying to Smartphone Device using TCP Connect Transport
Error: Cannot establish a connection. Be sure the device is physically connected to the development computer.
---------------------- Done ----------------------
Build: 1 succeeded, 0 failed, 0 skipped
Deploy: 0 succeeded, 1 failed, 0 skipped
Can anyone help me with what I am doing wrong.
Cheers
Andy

IDA ARM debuger

Hello!
I try to debug some program on Qtek 8310 with IDA 4.9 Adv+IDA ARM debuger plugin from IDA 5.
My device is sofware unlocked:
1)HKLM\Security\Policies\Policies\00001001 = 2 => 1
2)SDA_Unlock.exe
3)HKLM\init\BootVars\RequireCertMod = 1 => 0
4)HKLM\Security\Policies\Policies\00001005 = 16 => 40 (RAPI)
5)HKLM\Security\Policies\Policies\00001017 = 16 => ??? (CERT)
When I start debuging in IDA, plugin being to run om smartphone, activesync conection go down and ida show message - irs_recv:An existing connection was forcibly closed by the remote host
What I do worth?
Same problem. May be ActiveSync problem? I am using 4.1
BTW, there is already post with same problem: http://forum.xda-developers.com/viewtopic.php?t=48886
I've enabled RAPI, full unlocked - by ActiveSync still crashing (AppName: wcesmgr.exe AppVer: 4.1.4841.0 ModName: wcesmgr.exe
ModVer: 4.1.4841.0 Offset: 00023ed6)
Olostan said:
Same problem. May be ActiveSync problem? I am using 4.1
Click to expand...
Click to collapse
I have activesync 4.0 4.1 and 4.2 - same problem... In device emulator with WM 5.0 Smartphone QVGA works all rights.
here:
Don't work
EnableRAPI.cab don't work on wm5(qtek8310) with error while install (not for this device). I think it is not support wm5.0.

no usb connectiion with XP SP2

Hi All,
i am really looking for some help here, as lst 3-4 hours were fully unsuccessful for me... My laptop (XP SP2) stopped recognizing my tytn via usb. Once i connect the device, i go thru the Found new hardware wizard. At the end of process (no matter i select automatic update, or direct) it will give me an error: windows mobile-based device could not be installed... an error occured during the instalation. The reason is that it is looking for the USB driver in c:/windows/inf/oem4.inf file. This file directs to usb8023x.sys, which is supposed to control the connection.
Last few blocks from setupapi look like:
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#I124 Doing copy-only install of "USB\VID_0BB4&PID_0B04\00197735-4275-0151-1800-0050BF3F5173".
#-011 Installing section [RNDIS.NT.5.1] from "c:\windows\inf\oem4.inf".
#E358 An unsigned or incorrectly signed file "c:\windows\inf\oem4.inf" for driver "Windows Mobile-based Device" blocked (server install). Error 1168: Element not found.
#E122 Device install failed. Error 1168: Element not found.
#E157 Default installer failed. Error 1168: Element not found.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [RNDIS.NT.5.1.Interfaces] from "c:\program files\microsoft activesync\drivers\wcerndis.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of "USB\VID_0BB4&PID_0B04\00197735-4275-0151-1800-0050BF3F5173".
#E122 Device install failed. Error 2: The system cannot find the file specified.
#E154 Class installer failed. Error 2: The system cannot find the file specified.
#I060 Set selected driver.
#I125 Installing NULL driver for "USB\VID_0BB4&PID_0B04\00197735-4275-0151-1800-0050BF3F5173".
#E122 Device install failed. Error 2: The system cannot find the file specified.
[2007/04/15 00:59:57 1784.12 Driver Install]
#-019 Searching for hardware ID(s): usb\vid_0bb4&pid_0b04&rev_0000,usb\vid_0bb4&pid_0b04
#-018 Searching for compatible ID(s): usb\class_ef&subclass_01&prot_01,usb\class_ef&subclass_01,usb\class_ef
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#I022 Found "USB\Class_EF&SubClass_01&Prot_01" in C:\WINDOWS\inf\oem4.inf; Device: "Windows Mobile-based Device"; Driver: "Windows Mobile-based Device"; Provider: "Microsoft Corporation"; Mfg: "Microsoft Corporation"; Section name: "RNDIS.NT.5.1".
#I023 Actual install section: [RNDIS.NT.5.1]. Rank: 0x00002000. Effective driver date: 10/28/2005.
#I022 Found "USB\Class_EF&SubClass_01&Prot_01" in C:\WINDOWS\inf\oem37.inf; Device: "Windows Mobile-based Device"; Driver: "Windows Mobile-based Device"; Provider: "Microsoft Corporation"; Mfg: "Microsoft Corporation"; Section name: "RNDIS.NT.5.1".
#I023 Actual install section: [RNDIS.NT.5.1]. Rank: 0x00002000. Effective driver date: 10/28/2005.
Would appreciate any help (reinstalling the XP is not an option for me...). TyTN is working with no problems being linked to other computers.
Have you used the installation disc?
Mike
Installation disk for what? The thing is that the most recent RNDIS and "Windows mobile-based device" are part of XP SP2 pack... The other thing is that everything was working perfectly well for me till yesterday. This does look like smth has got corrupted, but SP2 repair did not help.
USB problem...
Hey, I have the same problem for over 3 months now...
The strange thing is, IR an Bluetooth work well, it's a TyTn thing because a Qtek 9100 or 8310 are perfectly pairable.
I also have this with ALL PC's using activesync 4.x. I first thought it was my USB cable that was defective, but this seems to be OK (sync perfect with all qteks PSP etc)
Altough i haven't used it with my vista configuration yet i think it will have the same problem...
Now i'm stuck with the o so slow IR because there's no answer for this on any site... (long live google)
nobody has an idea?
I can't believe that
Anyone fixed this as at the moment I cannot connect my hermes to my XPSP2 machine.
Mine wasn't working, then it worked. Don't know what I did.
But know the USB internet connect option doesn't work.
sigh...i hate windows
sorry double post. can't find the delete post option

NO usb sync

Hey,
I have a strange problem with my Tytn, I can sync with activesync 4.5 bluetooth, but since last thuesday not with usb cable. This is the message i got...
in WCESlog.log wordt weggeschreven:
</Collections>
</Sync>
06/15/2007 07:31:56.768 p(6140) t(5168) SyncEngPerf -> Sync Statistics: Finished processing request - Service.cpp(2273)
06/15/2007 07:32:12.197 p(3816) t(2136) TraceToFile -> ERROR in CRAPISocket::WaitForDataToRecv : hr = 0x80072745 - rapisock.cpp(413)
06/15/2007 07:32:12.197 p(3816) t(2136) TraceToFile -> ERROR in CRAPISocket::ReceiveBufferNoDecrypt : hr = 0x80072745 - rapisock.cpp(498)
06/15/2007 07:32:12.197 p(3816) t(2136) TraceToFile -> ERROR in CRAPISocket::ReceiveBuffer : hr = 0x80072745 - rapisock.cpp(690)
06/15/2007 07:32:12.197 p(3816) t(2136) TraceToFile -> ERROR in CRAPIPacket::ReadPacket : hr = 0x80072745 - rapiconnection.cpp(620)
06/15/2007 07:32:12.197 p(3816) t(2136) TraceToFile -> ERROR in CRAPIDevicePrivate::HandlePackets : hr = 0x80072745 - RAPIDevicePriv.cpp(447)
06/15/2007 07:32:12.197 p(3816) t(2136) TraceToFile -> ERROR in CRAPIDevicePrivate:eviceThread : hr = 0x80072745 - RAPIDevicePriv.cpp(667)
06/15/2007 07:32:12.368 p(6140) t(3112) TraceToFile -> ERROR in CRAPISession::CeRapiUninitInternal : hr = 0x8000ffff - rapisession.cpp(466)
06/15/2007 07:32:12.438 p(6140) t(4524) SyncEng -> Terminate Extension called - SyncEng will uninitialize - Service.cpp(1030)
06/15/2007 07:32:12.438 p(6140) t(4524) Notif -> CMapiSession::Unregister - entering - mbase.cpp(2098)
06/15/2007 07:32:12.438 p(6140) t(4524) Notif -> CMapiSession::Unregister(0x2175348) - m_ulSessionConnectionId = 2, m_ulStoreConnectionId = 0 - mbase.cpp(2117)
06/15/2007 07:32:12.438 p(6140) t(4524) Notif -> CMapiSession::Unregister - returning 0x0 - mbase.cpp(2159)
06/15/2007 07:32:13.572 **************** Logging Stopped ****************
06/15/2007 07:32:17.096 p(6140) t(4048) SyncEng -> Asked to Unload - Unloading - Service.cpp(223)
06/15/2007 07:32:17.096 **************** Logging Stopped ****************
06/15/2007 07:32:17.146 **************** Logging Stopped ****************
06/15/2007 07:32:17.156 **************** Logging Stopped ****************
06/15/2007 07:55:39.726 **************** Logging Started ****************
06/15/2007 07:55:39.726 Process C:\Program Files\Microsoft ActiveSync\WCESMgr.exe p(2432)
06/15/2007 07:56:39.402 **************** Logging Stopped ****************
Can anyone help?
try other usb ports, uninstall activesync, restart yr pc n reinstall again...
tnx...
didn't resolve my problem...
As a suggestion, have you tried toggling "Enable advanced network functionality" in Settings -> Connections -> USB? It may work then.
Usb, bluetooth and activesync trouble
Hello
I must apologise in advance, this will be a long post but any help would be greatly appreciated.
A couple days ago I bought a T Mobile Vario 2.
After setting it up I tried to connect it to my laptop (running windows xp sp 2 with activesync 4.1 which I used to use with my old SPV C500) on USB. It didn’t work. I got a few different errors on attaching the USB (ranging from “unknown device”, “device malfunctioned” to “new windows mobile device” or “installing RNDIS drivers”) and then eventually no USB errors, but no activesync connection neither.
Then I tried installing the activesync version that came with the phone (on the T Mobile CD) – I think it is 4.2. no success.
Then I tried installing the latest activesync (4.5) – on success.
Then I tried everything I found on the internet, including: uninstalling all the USB devices on my computer, manually removing the devices in registry, restarting hundreds of times, plugging the USB in different ports, manually installing the RNDIS drivers (under activesync 4.5 directory), different cables that work for sure, switching the “Enable advanced network functionality” off, and a few other things I found google but none worked. I tried connection my old SPV C500 and it still works. I tried connecting my Vario to one of my work mate’s laptop (same configuration, using activesync 4.1 with his O2 XDA Orbit) which didn’t connect neither.
A few hours later, I tried on another laptop (XP SP 2, never had activesync) with the activesync on the t mobile CD and it connected on the first attempt.
Then I tried a few more tweaks on my laptop, including disabling the firewall and I got connected. Still, it is inconsistent, it only connects about 1 times out of 10 and then in about 30 seconds it looses the connection.
I sort of lost hope with USB, and tried a Bluetooth USB dongle I had (not the best one ever, but it works). Set it up, paired the device, set up the com port in Bluetooth and activesync (which at the moment was 4.5) and I got them to go both (phone and PC) on connecting and then the phone freezes there, PC times out after a while. Then retried to pair and set up ports in different order a few times, then tried activesync 4.2 on which the phone still freezes on “connecting” but the PC is not bothered at all.
I should probably mention that I think my laptop’s USB ports are fine, I use a usb mouse and keyboard, and sometimes a dvd writer as well and all are fine.
Needless to say, I tried to use the wireless modem but the modem returns some remote access error, either 633 or 692, so I didn’t get much of my web n walk plus so far.
The only thing that I can think of is to try and get a better USB Bluetooth adapter (like a proper brand and listed here: http://support.microsoft.com/default.aspx?kbid=841803)
Please let me know if you have any idea (ANY IDEA AT ALL).
quick follow up, follosing this post: http://forum.xda-developers.com/showthread.php?t=272727 I managed to get the dial up working though bluetooth (by connection from PC to phone) but still no joy with activesync.
Follow up
Hi guys
not much joy here.
I got it to connect on USB, but inconsistent only once in a while and it disconnects after about 30 seconds. Got it to connect over a dodgy bluetooth dongle I have but only a couple times, I cannot get it to connect again now.
It seems that the problem is PC related as it works on another PC. However, I can't find the problem.
Quick poll: what would you do if you were me:
1) Flash to WM6
2) buy a branded usb bluetooth dongle with WHQL drivers and try that for a change
Ideas would be greatly appreciated.

ActiveSync 4.5 Problem

Hi everybody!
I'm having some trouble connecting a pocket pc to my pc. I'm getting the following error message from activesync when I try to establish a partnership connection:
"Cannot verify the version of ActiveSync on your device. A program such
as a firewall may be blocking a port ActiveSync uses to connect to the
device, or you may need to upgrade to a more recent version od
ActiveSync on the PC"
Even if I try to cardle a virtual pocket pc (visual studio) I get the above message.
I'm using activesync 4.5 on a windows xp service pack 3 pc. Installing AS 3.8 would solve the connection/partnership problem but I must use AS 4.5 because Visual Studio does not except older versions of AS.
I've tried so far everything: allowed all ports needed for AS (even deactivated the firewall) - I tried to delete the partnership folders but found out that they haven't even been created by AS.
Even google couldn't really help me: most people get this error message because they have installed a HSDPA usb modem driver from hauwei. But I did not.
does anyone have a solution for this strange problem?
thank you in advance!
I have the same problem. I once got into it through My Computer but since then I've had no luck whatsoever!
You have exactly the same problem?
if you're not using visual studio just install active sync 3.8 as mentioned above. But I found an uggly solution: Cardle you pocket pc - you will get the regular error message. then open the taskmanager and kill the process rapimgr.exe and restart it again (C:\Program Files\Microsoft ActiveSync)
Uncardle and recardle the pocket pc again - you will get a critical error message but it can be ignored. Now you will be able to accees your data.
To deploy your software on pocket pc with visual studio you might restart the remote rocedure call locator (Control panel -> administrative tools -> services)
hope I could help you! but I'm really not satisfied with this solution. I'm open for better ways to solve this problem.

Categories

Resources