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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:48:56+00:00 2026-05-25T23:48:56+00:00

The current scenario before i start asking my question A C# Winforms application needs

  • 0

The current scenario before i start asking my question

  1. A C# Winforms application needs to be deployed on our LAN.

  2. The network contains 200+ computers running Windows XP (& above) having the same domain/workgroup.

  3. Unfortunately, there’s still some mixups and IP conflicts throughout the network.

  4. The network still works !!… (ahem..)

  5. A central server (with unique name & IP) hosts the database (SQL Server 2008 R2)

  6. The application has a provision to specify the connectionstring on the client machine

  7. The application validates this string (open > close connection else exception) and stores in a local file.

Now, My problem is that…

The application connects successfully to the server (open > close connection) during the checking phase, but fails when there’s actual datasets are to be fetched from the server.

  • Which is the most reliable way to address the server in the connection string in this mixed up scene ?

This holds true even if i use the “sa” account, i have used machine name / IP to address the server

  • 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-25T23:48:57+00:00Added an answer on May 25, 2026 at 11:48 pm

    When you say your application “fails when there’s actual datasets are to be fetched”, what do you mean? What’s the error? Encapsulate your SqlDataAdapter.Fill() method in a try catch block and out that error to a log or the GUI for quick debugging purposes. What does the error say? Is it a network or instance related issue..?

    The application connects successfully to the server
    Are you talking about the server as a physical machine, or are you talking about the SQL Server instance that houses the database you are trying to connect to?

    Here’s a big “gotcha”. If you are using a named instance, then you need to make sure that the SQL Server Browser service is running on the server that houses the SQL Server instance(s). That is the service that, when reached out over port 1434, tells the application what dynamic port the named instance is listening to.

    Also, your connection string could have some issues in it.

    Long story short, it is almost impossible to tell what your problem is with the very little given information. It is all just guessing troubleshooting here. Please give me more information.

    Edit: if you have a DHCP/DNS server on your network, then I don’t see why you should be getting “messed up” workstation network issues, at least with IP assigning and name resolution. Your workstations need to be able to resolve the server name to reach it. But it doesn’t sound like that’s your issue.

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

Sidebar

Related Questions

Our current scenario is like this: we have an existing database that needs to
I have a scenario in my current application where I want to fetch the
This is my current scenario: I have checked in my grails app code +
We have a scenario where some .NET code is attempting to access the current
Current Application Server Configuration: IIS 6.0 Windows 2003 Server Standard Edition SP2 .NET Framework
Scenario: The VB 6 form has a InteropControl (WinForms). The InteropControl has a ElementHost
foreach(var someDisposableObject in listOfDisposableObjects) { //some code someDisposableObject.Dispose(); //current code contains something like this.
So this is the scenario: You have a bunch of data that needs to
The scenario: I'm creating a login form for an MVC2 application. How i'm doing
My current project uses HSQLDB2.0 and JPA2.0 . The scenario is: I query DB

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.