473,398 Members | 2,389 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Connecting two computers

I am developing web application of banking in asp.net. I store all the database in one system(acts as server), and application is runned in other system. So when any modifications are done in the records like withdrawals by running application, those updates has to be reflected in the database of other system.SO my question is how to connect those two systems?
Dec 26 '11 #1
3 2062
Mention the IP or computername of the Server in Application's Webconfig file.

For Example ,you are using the Server 127.0.0.1 (Server IP).

In WebConfig File mention the Ip as DataSource while adding ConnectionString.
Expand|Select|Wrap|Line Numbers
  1. <connectionStrings>
  2.     <add name="ConnectionString" connectionString="Data Source=127.0.0.1;Initial Catalog=databasename;Persist Security Info=True;User ID=sa;Password=admin@password123"
  3.       providerName="System.Data.SqlClient" />
  4. </connectionStrings>
Dec 28 '11 #2
Thank you so much for your help.
Dec 28 '11 #3
Frinavale
9,735 Expert Mod 8TB
Make sure that you take precautions to secure your connection strings.
You can encrypt the connection strings portion of the web.config file using tools available to you in IIS and ASP.NET.
Jan 3 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: learning_C++ | last post by:
Hi, I found some example code about server and client applications. But I can not run server and client in different computers. Now, I only run them in the different windows in Linux. I hope to...
1
by: Dishaa V | last post by:
Hello I need to connect to an access db which is on the internet. I do know that URL of the same. its http://www.vallury.com/balance/bank.mdb. Its just a test db. How can I connect to that db...
4
by: Salad | last post by:
When I connect to FoxPro tables it takes about 1 1/2 minutes to view the records in a small table. Is this normal ODBC behavior?
4
by: duffaz | last post by:
I am trying to I am trying to connect to an SQL Server using a vb.net program. It works if I put it on the SQL Server computer, but will not connect over my local network that is set up as a...
1
by: =?Utf-8?B?ZGlnZ2l0eXBvbw==?= | last post by:
How do you connect two computers if one doesn't boot up correctly? I have one computer that has an issue with System Registry Hive being too large, and I think there is something else wrong with...
2
by: ali | last post by:
I have a program that has hand written database connections and DataGridView that connects to my database on sql server using computer's name .this works fine locally BUT problem occures when...
17
by: John Salerno | last post by:
Let me see if this question even makes sense...I'm reading Core Python Programming and I jumped ahead to the more specific topics like network programming. I plan to follow along with the example...
2
jhardman
by: jhardman | last post by:
I keep getting connection errors that appear to me to relate to user permissions. I tried connecting with DSN from both a classic ASP page using VBScript, and from a .NET web service using C#,...
24
by: Asja | last post by:
I have written an application that runs in a kind of peer-to-peer framework. Servers connect to a masterserver, which a client then queries to receive a list of servers. The client selects a server...
7
by: shaahin | last post by:
Hi Is there any way to connecting to computers via Dial Modem without internet? Like windows Hyper terminal. making connection sending files between computers. Just Connection Between two Computers...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.