FIX: ActiveSync does not work after a successful backup on Windows CE Platform Builder 4.1 (328014)



The information in this article applies to:

  • Microsoft Windows CE .NET 4.1

This article was previously published under Q328014

SYMPTOMS

On a computer that is running Microsoft Windows CE .NET 4.1, the ActiveSync Restore operation does not work correctly after you successfully complete a Backup operation.

RESOLUTION

To resolve this problem, update the code in the Datasync.bib file, and then rebuild your operating system image. To do this, follow these steps:
  1. Locate the following file in your Windows CE .NET 4.1 Platform Builder folder:

    Public\Datasync\Oak\Files\Datasync.bib

  2. Locate the following code near the end of this file.
    ; @CESYSGEN IF DATASYNC_MODULES_SYSTEM
       systemcpl.cpl        $(_FLATRELEASEDIR)\system.cpl                  NK  H
    ; @CESYSGEN ENDIF
    			
    Replace the previous code with the following code.
    ; @CESYSGEN IF DATASYNC_MODULES_SYSTEMCPL
       system.cpl        $(_FLATRELEASEDIR)\systemcpl.cpl                  NK  H
    ; @CESYSGEN ENDIF
    				
  3. Save the changes.
  4. Use Microsoft Windows CE .NET Platform Builder 4.1 to rebuild your operating system image.

MORE INFORMATION

After you follow the steps in the "Resolution" section, the Datasync.bib file appears as follows:
;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this source code is subject to the terms of the Microsoft end-user
; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
; If you did not accept the terms of the EULA, you are not authorized to use
; this source code. For a copy of the EULA, please see the LICENSE.RTF on your
; install media.
;
MODULES
;  Name            Path                                           Memory Type
;  --------------  ---------------------------------------------  -----------

IF IMGNOCONN !
; @CESYSGEN IF DATASYNC_MODULES_REPLLOG
    repllog.exe    $(_FLATRELEASEDIR)\repllog.exe                 NK  
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_UDP2TCP
    udp2tcp.exe    $(_FLATRELEASEDIR)\udp2tcp.exe                 NK  
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_RAPISRV
    rapisrv.exe    $(_FLATRELEASEDIR)\rapisrv.exe                 NK  
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_WCELOAD
    wceload.exe    $(_FLATRELEASEDIR)\wceload.exe                 NK  
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_WCELDCMD
    wceldcmd.exe    $(_FLATRELEASEDIR)\wceldcmd.exe                 NK  
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_WCELOAD && DATASYNC_MODULES_UNLOAD
    unload.exe    $(_FLATRELEASEDIR)\unload.exe                     NK  
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_WCELDCMD && DATASYNC_MODULES_UNLDCMD
    unldcmd.exe    $(_FLATRELEASEDIR)\unldcmd.exe                   NK  
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_CEDRMUTIL
    cedrmutil.dll $(_FLATRELEASEDIR)\cedrmutil.dll                  NK SH
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_DMSVC
    dmsvc.dll    $(_FLATRELEASEDIR)\dmsvc.dll                       NK  
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_DMCONSOL
    dmconsol.exe    $(_FLATRELEASEDIR)\dmconsol.exe                 NK  
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_DMINFOS
    dminfos.dll    $(_FLATRELEASEDIR)\dminfos.dll                   NK  
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_DMSCRIPT
    dmscript.exe   $(_FLATRELEASEDIR)\dmscript.exe                  NK  
; @CESYSGEN ENDIF

ENDIF


; @CESYSGEN IF DATASYNC_MODULES_RRA_STM
   rra_stm.dll     $(_FLATRELEASEDIR)\rra_stm.dll                 NK  H
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_CEFOBJ
   cefobj.dll      $(_FLATRELEASEDIR)\cefobj.dll                  NK  H
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_PEGOBJ
   pegobj.dll      $(_FLATRELEASEDIR)\pegobj.dll                  NK  H
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_EVENTRST
   eventrst.exe    $(_FLATRELEASEDIR)\eventrst.exe                NK  H
; @CESYSGEN ENDIF

; @CESYSGEN IF DATASYNC_MODULES_SYSTEMCPL
   system.cpl   	$(_FLATRELEASEDIR)\systemcpl.cpl                  NK  H
; @CESYSGEN ENDIF


FILES
; @CESYSGEN IF DATASYNC_MODULES_EVENTRST
   eventrst.lnk   $(_FLATRELEASEDIR)\eventrst.lnk                 NK  SH
; @CESYSGEN ENDIF

				

Steps to reproduce the problem

For more information about how to set up ActiveSync, see either the ActiveSync documentation on the Help menu or visit the following MSDN Web site:
  1. Start the device.
  2. Connect the device, and then set up an ActiveSync partnership between your computer and your device.

    Note You can use a cradle, a cable, or infrared technology.
  3. To back up the device by using the ActiveSync program on your computer, follow these steps:
    1. On the Tools menu, click Backup/Restore.
    2. Click the Backup tab, and then continue with the backup procedure.
  4. Start the device, and then reconnect the device again.
  5. To set up the device as a guest, click No when you receive the following message:

    Would you like to set up a partnership?
  6. To try an ActiveSync restore operation from the program on your computer, follow these steps:
    1. On the Tools menu, click Backup/Restore.
    2. Click the Restore tab, click Restore Now, and then select the partnership name that was assigned during the backup operation.

      You receive the following error message:
      Restore: Connection Broken Connection to the device was broken during restore. The operation was canceled. Your device may not function correctly until you complete the restore operation successfully. Please reconnect and restart restore.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Modification Type:MajorLast Reviewed:9/29/2004
Keywords:kbtshoot kbbug kbfix KB328014 kbAudDeveloper kbAudOEM