Hi Eric,
Looking at your logs, I still don't see anything that could explain
the crash. Mysterious... looks like it might be time to break out the
debugger. What I'd probably do is attach a debugger, break on
exceptions, and then disable breaking for all the exceptions that you
already expect, like System.Net.WebException. You might also try
adding some logging statements, for example in
GCalExchangeSyncService.cs to rule out the possibility that the
service is exiting normally for some reason. It may be that there's
something on your system which is interacting oddly with the sync
service; we just have to figure out what.
Sorry this is such a stumper. Good luck with the debugging!
John
On Jun 8, 8:08 pm, "Clark, Eric" <
eric.cl...@landisgyr.com> wrote:
> This time it ran for a couple of days ok and then stopped. The log shows a
> (400) bad request error around then but not sure if this means anything:
>
> 2009-06-07 20:36:30,006 [1752] INFO
> Google.GCalExchangeSync.Library.Scheduling.BaseWorker - GCalSyncProcess
> finished succesfully
> 2009-06-07 20:51:30,063 [1752] INFO
> Google.GCalExchangeSync.Library.Scheduling.Sentinel - Spawning process of
> type GCalSyncProcessHost
> 2009-06-07 20:51:30,063 [1752] INFO
> Google.GCalExchangeSync.Library.Scheduling.BaseWorker - Starting
> GCalSyncProcess
> 2009-06-07 20:51:30,063 [1752] INFO
> Google.GCalExchangeSync.Library.GCalSyncProcess - Exchange synchronization
> process started.
> 2009-06-07 20:51:30,063 [1752] INFO
> Google.GCalExchangeSync.Library.ActiveDirectoryService - Issuing LDAP query
> '(&(memberOf=CN=Gmail,OU=Security,OU=Groups,OU=BM,DC=bm,DC=net)(|(objectcat egory=user)(objectcategory=contact)))'
> 2009-06-07 20:51:30,079 [1752] INFO
> Google.GCalExchangeSync.Library.ActiveDirectoryService - Found 5 users in
> Active Directory.
> 2009-06-07 20:51:30,094 [1752] INFO
> Google.GCalExchangeSync.Library.ExchangeService - Found and added
> '
eric.cl...@landisgyr.com' as an ExchangeUser.
> 2009-06-07 20:51:30,094 [1752] INFO
> Google.GCalExchangeSync.Library.ExchangeService - Found and added
> '
Gavin.Di...@landisgyr.com' as an ExchangeUser.
> 2009-06-07 20:51:30,094 [1752] INFO
> Google.GCalExchangeSync.Library.ExchangeService - Found and added
> '
Josef.Ri...@landisgyr.com' as an ExchangeUser.
> 2009-06-07 20:51:30,094 [1752] INFO
> Google.GCalExchangeSync.Library.ExchangeService - Found and added
> '
Cato.Ol...@landisgyr.com' as an ExchangeUser.
> 2009-06-07 20:51:30,094 [1752] INFO
> Google.GCalExchangeSync.Library.ExchangeService - Found and added
> '
gmail.ad...@landisgyr.com' as an ExchangeUser.
> 2009-06-07 20:51:30,094 [1752] INFO
> Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] - LoadUserList -
> Total Execution Time: 31 ms.
> 2009-06-07 20:51:30,094 [1752] INFO
> Google.GCalExchangeSync.Library.GCalSyncProcess - Processing user
>
eric.cl...@landisgyr.com for [8/05/2009 8:51:30 PM - 6/08/2009 8:51:30 PM]
> 2009-06-07 20:51:30,094 [1752] INFO
> Google.GCalExchangeSync.Library.GCalGateway - Querying GCal for User
> '
eric.cl...@landisgyr.com':
>
https://www.google.com/calendar/feeds/eric.cl...@landisgyr.com/private/full?max-results=2147483647&start-min=2009-05-08T20: 51:30+10:00&start-max=2009-08-06T20:51:30+10:00&singleevents=true
> 2009-06-07 20:51:32,094 [1752] INFO
> Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] - QueryGCal -
> Total Execution Time: 2000 ms.
> 2009-06-07 20:51:32,094 [1752] INFO
> Google.GCalExchangeSync.Library.GCalSyncProcess - Calendar Query returned 40
> events
> 2009-06-07 20:51:32,110 [1752] INFO
> Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] -
> LookupFreeBusyTimes - Total Execution Time: 16 ms.
> 2009-06-07 20:51:43,080 [AppointmentLookup] INFO
> Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] - LoadAppointments
> - Total Execution Time: 10985 ms.
> 2009-06-07 20:51:43,095 [AppointmentLookup] INFO
> Google.GCalExchangeSync.Library.AppointmentService - Appointments read
> succesfully for '
eric.cl...@landisgyr.com', setting access level to
> ReadAccess.
> 2009-06-07 20:51:43,095 [1752] INFO
> Google.GCalExchangeSync.Library.ExchangeService - Merge Result of 13 +
> Appointment 636 -> 13
> 2009-06-07 20:51:43,095 [1752] INFO
> Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] -
> MergeFreeBusyWithAppointments - Total Execution Time: 0 ms.
> 2009-06-07 20:51:43,095 [1752] INFO
> Google.GCalExchangeSync.Library.AppointmentWriter - AppointmentWriter for
> '
eric.cl...@landisgyr.com'. [0 deleted, 2 updated, 38 new]
> 2009-06-07 20:51:44,861 [1752] INFO
> Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] - WriteFreeBusy -
> Total Execution Time: 12766 ms.
> 2009-06-07 20:51:44,861 [1752] ERROR
> Google.GCalExchangeSync.Library.GCalSyncProcess - Error occured while
> executing sync process for user '
eric.cl...@landisgyr.com'. [running error
>
gavin.di...@landisgyr.com for [8/05/2009 8:51:44 PM - 6/08/2009 8:51:44 PM]
> 2009-06-07 20:51:44,861 [1752] INFO
> Google.GCalExchangeSync.Library.GCalGateway - Querying GCal for User
> '
Gavin.Di...@landisgyr.com':
>
https://www.google.com/calendar/feeds/Gavin.Di...@landisgyr.com/private/full?max-results=2147483647&start-min=2009-05-08T20: 51:44+10:00&start-max=2009-08-06T20:51:44+10:00&singleevents=true
> 2009-06-07 20:51:45,080 [1752] INFO
> Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] - QueryGCal -
> Total Execution Time: 219 ms.
> 2009-06-07 20:51:45,080 [1752] INFO
> Google.GCalExchangeSync.Library.GCalSyncProcess - Calendar Query returned 1
> events
> 2009-06-07 20:51:45,798 [1752] INFO
> Google.GCalExchangeSync.Library.Util.BlockTimer - [Timer] -
> LookupFreeBusyTimes - Total Execution Time: 719 ms.
>
> Regards,
> Eric
>
> 2009/6/3 Clark, Eric <
eric.cl...@landisgyr.com>
>
>
>
> > Ok that makes sense. Since turning on the debug logging yesterday the sync
> > service has not stopped working again...:)) Go figure!
> > I'll keep an eye on it and see what happens.
>
> > Regards,
> > Eric
>
> > 2009/6/3 John Leen <
john.l...@gmail.com>
> >> > > > 2009-05-30 17:53:36,236 [3048] INFO...
>
> read more »