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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:42:08+00:00 2026-06-17T09:42:08+00:00

I have 2 programs: A server that produce data and insert it in MSSQL(written

  • 0

I have 2 programs:

  • A server that produce data and insert it in MSSQL(written with C++ and use ODBC for connection).
  • A client that read data from MSSQL and show it to the user(written in .NET(C#, VB) and use .Net SqlClient).

Now my problem is when my server is running and insert data into MSSQL, my client can’t select data from it or even sometime the connection will be failed. Currently I am running both server and client on a single machine but they should run on network! I try to increase connection timeout in my connection string and it work sometime but not always. My server load is not too high(may be one insert every second). So what is wrong in my server and what should I do to find the error?

  • 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-06-17T09:42:08+00:00Added an answer on June 17, 2026 at 9:42 am

    If the reading client can’t connect, you need to understand why. That has nothing to do with the other client writing.

    If the reading client is connecting OK but the query it issues times out, and the query should safely execute in, say, a few seconds, that’s an indication of a lock (perhaps held by a transaction that was never committed). When the problem occurs, check things like sys.dm_tran_locks on the server for a process holding a lock on the table.

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

Sidebar

Related Questions

I have a Client program by tcp connection that send data to a server.
I have a program that downloads PCM data from a Web Server, which it
I'm building 2 programs (client/server) that communicate through FIFOs. Both programs have threads. When
I have a program that gets a JSON from the server using getJSON and
Goal: Show data from server in wxPython GUI on client Newcomer to Twisted. I
I have a 'server' program that updates many linked lists in shared memory in
I have a program that report exceptions to my server. I'd like to also
I have a program that is supposed to interact with a web server and
I have a program that will let me manage users on our terminal server
I have a program that must support both Oracle and SQL Server for it's

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.