Strange sync issue

John P
2010-07-11
2013-04-29
  • John P

    John P - 2010-07-11

    I am using version 1.5.1 (my first install) and the sync never completes.  I think I have a problem with my lotus notes calendar database because other programs that I have tried will not complete either.  I am writing you to ask if you know of a tool that I can run that could detect errors and maybe fix them?

    When I use calsync it never completes.  Here is a copy of the log.

    07-11-2010 08:47:29.698  Settings saved
    07-11-2010 08:47:29.730  Default calendar set: pettinejwa@gmail.com
    07-11-2010 08:47:29.730  Ready to Sync!
    07-11-2010 08:47:32.730  Running CalSync 1.5.1
    07-11-2010 08:47:32.761  Retrieving Calendar Entries for pettinejwa@gmail.com
    07-11-2010 08:47:32.761  Retrieving Notes Calendar Entries
    07-11-2010 08:47:34.402  Found 157 Google Calendar entries between 2010-07-04 and 2010-09-11
    07-11-2010 08:47:34.402   Google Calendar entries retrieved
    07-11-2010 08:47:35.870   Found 'Calendar' view. Iterating through calendar entries.

    I can let this run for hours and it will never complete.  However I do see my google calendar updated with calendar entries from lotus notes.  Any help would be appreciated.

    John

     
  • lidsinker

    lidsinker - 2010-07-13

    I wonder if you have a really large mailfile.  In Lotus Notes, go to the File Menu -> Database -> Properties.  Then click the "i" tab to view your mailfile properties.  I'm curious how much Disk space your mailfile is using, and how many documents there are.  I've had one other user report problems when they had a mail file that was about 10 years old and was so big that CalSync took forever to retrieve all the correct meeting entries.

     
  • John P

    John P - 2010-07-14

    My mail file is 164MB.    I do not have emails older than 6months.  The old ones are archived.  That archived file is HUGE.  there are 9,635 documents.  I don't think that this is the problem. 

    John

     
  • lidsinker

    lidsinker - 2010-07-19

    Are you connecting to a local mailfile or a mailfile on a server?  Also, if I'm not mistaken, calendar entries are not archived by default.  Have you archived your calendar entries?

    I've uploaded a new version I would like you to try.  The logic isn't any different but I've added some code to facilitate debugging.  Please run the new version and enable verbose logging.  The verbose log will give some feedback as it searches your mailfile for calendar entries in the specified time period.  Let me know how it goes.

    Download Release 1.5.2647

     
  • John P

    John P - 2010-07-19

    yeah you are right.  I stopped the program after it got to 1700 entries.  I will try to clean up my mail file and see what happens.  Thank you.

     
  • edejongh

    edejongh - 2010-08-28

    Hi,
    I have the same issue. I do have a fairly big mailfile, it finished successfully after searching 23000 entries and about 15 minutes. This happens every sync that i do.
    This correct?

     
  • lidsinker

    lidsinker - 2010-08-28

    Ya, unfortunately the Lotus Notes API doesn't provide a very robust method of searching large mailfiles.  I'm still researching ways I can improve performance on large mailfiles, but in the meantime I'm suggesting to folks that they archive some of their really old calendar entries.

     
  • lidsinker

    lidsinker - 2010-10-12

    I have just uploaded a test release of a new version of CalSync (1.7) which includes some dramatic performance improvements when syncing with large mailfiles. It used to take about 10 seconds to retrieve the calendar entries from Lotus Notes for my mailfile and that has been reduced down to less than one second.  I'm hoping that you both will see some drastic decreases in your sync time.

    Give it a try and let me know the results.  Here's the download link.

     
  • edejongh

    edejongh - 2010-10-12

    Hi,
    Get the following error:
    10-12-2010 06:48:21.523  Running CalSync 1.6
    10-12-2010 06:48:21.523  Logging in to Google Calendar
    10-12-2010 06:48:21.523  Logging in to Lotus Notes
    10-12-2010 06:48:21.523   Domino.NotesSession Created
    10-12-2010 06:48:21.523   NotesSession initialized
    10-12-2010 06:48:21.523   Servername and mailfile are null
    10-12-2010 06:48:21.523   Exception ocurred
    10-12-2010 06:48:21.523   System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
       at Domino.NotesSessionClass.GetDbDirectory(String pServer)
       at CalSync.NotesService.ConnectToNotes(Boolean firstTime, String password, String serverName, String mailFile)
    10-12-2010 06:48:21.523  Unable to login to Lotus Notes.
    10-12-2010 06:48:21.523  Please check your Lotus Notes password/server/mailfile
    10-12-2010 06:48:22.835  Successfully logged into Google!
    10-12-2010 06:48:22.835  Retrieving List of Google Calendars
    10-12-2010 06:48:22.835  Google Calendars Retrieved

    I made sure my Notes.INI and ID file are in the same folder.
    Tried with and without specifying the mail server and full path to my NSF file.

     
  • lidsinker

    lidsinker - 2010-10-12

    You used to be able to login just fine, correct?  Will your old version work?  Also, I noticed you are running version 1.6, but only version 1.7 has the performance enhancements.

     
  • edejongh

    edejongh - 2010-10-12

    Could login with an earlier version yes but dont have those settings anymore.
    Downloaded 1.7.
    Same error.
    10-12-2010 07:09:18.677  Running CalSync 1.7
    10-12-2010 07:09:18.677  Logging in to Google Calendar
    10-12-2010 07:09:19.037  Logging in to Lotus Notes
    10-12-2010 07:09:19.037   Domino.NotesSession Created
    10-12-2010 07:09:19.037   NotesSession initialized
    10-12-2010 07:09:19.037   Servername and mailfile are null
    10-12-2010 07:09:19.037   Exception ocurred
    10-12-2010 07:09:19.037   System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
       at Domino.NotesSessionClass.GetDbDirectory(String pServer)
       at CalSync.NotesService.ConnectToNotes(Boolean firstTime, String password, String serverName, String mailFile)
    10-12-2010 07:09:19.037  Unable to login to Lotus Notes.
    10-12-2010 07:09:19.037  Please check your Lotus Notes password/server/mailfile
    10-12-2010 07:09:21.599  Successfully logged into Google!
    10-12-2010 07:09:21.599  Retrieving List of Google Calendars
    10-12-2010 07:09:21.599  Google Calendars Retrieved

     
  • lidsinker

    lidsinker - 2010-10-12

    Can you try quitting Lotus Notes and re-registering nlsxbe.dll?  It should be in your Lotus Notes installation folder.

     
  • edejongh

    edejongh - 2010-10-13

    Could not register that DLL due to two missing files but according to some people on the Web they are not needed.
    I get different error when i intentionally put in wrong password so it looks like its actually finding my mail DB.

    With Wrong Password
    10-13-2010 07:33:15.492  Running CalSync 1.7
    10-13-2010 07:33:15.508  Logging in to Google Calendar
    10-13-2010 07:33:15.508  Logging in to Lotus Notes
    10-13-2010 07:33:15.508   Domino.NotesSession Created
    10-13-2010 07:33:15.555   Exception ocurred
    10-13-2010 07:33:15.555   System.Runtime.InteropServices.COMException (0x80040FA0): Notes error: Wrong Password. (Passwords are case sensitive - be sure to use correct upper and lower case.)
       at Domino.NotesSessionClass.Initialize(String pPassword)
       at CalSync.NotesService.ConnectToNotes(Boolean firstTime, String password, String serverName, String mailFile)
    10-13-2010 07:33:15.555  Unable to login to Lotus Notes.
    10-13-2010 07:33:15.555  Please check your Lotus Notes password/server/mailfile
    10-13-2010 07:33:16.977  Successfully logged into Google!
    10-13-2010 07:33:16.977  Retrieving List of Google Calendars
    10-13-2010 07:33:16.977  Google Calendars Retrieved

    With Correct Password
    10-13-2010 07:33:26.414  Running CalSync 1.7
    10-13-2010 07:33:26.430  Logging in to Google Calendar
    10-13-2010 07:33:26.430  Logging in to Lotus Notes
    10-13-2010 07:33:26.430   Domino.NotesSession Created
    10-13-2010 07:33:26.430   NotesSession initialized
    10-13-2010 07:33:26.430   Servername and mailfile are null
    10-13-2010 07:33:26.430   Exception ocurred
    10-13-2010 07:33:26.430   System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
       at Domino.NotesSessionClass.GetDbDirectory(String pServer)
       at CalSync.NotesService.ConnectToNotes(Boolean firstTime, String password, String serverName, String mailFile)
    10-13-2010 07:33:26.430  Unable to login to Lotus Notes.
    10-13-2010 07:33:26.430  Please check your Lotus Notes password/server/mailfile
    10-13-2010 07:33:27.711  Successfully logged into Google!
    10-13-2010 07:33:27.726  Retrieving List of Google Calendars
    10-13-2010 07:33:27.726  Google Calendars Retrieved

     
  • lidsinker

    lidsinker - 2010-10-13

    It is able to verify your password because it can find the ID file.  I'm almost positive the problems are caused by that DLL not registering properly.  If you look through the forums there are four or five cases where registering that DLL successfully was the solution.

     
  • edejongh

    edejongh - 2010-10-13

    Cannot get that DLL registered.
    Thanx for trying to help anyway.

     
  • lidsinker

    lidsinker - 2010-10-13

    What error are you getting when you try to register it?

     
  • edejongh

    edejongh - 2010-10-13

     
  • edejongh

    edejongh - 2010-10-13

     
  • lidsinker

    lidsinker - 2010-10-13

    It seems something may be off in your Lotus Notes installation.

    You can open the nlsxbe.dll using the Dependency Walker (www.dependencywalker.com) to see if any other DLLs that nlsxbe.dll rely on are missing.

     
  • edejongh

    edejongh - 2010-10-13

    Have done that but cannot see whats wrong.

     
  • lidsinker

    lidsinker - 2010-10-13

    I guess I'm not sure what else to do at this point.  It's extreme, but I'd re-install Lotus Notes if that is possible.  The other thing is to check if your PATH variable includes the directory with the nlsxbe.dll file.

    You could also try copying your .vbs file into the same directory as the nlsxbe.dll and run it from there.

     
  • edejongh

    edejongh - 2010-10-13

    I checked the path and ran TEST.VBS out of the lotus\notes folder. Nothing.
    Thanx a lot for the help anyway.
    Using lngsync.vbs at the moment and it works OK'ish.

     
  • Anonymous - 2011-02-22

    In order to repair corrupt NSF file & fix all the resulting errors, you can try Stellar Lotus Notes Recovery Software which is an excellent software to repair corrupt NSF file and recovers all emails, calendar entries, notes, tasks, journals, attachments and address books. **Lotus Notes Recovery** software is an advanced and powerful tool which scans, repairs NSF files & performs quick recovery of corrupted NSF file components.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks