Friday, February 24, 2012

help

I keep getting this message. It is not something I can reacreate b/c it seems to do it randomly. can anyone tell me what causes this.

There is a file sharing violation. A different process might be using the file. [ my documents/APISMobile.sdf ]

Is this a SQL CE or a SQL Mobile database? SQL CE can only have a single connection opened. I have seen this error when another application on your device (most notably, Pocket Query Analyzer) is running in the background and has the database open (and you are trying to access the database from your mobile app as well).

On device, go to Start-->Settings-->System-->Memory and click the RUnning Programs tab to see what apps are running on device.

To close Pocket Query Analyzer, be sure not to click the circled X in the top right corner (this only minimizes the app), but rather use File-->Exit on the menu to close the Query Anlyzer app.

Darren

|||I have noticed that active sync is running and I think that was the problem b/c I had the db in the file to sync. What you told me made me think about it, thanks.

No comments:

Post a Comment