backstage received such a piece of exception information, from the following is the SQL Server Compact database error, but how to error, why the error, how to avoid? There is no way, if you fix this problem, please guide the maze, thank you!
sqlce_dbconnectionfailed; Unable to connect to GKFX memory region of the SQL Server Compact database. This was because of another process, owning the shared memory region lock, have exited abnormally in the lock acquired state . This was an intermittent problem. Closing and restarting the database connection should fix the problem. [Thread id = 3340,process id = 2544,db name = c:\data\users\defapps\appdata\{c8e66617-1eac-4aed-a6e3-09f307353ac1}\ Local\sqlce.sdf,lock type = Splk] at System.Data.SqlServerCe.SqlCeCommand.ProcessResults (Int32 hr) at SYSTEM.DATA.SQL ServerCe.SqlCeCommand.CompileQueryPlan () at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand (CommandBehavior Behavior, String method, resultsetoptions options) at System.Data.SqlServerCe.SqlCeCommand.ExecuteDbDataReader ( CommandBehavior behavior) at System.Data.Linq.SqlClient.SqlProvider.Execute (Expression query, QueryInfo queryinfo, Iobjectreaderfactory Factory, object[] Parentargs, object[] Userargs, IcompiledsubquerY[] subqueries, Object LastResult, Boolean iscompiledquery) at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll ( Expression query, queryinfo[] Queryinfos, Iobjectreaderfactory Factory, object[] userarguments, icompiledsubquery[] subqueries, Boolean iscompiledquery) at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute (Expression query) at System.Data.Linq.DataQuery ' 1.system.collections.generic.ienumerable<t>. GetEnumerator () at System.linq.enumerable.any[tsource] (IEnumerable ' 1 source) at XXX. Mobile.WindowsPhone.StorageHelper.Cleanup (SByte days) at XXX. Mobile.WindowsPhone.App.Application_Closing (Object sender, Closingeventargs e) at System.EventHandler ' 1.Invoke ( Object sender, Teventargs e) at Microsoft.Phone.Shell.PhoneApplicationService.FireClosing () at Microsoft.Phone.TaskMo Del. Interop.ITask.Closing.Invoke () at Microsoft.Phone.TaskModel.Interop.Task.FireOnClosing ()