Re: Database file already opened when synchronizing
From: Earl (brikshoe_at_newsgroups.nospam)
Date: 11/02/04
- Next message: John Kendrick: "Re: Error 25081: Incorrectly generating identities after a merge"
- Previous message: Fat Controller: "Re: Automatic push and pull"
- In reply to: Darren Shaffer: "Re: Database file already opened when synchronizing"
- Next in thread: Darren Shaffer: "Re: Database file already opened when synchronizing"
- Reply: Darren Shaffer: "Re: Database file already opened when synchronizing"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Nov 2004 13:26:48 -0500
Thanks Darren, and I understand the limitation, but I was looking for an
elegant way to ensure that situation did not inadvertently arise (say the
user had the Query Analyzer open in a background window) because the user
usually would not be aware of that limitation.
"Darren Shaffer" <darrenshaffer@discussions.microsoft.com> wrote in message
news:e7TinnJwEHA.3296@TK2MSFTNGP10.phx.gbl...
> Earl,
>
> SQL CE databases are limited to a single open connection at any
> time. If Query Analyzer is running on your device, it is using that
> connection,
> therefore your application cannot. When exiting Query Analyzer, be sure
> to use the Tools-->Exit option or the connection will not be closed.
>
> In SQL Mobile, multiple connections to the database are supported, so
> this will be a non-issue.
>
> -Darren
>
> "Earl" <brikshoe@newsgroups.nospam> wrote in message
> news:O3ARtFIwEHA.2540@TK2MSFTNGP09.phx.gbl...
>>I have noticed that if a PocketPC Query Analyzer has the database opened
>>at the time I try to synchronize with the backend database, the program
>>generates several exceptions. While that scenario may not occur very
>>often, I'd like to protect against it happening -- can anyone recommend
>>the best method?
>>
>
>
- Next message: John Kendrick: "Re: Error 25081: Incorrectly generating identities after a merge"
- Previous message: Fat Controller: "Re: Automatic push and pull"
- In reply to: Darren Shaffer: "Re: Database file already opened when synchronizing"
- Next in thread: Darren Shaffer: "Re: Database file already opened when synchronizing"
- Reply: Darren Shaffer: "Re: Database file already opened when synchronizing"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|