MYOB crashing on start

Upon opening MYOB the software crashes and displays below error message

 

This was due to the .myox being used by OneDrive/Dropbox ( being sycned) at the same time so it couldn’t be locked. This file needs to be excluded from Antivirus and tools that sync

 

 

AccountRight Application Error Report
=====================================
Application Version: 2015.3.17.4288
Application File Version: 2015.3.17.4288
Time: Thursday, 24 September 2015 9:22:21 PM

Code:
System.Data.SqlServerCe.SqlCeException


Message:
There is a file sharing violation. A different process might be using the file. [ C:\Users\Public\Documents\MYOB\ppppppp.myox ]


Stack Trace
—————————————-
1 : System.Data.SqlServerCe.SqlCeException
—————————————-
System.Data.SqlServerCe.SqlCeException: There is a file sharing violation. A different process might be using the file. [ C:\Users\Public\Documents\MYOB\My AccountRight Files\Cutlack Builders Pty Ltd.myox ]
   at System.Data.SqlServerCe!0x0600015c!System.Data.SqlServerCe.SqlCeConnection.ProcessResults(Int32 hr) +0x12
   at System.Data.SqlServerCe!0x0600015a!System.Data.SqlServerCe.SqlCeConnection.Open(Boolean silent) +0x42e
   at System.Data.SqlServerCe!0x06000159!System.Data.SqlServerCe.SqlCeConnection.Open() +0x18
   at Huxley.VersionIndependent.Utilities!0x060001d5!MYOB.Huxley.VersionIndependent.Utilities.SQL.RetryActionBase.Execute(Action action, Action recovery) +0x8d
   at Huxley.BusinessLayer!0x06004bbb!MYOB.Huxley.BusinessLayer.Entities.HuxleyDataContext.OnCreated() +0x77
   at Huxley.BusinessLayer!0x06004bdd!MYOB.Huxley.BusinessLayer.Entities.HuxleyDataContext..ctor(IDbConnection connection) +0x3f
   at Huxley.BusinessLayer!0x06002e44!MYOB.Huxley.BusinessLayer.Core.DataContextFactory.GetContext(IConnection connection, Boolean readOnly, Boolean cachingEnabled, Boolean loadOptions) +0x4d
   at Huxley.Context!0x0600001b!MYOB.Huxley.Context.Application.GetFileProfile(IConnection connection) +0x0
   at Huxley.Context!0x0600001a!MYOB.Huxley.Context.Application.GetCompanyFile(IConnection connection, IServiceFactoryManager serviceFactoryManager, String arlService, String companyFileSts) +0x31
   at Huxley.UI.Model!0x06001e78!MYOB.Huxley.UI.Model.Facades.Common.UIApplication.GetCompanyFile(IConnection connection) +0x59
   at Huxley.UI.Model!0x06000708!MYOB.Huxley.UI.Model.Context.UserLoginContext.GetCompanyFile(IConnection connection) +0x0
   at Huxley.UI.Forms!0x0600397e!MYOB.Huxley.UI.Forms.Users.UserLogin.GetCompanyFile(IConnection connection) +0x0
   at Huxley.UI.Forms!0x06003975!MYOB.Huxley.UI.Forms.Users.UserLogin.OpenLoginDb(IHuxleyConnectionInformation connectionInfo, String password, Int32 locatorPortNo) +0x13
   at Huxley.UI.Forms!0x06003971!MYOB.Huxley.UI.Forms.Users.UserLogin.ProcessDatabaseInfo(IHuxleyConnectionInformation databaseInfo, Int32 locatorPortNo) +0x16
   at Huxley.UI.Forms!0x0600396c!MYOB.Huxley.UI.Forms.Users.UserLogin.ProcessLoginAttempt() +0xd
   at Huxley.UI.Forms!0x0600396a!MYOB.Huxley.UI.Forms.Users.UserLogin.btnOk_Click(Object sender, EventArgs e) +0x0
   at System.Windows.Forms!0x06000d34!System.Windows.Forms.Control.OnClick(EventArgs e) +0x19
   at DevExpress.XtraEditors.v14.2!0x06000b65!DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e) +0x2e
   at DevExpress.XtraEditors.v14.2!0x06000b5f!DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e) +0x45
   at System.Windows.Forms!0x06000e13!System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) +0x184
   at System.Windows.Forms!0x06000e23!System.Windows.Forms.Control.WndProc(Message& m) +0x62f
   at DevExpress.Utils.v14.2!0x060013fb!DevExpress.Utils.Controls.ControlBase.WndProc(Message& m) +0x2e
   at DevExpress.XtraEditors.v14.2!0x060001c5!DevExpress.XtraEditors.BaseControl.WndProc(Message& msg) +0x0
   at System.Windows.Forms!0x060053d3!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) +0x0
   at System.Windows.Forms!0x060053d6!System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) +0x8e
   at System.Windows.Forms!0x06002c59!System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) +0x25

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...