Error after Notes upgrade from 6.5 to 8.5. "Attempted to read or write protected memory". No longer syncs.

Project:Awesync
Version:1.0.1.5
Component:Lotus/Notes
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

After upgrading to Notes 8.5 from 6.5, I initially got a "Can't process: System. IO.FileNotFoundException: Cannot find Lotus Notes INI file.

Now I get the "Attempted to read or write protected memory" error.

I've partions of the log file the show my errors below.

I've also tried to use the debug function and view or delete the event

________________________________________________________________
2010-03-01 10:49:28,361 [5] INFO AweSync.Settings - Saving settings...
2010-03-01 10:49:28,408 [5] INFO AweSync.Settings - Settings saved
2010-03-01 10:49:28,424 [5] INFO AweSyncLib.AweSyncMain - Collecting garbage...
2010-03-01 10:49:28,440 [5] INFO AweSyncLib.AweSyncMain - Done
2010-03-01 15:02:42,245 [1] INFO AweSync.Settings - Saving settings...
2010-03-01 15:02:43,988 [1] INFO AweSync.Settings - Settings saved
2010-03-01 15:20:46,283 [1] INFO AweSync.MainForm - Log started (AweSync 1.0.1.5)
2010-03-01 15:20:51,111 [1] INFO AweSync.Settings - Loading settings...
2010-03-01 15:21:05,533 [1] INFO AweSync.Settings - Settings loaded from C:\Documents and Settings\kcurry1\Application Data\AweSync\settings.cfg
2010-03-01 15:23:17,499 [5] INFO AweSyncLib.AweSyncMain - Process started
2010-03-01 15:23:17,530 [5] INFO AweSyncLib.AweSyncMain - Sync mode: Two Way (Latest Wins)
2010-03-01 15:23:17,546 [5] INFO AweSyncLib.AweSyncMain - OS: Microsoft Windows NT 5.1.2600 Service Pack 2
2010-03-01 15:23:17,561 [5] INFO AweSyncLib.AweSyncMain - Connecting Lotus Notes...
2010-03-01 15:23:17,624 [5] ERROR AweSync.MainForm - Can't process: Cannot find Lotus Notes INI file
2010-03-01 15:23:17,624 [5] WARN AweSync.MainForm - Can't process: System.IO.FileNotFoundException: Cannot find Lotus Notes INI file
at AweSyncLib.LotusHelper.GetIniFilePath(Boolean errorOnFail, Nullable`1& isMultiConfig)
at AweSyncLib.LotusHelper.OpenDatabase(String iniPath, String server, String nsfPath, String idFile, String idPassword, Boolean useCurrentIdFile, Int32 interopVersion)
at AweSyncLib.AweSyncMain.ConnectLotus()
at AweSyncLib.AweSyncMain.Process(UpdateStatusFunc updateFunc, Boolean isWholeSync, Dictionary`2& addCalendars, List`1& remCalendars)
at AweSync.MainForm.ProcessSyncThreadFunc()
2010-03-01 15:23:17,639 [5] INFO AweSyncLib.AweSyncMain - Collecting garbage...
2010-03-01 15:23:17,655 [5] INFO AweSyncLib.AweSyncMain - Done
2010-03-01 15:23:19,155 [6] INFO AweSyncLib.AweSyncMain - Process started
2010-03-01 15:23:19,155 [6] INFO AweSyncLib.AweSyncMain - Sync mode: Two Way (Latest Wins)
2010-03-01 15:23:19,155 [6] INFO AweSyncLib.AweSyncMain - OS: Microsoft Windows NT 5.1.2600 Service Pack 2
2010-03-01 15:23:19,155 [6] INFO AweSyncLib.AweSyncMain - Connecting Lotus Notes...
2010-03-01 15:23:19,171 [6] ERROR AweSync.MainForm - Can't process: Cannot find Lotus Notes INI file
2010-03-01 15:23:19,171 [6] WARN AweSync.MainForm - Can't process: System.IO.FileNotFoundException: Cannot find Lotus Notes INI file
at AweSyncLib.LotusHelper.GetIniFilePath(Boolean errorOnFail, Nullable`1& isMultiConfig)
at AweSyncLib.LotusHelper.OpenDatabase(String iniPath, String server, String nsfPath, String idFile, String idPassword, Boolean useCurrentIdFile, Int32 interopVersion)
at AweSyncLib.AweSyncMain.ConnectLotus()
at AweSyncLib.AweSyncMain.Process(UpdateStatusFunc updateFunc, Boolean isWholeSync, Dictionary`2& addCalendars, List`1& remCalendars)
at AweSync.MainForm.ProcessSyncThreadFunc()
2010-03-01 15:23:19,171 [6] INFO AweSyncLib.AweSyncMain - Collecting garbage...
2010-03-01 15:23:19,171 [6] INFO AweSyncLib.AweSyncMain - Done

Later, I started getting the second error!!!!!!
___________________________________________________________

2010-03-02 07:52:43,475 [1] INFO AweSync.MainForm - Log started (AweSync 1.0.1.5)
2010-03-02 07:52:43,803 [1] INFO AweSync.Settings - Loading settings...
2010-03-02 07:52:56,309 [1] INFO AweSync.Settings - Settings loaded from C:\Documents and Settings\kcurry1\Application Data\AweSync\settings.cfg
2010-03-02 07:56:48,702 [8] INFO AweSyncLib.AweSyncMain - Process started
2010-03-02 07:56:48,765 [8] INFO AweSyncLib.AweSyncMain - Sync mode: Two Way (Latest Wins)
2010-03-02 07:56:48,765 [8] INFO AweSyncLib.AweSyncMain - OS: Microsoft Windows NT 5.1.2600 Service Pack 2
2010-03-02 07:56:48,843 [8] INFO AweSyncLib.AweSyncMain - Connecting Lotus Notes...
2010-03-02 07:56:49,343 [8] INFO AweSyncLib.LotusHelper - Connected to LN: Release 8.5.1|September 28, 2009, build 368, platform Windows/32, Interop.Domino8
2010-03-02 07:56:49,562 [8] ERROR AweSync.MainForm - Can't process: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
2010-03-02 07:56:49,593 [8] WARN AweSync.MainForm - Can't process: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Domino8.NotesSessionClass.GetDatabase(String pServer, String pFile, Boolean bCreateonfail)
at AweSyncLib.Domino.NotesSession.GetDatabase(String server, String nsfPath, Boolean p)
at AweSyncLib.LotusHelper.OpenDatabase(String iniPath, String server, String nsfPath, String idFile, String idPassword, Boolean useCurrentIdFile, Int32 interopVersion)
at AweSyncLib.AweSyncMain.ConnectLotus()
at AweSyncLib.AweSyncMain.Process(UpdateStatusFunc updateFunc, Boolean isWholeSync, Dictionary`2& addCalendars, List`1& remCalendars)
at AweSync.MainForm.ProcessSyncThreadFunc()
2010-03-02 07:56:49,593 [8] INFO AweSyncLib.AweSyncMain - Collecting garbage...
2010-03-02 07:56:49,624 [8] INFO AweSyncLib.AweSyncMain - Done


#1

There may be only two possible reasons: your installation/upgrade of Lotus Notes is corrupt, or you have other LN application running.
Please try to run AweSync immediately after reboot. Whe you logs into Windows, press and keep "Shift" key to prevent startup application from run. Then run AweSync. 
Please let us know results.

#2

No luck so far.  I have'nt tried a reinstall yet, but it appears to have nothing to do with another LN applications running. Question? Is the statement "Attempted to read or write protected memory" the mail file (*.nsf) on the server?  I also tried to sync it to the local mail file (*.nsf) with no success.  I am trying to figure out what might be corrupt (mail file?), since my LN appears to be working just fine.  I've also tried to uninstall and re-install Awesync with no success (various ways including rename to old application data folder for a clean reinstall).  Any other toughts before I call the helpline and try to get them to reinstall the LN software (without them know I'm trying to run unauthorized software).

#3

 Could you post your settings.cfg? It's placed in %APPDATA%\AweSync\ folder. Please edit it with unicode text editor (notepad on WinXP would be good) and remove only your passwords (LotusPasswdEncrypted, GooglePasswdEncrypted).
If you don't like to upload it here, you can send it to support email (see About dialog of AweSync).
Also, if possible, please send notes.ini - it shouldn't contain sensitive information except your name (unless your Notes applications write any sensitive variables there, in this case please remove them).

#4

I've attached both files (via email) to you and deleted my Notes and Google password information.  The Notes.ini is also attached.  The weird think is that their were several copies of the Notes.ini file on my computer. Two of them are dated before my LN upgrade and were located in my Windows root directory and the other in a Document and Setting\All Users\Application\Lotus\Notes\Data directory.  They are different.  Let me know if you'd like me to also send those files.  The Notes.ini that I sent is from the  :"Document and Setting\kcurry1\Local Settings\Lotus\Notes\Data" directory and is dated today.

Let me know if you need any additional files sent.

#5

Status:active» closed