473,394 Members | 2,002 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,394 software developers and data experts.

connection between database & website located at different places

I am creating a website. where the data to be stored in my server. I
had my webspace from some service provider.
How can i connect the website and thee database.
--website is deployed at webspace given by the provider.
--database is at my server( located in our office).

How can i connect these website and database.
Jun 27 '08 #1
6 1419
On May 18, 9:31 am, sravan_reddy001 <sravanganta2...@gmail.comwrote:
I am creating a website. where the data to be stored in my server. I
had my webspace from some service provider.
How can i connect the website and thee database.
--website is deployed at webspace given by the provider.
--database is at my server( located in our office).

How can i connect these website and database.
Hi..

I guess you have a real ip (public ip ) in your office expose your
database at a particular port..
Modify your web application's database connection in such a way that
it points to the database
of yours in your office.

Thanks
Masudur
Jun 27 '08 #2
Is that enough to do that..
and is the "Modifying web app's database connection to point to
database" thing has something to do in the ASP.NET webapplication
configuration..

i mean, configuring that by pointing to databse can be done in the
application configuration??
Thanks a lot..
Jun 27 '08 #3
On May 18, 10:48 am, sravan_reddy001 <sravanganta2...@gmail.com>
wrote:
Is that enough to do that..
and is the "Modifying web app's database connection to point to
database" thing has something to do in the ASP.NET webapplication
configuration..

i mean, configuring that by pointing to databse can be done in the
application configuration??

Thanks a lot..
Hi.

Application developers keep Database connection string in most of the
case in application configuration file
for web application in web.config file.
you must have a connection string in web.config.
just modify the datasource

Thanks
Munna
Jun 27 '08 #4
"Munna" <mu******@gmail.comwrote in message
news:53**********************************@l28g2000 prd.googlegroups.com...
You must have a connection string in web.config.
It's not a requirement that the web.config contains a connection string - a
connection string can be stored anywhere accessible...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #5
ok.. can someone suggest the connection string for the databae

AS SQL Server2005
database name : sample
password : helloworld
server ip address : 241.23.6.7

those details are just a sample because i can't give away actual
details..

assume port 11547 if it is required.

thanks
**Sravan**
Jun 27 '08 #6
"sravan_reddy001" <sr*************@gmail.comwrote in message
news:9b**********************************@a9g2000p rl.googlegroups.com...
ok.. can someone suggest the connection string for the databae
http://www.connectionstrings.com/?carrier=sqlserver2005
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Prabhat | last post by:
Hi All, I have BIG Problem in ASP. I have a ADO Connection that I Want to Connect to DBASE IV Database Located in a Local Networked System. The DBASE Database is located in other system...
18
by: middletree | last post by:
Sorry for the crosspost (I posted this on the asp.db group last night). But since I had no answer there, I'm hoping for better luck here. I'm pretty much tried everything I know. Here's the...
18
by: WStoreyII | last post by:
I am making a asp page that will run on my computer by iis. But the problem is the database in on a web server. I can not seem to get the connection to work for it though here his the connection...
7
by: Phil | last post by:
Hi all, 1st post here so................:-) I am using VS.Net and coding in VB. I am following some examples from a book that shows a connection string as:- sqlcnn = new sqlconnection("data...
5
by: Terry Holland | last post by:
I have an intranet application that comprises an ASP.Net application connecting to a SQL Server DB The application has 150 users. At the moment I am connecting using the following setup I have...
5
by: Joachim Smit | last post by:
I want store data in 2 different database, just for backup. One database is located at the webserver, the 2nd one on another server. I've writte this little script to test it. <?php $db1 =...
6
Cintury
by: Cintury | last post by:
Hi all, I've developed a mobile application for windows mobile 5.0 that has been in use for a while (1 year and a couple of months). It was developed in visual studios 2005 with a back-end sql...
5
by: Seguros Catatumbo | last post by:
Hi, i am using sql server 2000, and i make daily backups. I want to restore my backup to a test msde database i have. I don't know how i did it last time. -The database name is the same: "web"...
6
by: cj2 | last post by:
If from withing one program I want to access multiple databases on a sql server do I need to make multiple connections? The connection string says initial catalog. I'd assume I could denote the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.