473,549 Members | 2,982 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ODBCConnection Problem

Hello,

i use a ODBCConnection object in a multithread application.
Everytime the thread is running i create a new object of the ODBCConnection
and run my queries to fill my dataset. After that, i close the connection
and set it to nothing. But the application didn't free the memory of the
connection after the thread is shutdown.

Is that a genral fault of the ODBC driver?

I use Vb .NET 2003 & MaxDB 7.5 and MaxDB ODBCDriver 7.06
Nov 21 '05 #1
3 2285
Mario,

There are in my opinion not much people anymore that uses ODBC in
combination with Net, it is the right provider or OleDB.

Secondly the newsgroups where actual this kind of more not to the language
database problems are handled is

microsoft.publi c.dotnet.framew ork.adonet.

Because that low use of ODBC have you more change on an answer in that
newsgroup.

I hope this helps,

Cor
Nov 21 '05 #2
CT
Have you tried calling the Dispose method on the connection?

--
Carsten Thomsen
Communities - http://community.integratedsolutions.dk

"Mario Elmers" <Ma*********@di scussions.micro soft.com> wrote in message
news:F2******** *************** ***********@mic rosoft.com...
Hello,

i use a ODBCConnection object in a multithread application.
Everytime the thread is running i create a new object of the
ODBCConnection
and run my queries to fill my dataset. After that, i close the connection
and set it to nothing. But the application didn't free the memory of the
connection after the thread is shutdown.

Is that a genral fault of the ODBC driver?

I use Vb .NET 2003 & MaxDB 7.5 and MaxDB ODBCDriver 7.06

Nov 21 '05 #3
Thank you for your help, i will post again in the adonet group
Nov 21 '05 #4

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

Similar topics

0
986
by: Galileo | last post by:
My develop computer is windows XP. My program is just five lines. I am using visual basic .net 2003. I set the start procedure to sub main. It works fine with my computer. But when I run the program in windows 2000 and windows 98 system. It goes up an error Application has generated an exception that could not be handle Process...
1
3874
by: Oleg Shnayderman | last post by:
Hi All, I am very new to C# as well as to SQL. I need to write an application which is connecting to SQL DB and getting all the user's tables and after create a dataset for all the tables in the database and create an XML document with all the info. The problem is, that I can do this if I know the table name. However, what if I don't...
0
2237
by: BuddyWork | last post by:
I've noticed a difference in behaviour with the State property. Say we have an application connected and I then via Sql Server I kill the connection. When using OdbcConnection and you get the State value, Odbc goes and actually check what the state is and returns Close. When using SqlConnection and you get the State value, it returns...
0
1209
by: Marlon | last post by:
I got the error message below when I try to open a connection with code: Dim connection As New OdbcConnection("Driver={Microsoft Text Driver (*.txt; *.csv)};DBQ=C:\Inetpub\aesd") connection.Open() I am developing an asp.net application on Windows XP SP2. Can anyone help? Personal I think it is because of the limited permissions that...
1
5109
by: Marlon | last post by:
I got the error message below when I try to open a connection with code: Dim connection As New OdbcConnection("Driver={Microsoft Text Driver (*.txt; *.csv)};DBQ=C:\Inetpub\aesd") connection.Open() I am developing an asp.net application on Windows XP SP2 using Windows authentication and impersonation. Can anyone help? Personal I think it...
0
1002
by: Gill | last post by:
As per documentation "ODBCCOnnection.ConnectionTimeout > Gets or sets the time to wait while trying to establish a connection before > terminating the attempt and generating an error." > > How to set the timeout for executing SQL statements? How long the connection > will wait to excute a statement? >
0
1430
by: Belee | last post by:
I have a C# program which is running well. I made modification to the sql database I am using and sent it to the client's place. I put my database there and imported the client data from sql server data into it. Now when I run the application and try to save it gives me the following error 'OdbcConnection does not support parallel...
0
1173
by: yefei | last post by:
Now I am doing in asp.net 2.0 using Visual Web Developer 2005 express edition I have set up a connction to a dBase IV file .dbf using ODBCconnection but by default I can only read the data(i.e. using SELECT command) I cannot change the structure of the .dbf file any one can give me a sample code of doing this? if I got errors like ERROR ...
0
1900
by: Dennis Kuntzemann | last post by:
Hallo, ich moechte eine Verbindung zu einer Oracle-DB aufbauen, ueber einen bestimmten Port. so scheint es jedoch nicht zu funktionieren, ich habe aber in der Doku nichts gefunden, wo ich den Port sonst angeben koennte. Die Portnummer hole ich aus einem XML-File muss die Nummer dort als "String" oder Int angegeben werden?
0
7446
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7715
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7956
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7469
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7808
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6040
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
757
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.