Ok it worked a few times but keeps crashing after looking at logs there seems to be issues with .net framework and mysql trying to find a reason for it?.
Faulting application name: Sage50Accounting.exe, version: 23.20.0.1, time stamp: 0x575b6f32
Faulting module name: System.Runtime.Serialization.ni.dll, version: 4.6.1038.0, time stamp: 0x5615cb25
Exception code: 0xc0000005
Fault offset: 0x00050270
Faulting process id: 0xb58
Faulting application start time: 0x01d1fd7d7c723d4f
Faulting application path: C:\Program Files\Sage 50 Pro Accounting Version 2016\Sage50Accounting.exe
Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\System.Runteb92aa12#\2f18aee9e26301da57394e94416a20ba\System.Runtime.Serialization.ni.dll
Report Id: 53439364-9c90-4da0-ae6a-198b246d745c
Faulting package full name:
Faulting package-relative application ID:
------------------------------------------------------------------------------------------------------------------------------------------
Application: Sage50Accounting.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at Simply.Domain.CollectData.IS50CollectDataService.IsCollectDataFeatureEnabled()
at Simply.Domain.CollectData.S50CollectDataServiceClient.IsCollectDataFeatureEnabled()
at Simply.Domain.CollectData.CollectDataFeatureSwitchWebService.DoWebRequest()
at Simply.Domain.CollectData.CollectDataWebService.SubmitRequest()
at Simply.Domain.CollectData.UploadCollectDataBaseThread.UploadingDataOnce(System.Object, System.ComponentModel.DoWorkEventArgs)
at Simply.Domain.CollectData.UploadCollectDataBaseThread.DoUploadingWork(System.Object, System.ComponentModel.DoWorkEventArgs)
at Simply.Domain.CollectData.UploadCollectDataBaseThread.Worker_DoWork(System.Object, System.ComponentModel.DoWorkEventArgs)
at System.ComponentModel.BackgroundWorker.OnDoWork(System.ComponentModel.DoWorkEventArgs)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(System.Object)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, System.Object[], System.Object, System.Object[] ByRef)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage, System.Runtime.Remoting.Messaging.IMessageSink)
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()