473,808 Members | 2,807 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Object in a zombie state

7 New Member
Hi

I have a program that extract data from multiple tables into one table on DB2. Recently I have changed the program to output the extract table to SQL Server 2005. I then got the error ITransaction::C ommit or ITransaction::A bort was called, and object is in a zombie state.

Any help on this error would be greatly appreciated.

Thanks very much.
Nov 15 '07 #1
3 6608
QVeen72
1,445 Recognized Expert Top Contributor
Hi,

When you open the recordset, You have to set property :
"Preserve On Commit" =true..
Check This

Regards
Veena
Nov 15 '07 #2
Rocketfuel
7 New Member
Hi,

When you open the recordset, You have to set property :
"Preserve On Commit" =true..
Check This

Regards
Veena
Hi

I have tried that, I am still getting the same error message. I am using the BeginTrans and CommitTrans in the code. I suspect that I might be using the wrong provider, would
Expand|Select|Wrap|Line Numbers
  1. "Provider=SQLOLEDB;Data Source=ServerName;Initial Catalog="Playground";"Integrated Security=SSPI;"
work with above.

Thanks for your reply.
Nov 15 '07 #3
Rocketfuel
7 New Member
Hi

I have tried that, I am still getting the same error message. I am using the BeginTrans and CommitTrans in the code. I suspect that I might be using the wrong provider, would
Expand|Select|Wrap|Line Numbers
  1. "Provider=SQLOLEDB;Data Source=ServerName;Initial Catalog="Playground";"Integrated Security=SSPI;"
work with above.

Thanks for your reply.

Hi

Please ignore previous post, Preserve on Commit did work, I had it in the wrong procedure. You can also use
Expand|Select|Wrap|Line Numbers
  1. Recordset.Requery()
.

A million thank you`s to Veena, you really did save my life.

Regards
Caleb
Nov 16 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1996
by: Brian | last post by:
From one script, I'm spawnv'ing another that will launch mpg123 to play a specified mp3. Problem is that After the second script has launched mpg123, it'll turn into a zombie process. It doesn't happen when I launch it from the command line, so there's something wrong with the way I'm calling it (I believe). mp3pid = os.spawnv(os.P_NOWAIT, "/oter/playfile.py", ) Shouldn't this launch the script without waiting for it to finish?
0
519
by: Plymouth Acclaim | last post by:
Hi guys, We have a problem with Dual AMD64 Opteron/MySQL 4.0.18/Mandrake 10 for a very high volume site. We are evaluating the performance on our new server AMD64 and it seems it's slow compared to Dual Xeon/MySQL 4.0.15/RedHat8 and Dual Xeon/MySQL 4.0.18/Mandrake 10. And it seems there are zombie threads. 570 threads in 1 hour and we didn't even use JDBC connection pooling at all. These threads are supposed to be gone within 60...
4
7737
by: A. Tillman | last post by:
We are having a really big problem with a zombie process/transaction that is blocking other processes. When looking at Lock/ProcessID under Current Activity I see a bunch of processes that are blocked by process 94 and process 94 is blocked by process -2. I assume -2 is a zombie that has an open transaction. I cannot find this process to kill and it seems that this transaction is surviving database restarts. I know which table is...
0
1051
by: Turtle | last post by:
I'm running devenv.exe from a batch file, with a /runexit command line switch. The devenv opens fine, runs and exits. All looks great, except that the next line in the batch file doesn't execute until I go into the Task Manager and kill the "zombie" devenv process. What am I missing here? - Turtle
4
3683
by: ctclibby | last post by:
Hi All Seem to be getting zombie sessions. /tmp/sess_ exist and are owned by daemon. I am guessing and these could come from brower crashes, networks gone down ... etc ... even from stuff that I haven't done properly. So for the big question. Can I run a cron job and delete these? Or does PHP also store stuff in another location and could cause me grief down the road? Thanks in advance!
0
1875
by: Reshmi Jacob | last post by:
Hi ALL I am using SQL Server for the first time , got this error : -2147418113 ITransaction::Commit or ITransaction::Abort was called, and object is in a zombie state. I have declared a recordset in VB to access a particular table, I made a change , Updated and then I moved the pointer to another record(Movenext) , then this error came!!! Help ....
0
1343
by: nisimura | last post by:
Hi, I noticed that when I used SocketServer.ForkingMixIn (ForkingTCPServer), there were always zombie processes around. I searched for where waitpid() is called in ForkingMixIn and found it in SocketServer.py: def process_request(self, request, client_address): """Fork a new subprocess to process the request.""" self.collect_children()
2
2418
by: anilchowdhury | last post by:
main() { pid_t child; child=fork(); if(child > 0) {sleep(60); }
6
11340
by: alikhan707 | last post by:
Hey guys i need help on this problem .... Please tell me how to create zombie in linux using fork() ?
0
9600
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10628
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10373
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10374
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 most users, this new feature is actually very convenient. If you want to control the update process,...
1
7651
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.