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

  • Home
  • SEARCH
  • 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 6207883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:42:39+00:00 2026-05-24T05:42:39+00:00

This is my connection string : <add name=ConnectionString connectionString=Data Source=server;Initial Catalog=databaseName;Persist Security Info=True;User ID=username;Password=password

  • 0

This is my connection string :

<add name="ConnectionString" connectionString="Data Source=server;Initial Catalog=databaseName;Persist Security Info=True;User ID=username;Password=password" providerName="System.Data.SqlClient" />

my web application runs fine when I run it from above ip address but it is so slow in other machine.

I mean it is slow but it works. I think there is a problem in type of connection string because another application using OleDb works very well. how I can fix it? I don’t want change my application code.

  • 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-24T05:42:40+00:00Added an answer on May 24, 2026 at 5:42 am

    There is nothing fundamentally wrong with that connection string. This leaves two likely scenarios:

    • the two machines have different network topology – maybe one is geographically distant, routing via a VPN tunnel on a slow link (making an absurdly exaggerated example for illustration only)
    • maybe the one application is sensibly written in terms of data access, and the other isn’t

    I imagine the second is the more likely scenario. If your application code doesn’t filter at the appropriate places (i.e. loading an entire table to select a single row in memory), then yes: it will be poor.

    I don’t want change my application code.

    If my guess above (the second bullet) is correct, then the poor performance is entirely the fault of application code, and the only fix would be to change the application code; “want” has very little to do with it. If you could show some of your example database access code that would obviously help, but rest assured: there is no inherent slowness caused by ADO.NET. However, poorly written data access application code will always result in bad performance.

    If the issue is actually network topology, then you must design for that; applications designed for a fast local connection tend to perform badly when the DB and app are distant. The only fix there is, again, to change your application code to be less chatty – and hopefully less impacted by both latency (lots of small queries) and bandwidth (large queries) issues.

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

Sidebar

Related Questions

I have connection string: <add name=fullDataBase connectionString=Data Source=.;Initial Catalog=Equipme;Integrated Security=True providerName=System.Data.SqlClient/> And then I
I already have a connection string in my config file <connectionStrings> <add name=ConnectionString connectionString=Data
In a 32-bit .NET app, I can use this OLEDB connection string to connect
You can change the connection string at run-time like this. You make the connection
This is driving me nuts. I think it is because of some connection string
So, as described on this msdn page , when you define a Connection String
When I do this manually public class AdventureWorks : DataContext { public AdventureWorks(string connection)
[...] public DataSet ReturnPromoMagazinesDs() { MySql.Data.MySqlClient.MySqlConnection mysqlConnection = new MySql.Data.MySqlClient.MySqlConnection(this.connectionString); MySql.Data.MySqlClient.MySqlCommand mysqlCommand = new
I open a connection like this: Using conn as New OdbcConnection(connectionString) conn.Open() //do stuff
I'm getting an error like ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not

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.