errors when using Data access application block and datasets

From: lvsundmark (lvsundmark_at_shaw-dot-ca.no-spam.invalid)
Date: 03/25/04


Date: 25 Mar 2004 06:25:25 -0600

Hi ,

I am running into a couple of errors in developing an app that uses
the data access application block and datasets- so I am assuming this
is ADONET related. :)

When I do an add to a dataset and then update the dataset back to the
MSDE database, it will update the backend database alright, but right
after that i get an error about a null dataset argument being
passed.

When I do a delete on the dataset and update the backend database, I
get a concurrency violation and it does not delete as a result.

The table has a timestamp field to help in the process of updating
because data access application block recommends it.

Am I getting the error because of inappropriately placed
'acceptchanges' commands? Or what else might cause these types of
errors?

Thanks for whatever help anyone can provide.

 Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
    ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
                http://www.usenet.com



Relevant Pages

  • Re: Classes, collections and data
    ... Being that it is a small app, putting the data access and business logic ... Normally I create a Business Layer that handles logic, calculations, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Slower dataaccess after upgrading from MSDE to SQL-Server 2005
    ... At the same time we upgraded our app to use .NET Framework 2.0. ... C++ MFC based using ADO.NET with all data access going through stored ... significant changes. ... can be the reason. ...
    (microsoft.public.sqlserver.setup)
  • Visual Basic 2008 and Access 2007
    ... So I am returning to programming after a hiatus to write an app for my ... In the data access project I saved the empty database I want to use. ... My UI references a class in the objects project which references the ... data access class in the Data project. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Security Event Log (audit object access) logging too much?
    ... I mean that it is an app issue. ... opened with Write Data access, then I guarantee you that the application ... > open an EXE r/w that it is chaining to, ... >> and generally requests more privilege than it needs. ...
    (microsoft.public.win2000.security)
  • Microsoft Enterprise Library -do any ISPs allow using it?
    ... better way to do data access. ... Medium trust, I am sure that you would rather have your websites secure than ... that using EL makes your app less secure? ...
    (microsoft.public.dotnet.framework.aspnet)