473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Concurrency Problem

Hello to all,

I have a problem between 2 programs I have running.

We have got an old databridge for our clients to upload data to our
central database. This one is written in C++ (not by me).
We now have a new Databridge developped, which is written in VB.NET.
Functionally they are the same, but technically there are differences.

I think we have got a concurrency problem, because when the new
Databridge (VB.Net) is running (several instances), the old databridge
will not run.

The error given by the old databridge, is that it cannot connect to
the database, while it can when NOT using the new databridge.

Some technical details:
Old Databridge:
- C++;
- using port 8041 (this one has a direct connection with the client);
New Databridge:
- VB.Net

All is running on a Win2K SBS SP3 with SQL Server 2000.

It is difficult for me to explain, so when more information is needed,
please ask me!!

Thanks to everyone in advance.

Kind Regards,

Marcel Groffen
Nov 22 '05 #1
1 1150
Cor
Hi Marcel,

Ask this question also in the newsgroup

microsoft.public.dotnet.framework.adonet

There you have probably a better change to get a fast answer on this
question.

I can give you a simple advice, I would make the new VB.databridge with a
different name and check what happen when those two work at the same time.

If not the problem is in the VB part if they do the problem is in the C++
part.

I hope this helps?

Cor

I have a problem between 2 programs I have running.

We have got an old databridge for our clients to upload data to our
central database. This one is written in C++ (not by me).
We now have a new Databridge developped, which is written in VB.NET.
Functionally they are the same, but technically there are differences.

I think we have got a concurrency problem, because when the new
Databridge (VB.Net) is running (several instances), the old databridge
will not run.

The error given by the old databridge, is that it cannot connect to
the database, while it can when NOT using the new databridge.

Some technical details:
Old Databridge:
- C++;
- using port 8041 (this one has a direct connection with the client);
New Databridge:
- VB.Net

All is running on a Win2K SBS SP3 with SQL Server 2000.

It is difficult for me to explain, so when more information is needed,
please ask me!!

Thanks to everyone in advance.

Kind Regards,

Marcel Groffen

Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
by: Derek Fountain | last post by:
Does Python have a timer mechanism? i.e. an "after 500 milliseconds, run this bit of code" sort of thing?
4
by: Charlie Williams | last post by:
I am having difficulty performing updates and deletions on an Access database using the Update() method of the OleDBDataAdapter. I can insert rows without a problem, but I get a concurrency...
3
by: Suzanne | last post by:
Hi All I'm having problems getting my data adapter to throw a concurrency exception with an INSERT command. I want to throw a concurrency exception if an attempt is made to enter a row into...
8
by: Mike Kelly | last post by:
I've chosen to implement the "optimistic concurrency" model in my application. To assist in that, I've added a ROWVERSION (TIMESTAMP) column to my main tables. I read the value of the column in my...
5
by: Vayse | last post by:
In my save code, most of items save fine. But sometimes I get a concurrency violation message. "Concurrency violation: the UpdateCommand affected 0 of the expected 1 records." It happens on the...
4
by: Bob | last post by:
While testing my my program I came up with a consistency exception. My program consists of three datagridviews, One called dgvPostes which is the parent grid and its two children,one called...
7
by: William E Voorhees | last post by:
I'm updating an Access database in a windows multi-user environment. I'm using disconnected data I read data from an Access Data table to a data object I update the data object from a...
0
by: russganz | last post by:
It seems to me there are real problems with the datagridview (along with the detailsview and form view) control when using optimistic concurrency with fields that can be null. Trying to use these...
3
by: John | last post by:
Hi I have a vs 2003 winform data app. All the data access code has been generated using the data adapter wizard and then pasted into the app. The problem I have is that I am getting a data...
1
by: John | last post by:
Hi I have a perfectly working vs 2003 winform data app. All the data access code has been generated using the data adapter wizard and then pasted into the app. I had to add a new field in the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.