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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:17:14+00:00 2026-06-12T14:17:14+00:00

Possible Duplicate: System.Data.SqlClient.SqlException A network-related or instance-specific error i have winform application in c#

  • 0

Possible Duplicate:
System.Data.SqlClient.SqlException A network-related or instance-specific error

i have winform application in c# which connect to my own db and its working fine my current sql connection string is :

SqlConnection con = new SqlConnection("Data Source=ITPL_PC1;Initial Catalog=Data_Project;Persist Security Info=True;user id=sa;Password=insforia"); 

but when i am taking this winform to another computer its not working .. then i am changing my connection string to :

SqlConnection con = new SqlConnection("Data Source=192.168.0.28\\ITPL_PC1;Initial Catalog=Data_Project;Persist Security Info=True;user id=sa;Password=insforia"); 

but its not working …

i have changed all the settings in sql server of remote access but still it showing an error

Sql Exception was unhandled 
A network-related or instance-specific error occurred while establishing a connection      to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) 

is my connection string is wrong? what it should be?

pls help me out

  • 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-12T14:17:15+00:00Added an answer on June 12, 2026 at 2:17 pm
    Data Source=ITPL_PC1
    

    Identifies a server called ITPL_PC1. You’re connecting to the default instance on this server.

    Data Source=192.168.0.28\ITPL_PC1
    

    Identifies an instance called ITPL_PC1 running on a server with IP address 192.168.0.28. We don’t know the name of this server.

    If the instance you want to connect to is the default instance on ITPL_PC1, then the first version should always work (provided ITPL_PC1 can be resolved).

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

Sidebar

Related Questions

Possible Duplicate: Writing a Windows system tray application with .NET I want to develop
Possible Duplicate: Checking for an SQL result in VB.NET I have login form which
Possible Duplicate: Java socket sends some data during connection to server I have two
Possible Duplicate: IErrorInfo.GetDescription failed with E_FAIL(0x80004005).System.Data while data adapter Fill() Below is the code
Possible Duplicate: How to decompress a gzipped data in a byte array? I have
Possible Duplicate: Combine Gyroscope and Accelerometer Data I have read a number of papers
I have a stream of data which is contained in a System::Collections::Queue . My
Possible Duplicate: how to add a reference to the system.data.SQLite.dll to the windows phone
Possible Duplicate: How do I pass data between Activities in Android application? How would
Possible Duplicate: How to delete stuff printed to console by System.out.println()? I have a

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.