Do not know how to handle windows Phone exceptions

Source: Internet
Author: User
Tags compact

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 ()
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.