Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.

Posted on 2002-06-28
3
2,281 Views
Last Modified: 2012-05-04
Environment:

Windows 2000 Server
Visual Basic 6.0
SQL Server2000

That error is thrown withing a Visual Basic component. How to solve it?

Thanks
0
Comment
Question by:skel
3 Comments
 
LVL 2

Expert Comment

by:PUMASOFT
ID: 7121460
Can you supply more info, example of code?
0
 

Accepted Solution

by:
skel earned 0 total points
ID: 7121551
I cannot because I don't know where is the problem and the code is very big. But someone gave me a hint without the need of looking the code. Maybe the SQL statement delays too much, more than the timeout defined for the component in Component Services (in fact, it delays more than 60 sec, which is the default), so that the component services deactivate the component before the SQL query return data to it. I changed that timeout definition but I can test that change tomorrow.

Thanks
Jaime
0
 

Expert Comment

by:CleanupPing
ID: 9280220
skel:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question