Blocking sql statement?



Hello NG,
we use SQLServerCE 2.0 in our VB.NET-application and have sometimes problems
with how it seems blocking sql statements (statements that normally works a
100times a day...).

We have about 1000 rows in our database in ~10 tables. There are made a lot
of reads, some inserts, some updates. The data changes about every 3 hours -
it's deleted and new data is inserted - with this "update" we compact the
database (before new data is inserted).
Now the problem that occurs is that some clients (total count is ~30)
sometimes hang, meaning that in my application's logfile I can see the last
executed sql statement, but this method does not return or throws any
exception. It seems that the application waits for the resultset and doesn't
get it. Curiously, after exiting and restarting the application, which means
compacting the database, too, the error doesn't occur any longer - until next
time...

So my question is, does anybody knows/recognises this behaviour or can give
me some information about debugging a SQLServerCE? Is there a trace/logfile?

Kind regards,
Thorsten
.



Relevant Pages

  • RE: Blocking sql statement?
    ... Some sql statements I send to the database contain some invisible ... The data changes about every 3 hours - ... > me some information about debugging a SQLServerCE? ...
    (microsoft.public.sqlserver.ce)
  • RE: Designing My App for Seed!
    ... You will not gain speed by changing your queries to SQL Statements as ... Split the application and database into front and back-ends, ... However, using, Microsoft Sans Serif in applications, make fonts ...
    (microsoft.public.access.tablesdbdesign)
  • RE: two sql statement questions
    ... even if you're connecting to a database through ... Not all database supports multiple SQL statements. ... Microsoft Online Community Support ... Engineer within 1 business day is acceptable. ...
    (microsoft.public.data.odbc)
  • Re: OO Design, Physical Implementation, DAOs
    ... > of DataAdapter objects, Command objects, and sql statements which are ... > instruction/examples on the proper way to construct the DAL? ... particular database if you're not careful. ...
    (comp.object)
  • Re: OO Design, Physical Implementation, DAOs
    ... > of DataAdapter objects, Command objects, and sql statements which are ... > instruction/examples on the proper way to construct the DAL? ... particular database if you're not careful. ...
    (comp.object)