Similar Threads:
1.Sourcesafe Integration in Visual Studio .NET 2003 and SQL Server (MSDE) 2000
2.Now VS.NET 2003 comes with Win 2003 Server / SQL 2000
I've already purchased VS.NET 2003, now it's coming out in a Special Edition
with Windows 2003 Server and SQL Server 2000. I'm not going to upgrade for
549.00 the same version I already purchased.
Do you know if Microsoft offers a package containing Windows 2003 Server and
SQL Server 2000? Maybe a special offer for those who already purchased VS.NET
prior to the Special Edition.
3.MSDE 2000 merge modules in VS.NET Deployment
I want to include MSDE 2000 as part of my setup project for a VB.NET app from
withing VS.NET 2003.
I am having trouble finding out how to do this in terms of changing the
settings re instancename and targetname.
Is there a simple guide for finding out how to do this for us mere mortals
without having to go down the path of using the Windows Installer SDK.
I can sucessfully install an instance of MSDE using an instance name that I
choose etc by changing the setup.ini file and running the setup.exe that
comes with MSDE 2000 but of course this is an extra step in the installation
process that I dont want my customers to have to do.
Finally, how do I ensure that the MSDE service that I install starts
straight away - I find that I either have to reboot the PC or start the
service manually after installation.
Any help on this would be much appreciated
4.VS.NET 2003, ADO.NET 1.1 and Access 2000: Getting a Concurrency violation
I have written a Visual Studio .NET 2003 app, using ADO.NET to retrieve
several hundred records out of an Access 2000 database, and putting them all
into a DataSet. Then my app goes against a SQL Server 2000 database,
retrieves other data and updates about 500 records in the DataSet. I am
only interested in updating about 50 of the columns in each row (there are
about 150 columns in the table), I decided to write my own update command
and associate it with the OleDbDataAdapter that I use to retrieve the
original table from the Access database. And I also thought I would
determine how many records there are to update, before I retrieve anything
from SQL Server.
When I run my app, it gives me an error that says, "Concurrency violation:
the UpdateCommand affected 0 records."
However, I have also discovered that this error message isn't exactly true.
It has, in fact, updated 1 record. It does that each time I run the app, as
the total count of records needing updating is 1 less each time I run this.
So, my guess is that it is updating the first record and then something
stops it from updating anything more.
I have experimented, to a small degree, with isolation level, but Access
doesn't support much, along those lines.
So, what am I doing wrong, and what could I do to make it possible for the
app to submit all 500 records, rather than having me run my application 500
times?
5.VS.NET 2003, ADO.NET 1.1 and Access 2000: Getting a Concurrency vi
The DBConcurrencyException happens when Update believes an update or delete
commands didn't actually affect any records on the backend, aka when
ExecuteNonQuery returned 0.
As a workaround, you can listen to the OleDbDataAdapter.RowUpdated event and
change the OleDbRowUpdatedEventArgs.Status from ErrorsOccurred to Continue
when you believe the correct thing actually happend.
But I belive it is more important to understand why the row in the database
was updated (corrrect?), yet the records affected is 0.
"Rod" wrote:
> I have written a Visual Studio .NET 2003 app, using ADO.NET to retrieve
> several hundred records out of an Access 2000 database, and putting them all
> into a DataSet. Then my app goes against a SQL Server 2000 database,
> retrieves other data and updates about 500 records in the DataSet. I am
> only interested in updating about 50 of the columns in each row (there are
> about 150 columns in the table), I decided to write my own update command
> and associate it with the OleDbDataAdapter that I use to retrieve the
> original table from the Access database. And I also thought I would
> determine how many records there are to update, before I retrieve anything
> from SQL Server.
>
> When I run my app, it gives me an error that says, "Concurrency violation:
> the UpdateCommand affected 0 records."
>
> However, I have also discovered that this error message isn't exactly true.
> It has, in fact, updated 1 record. It does that each time I run the app, as
> the total count of records needing updating is 1 less each time I run this.
> So, my guess is that it is updating the first record and then something
> stops it from updating anything more.
>
> I have experimented, to a small degree, with isolation level, but Access
> doesn't support much, along those lines.
>
> So, what am I doing wrong, and what could I do to make it possible for the
> app to submit all 500 records, rather than having me run my application 500
> times?
>
>
>
6. Unable to run Outlook 2000 com addin built via .NET/VS 2003
7. Windows 2000 VS.Net 2003 Installation Nightmare
8. VS .NET Enterprise Architect 2000 or 2003 ?