Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 105149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:23:37+00:00 2026-05-11T01:23:37+00:00

I have a problem that seems like its a result of a deadlock-situation. Whe

  • 0

I have a problem that seems like its a result of a deadlock-situation. Whe are now searching for the root of the problem but meantime we wanted to restart the server and get the customer going.

And now everytime we start the program it just says ‘SqlConnection does not support parallel transactions’. We have not changed anything in the program, its compiled and on the customers server, but after the ‘possible deadlock’-situation it want go online again.

We have 7 clients (computers) running the program, each client is talking to a webservice on a local server, and the webservice is talking to the sql-server (same machine as webserver).

We have restarted both the sql-server and the iis-server, but not rebooted the server because of other important services running on the server so its the last thing we do. We can se no locks or anything in the management tab.

So my question is, why does the ‘SqlConnection does not support parallel transactions’ error comming from one time to another without changing anything in the program and it still lives between sql-restart.

It seems like it happens at the first db-request the program does when it start.

If you need more information just ask. Im puzzled…

More information: I dont think I have ‘long’ running transactions. The scenario is often that I have a dataset with 20-100 rows (ContractRows) in that Ill do a .Update on the tableAdapter. I also loop throug those 20-100 rows and for some of them Ill create ad-hook-sql-querys (for example if a rented product is marked as returned I create a sql-query to mark the product as returned in the database)

So I do this very simplified:

Create objTransactionObject Create objtableadapter (objTransactionObject) for each row in contractDS.contractrows   if row.isreturned then     strSQL &= 'update product set instock=1 where prodid=' & row.productid & vbcrlf  End if next objtableadapter.update(contractDS) objData.ExecuteQuery(strSQL, objTransactionObject)     if succsesfull    objtransactionobject.commit else   objtransactionobject.rollback end if objTran.Dispose() 

And then Im doing commit or rollback depending on if It went well or not.

Edit: None of the answers have solved the problem, but I’ll thank you for the good trouble shooting pointers.

The ‘SqlConnection does not support parallel transactions’ dissapeared suddenly and now the sql-server just ‘goes down’ 4-5 times a day, I guess its a deadlock that does that but I have not the right knowledge to find out and are short on sql-experts who can monitor this for me at the moment. I just restart the sql-server and everything works again. 1 of 10 times I also have to restart the computer. Its really bugging me (and my customers of course).

Anyone knowing a person with good knowledge in analyzing troubles with deadlocks or other sql problems in sweden (or everywhere in the world,english speaking) are free to contact me. I know this is’nt a contact site but I take my chanse to ask the question because I have run out of options, I have spent 3 days and nights optimizing the clients to be sure we close connections and dont do too much stupid things there. Without luck.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T01:23:38+00:00Added an answer on May 11, 2026 at 1:23 am

    It seems to be that you are sharing connections and creating new transactions on the same open connection (this is the parallel part of the exception you are seeing).

    Your example seems to support this as you have no mention of how you acquire the connection in it.

    You should do a review of your code and make sure that you are only opening a connection and then disposing of it when you are done (and by all means, use the using statement to make sure that you close the connection), as it seems like you are leaving one open somewhere.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an issue that seems like very flaky behavour, is this a problem
This seems like a simple problem: I have a WF4 activity that guides the
Seems to be a problem that many people have, but all the answers I
Had a problem with the recursive conflictCheck() method. That seems fine now. I have
ok it seems like a simple problem, but i am having problem I have
I have a problem that seems so senseless that I'm sure I'm missing something
I have a problem that I have not faced before: It seems that the
I'm facing a problem that seems to have no straighforward solution. I'm using java.util.Map
I have a problem with something that otherwise seems to be an easy task.
This scoping problem seems like the type of C++ quandary that Scott Meyers would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.