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 3218066
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:29:04+00:00 2026-05-17T15:29:04+00:00

In the past few weeks, to speed up our database freshening process, I’ve created

  • 0

In the past few weeks, to speed up our database freshening process, I’ve created a couple of extra programs, basically copies of the exe file. The program itself, accesses web pages, images etc and uses threads to do so. The second program uses LIMIT 300,100 and the third LIMIT 600,100, to make sure they don’t work on the same records.

Before the last few weeks, one occurrence of the program used to run without problem, from the task scheduler all through the day. Only one occurrence of each exe can run at a time.

Since theres now three programs running, .net 2.0, on xp, the program often seems to get stuck and never ends. I have to kill it from task manager.

It runs fine in the IDE

I just wonder if there would be any benefit from upgrading to vb.net 2010 ?

  • 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. Editorial Team
    Editorial Team
    2026-05-17T15:29:05+00:00Added an answer on May 17, 2026 at 3:29 pm

    You’ve got a deadlock problem, so common in threaded code. VS2010 isn’t magically going to make it disappear. There’s a new class in .NET 4.0 called Task, it simplifies the job of managing threads. But is just as likely to suffer from deadlock if your original code is already triggering it. You could rewrite the code with tasks and get lucky. That kind of luck is usually short-lived, it will deadlock once a month instead of once an hour. Far worse since it is so much harder to troubleshoot.

    Solve the problem first, consider improving it only after that. And the time you’ll spent on chasing this problem is well worth it, you’ll know a lot more about threading when you’re done.

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

Sidebar

Related Questions

I have read lots these past few weeks on IE6, seeing if it was
in the past few weeks I have heard about a phenomenon called 'code-kata'. When
I am new to android development but in the past few weeks I have
Having spent the past few weeks familiarising myself with WSS 3.0 I finally want
I have been working on a scheduling website for the past few weeks. I
This has been greatly bothering me in the past few weeks. In this time
For the past few weeks I have been working on an app that uses
I have been dabbling in WCF RIA with Silverlight for the past few weeks
For the past few weeks, i have been using jQote – client-side templating plugin
Off and on for the past few weeks I've been trying to find my

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.