Re: SQLserver on SBS2003 returns old data



Poul Petersen (psp@xxxxxxxxx) writes:
SQLserver on Small Business Server for Win 2003.
Client application updates records in DB. i.e. the content of a field is
updated from "First" to "Second"
Client application closed and opend again. DB returns value "Second".
Next morning _SOME_ - not all - of the updates seems missing. DB returns
the value "First"

The client software has run for years i several thousand installations,
with MSDE/SQLserver on w2k and 2003 servers.
This is the first time we have seen this spooky behavior. And it is the
first time we are targeting SBS.

Could there be some unflushed cache between client and SQLserver?

No.

I don't know much about SBS, but I've never heard anything that SBS
would come with some special version of SQL Server.

This behaviour typically has two explanations:
1) Poorly handled query timeouts. If a query times out, no transaction
is rolled back automatically. If the client does not handle this
appropriately, the user may jog along all day with an open transaction.
When he logs out, everything is rolled back.

2) There is simply a process that performs an update in the other
direction.


--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • Re: Access 2007->SQL Server2005 "connection was forcibly closed",G
    ... I think it will ameliorate the situation if you clean up the client as ... And to come back to my problem: I think with help of the SQL Server admins ... closed connections - but all of these errors are in the version which used ... Every new client opens again 30 connections if I open 30 tables ...
    (microsoft.public.sqlserver.connect)
  • Re: Best way to populate webpages from multiple tables
    ... tables within hash tables, custom classes etc. ... > Set a session expiring cookie at the client that stores the Customer ID. ... > send it to the client, instead store it in your session mgmt sql server - ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Best way to populate webpages from multiple tables
    ... tables within hash tables, custom classes etc. ... > Set a session expiring cookie at the client that stores the Customer ID. ... > send it to the client, instead store it in your session mgmt sql server - ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Thanks to those who help me...
    ... I think that infact SBS does meet my needs. ... and Access client development I have come to absolute ... FrontPage in order to move the SQL server development ... >of your business. ...
    (microsoft.public.windows.server.sbs)
  • Re: Access 2007->SQL Server2005 "connection was forcibly closed",G
    ... an Access database in former times this was a lot of work which took me ... closed connections - but all of these errors are in the version which used ... the SQL Server 2000 and everything worked ... client for programming easy, fast and good applications. ...
    (microsoft.public.sqlserver.connect)