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

about database and remote connections.

Shenno
59
hi all.


i have some questions about databases and remote connections..

i've made an application that connects to sql server db on local machine then i published the app. and installed it on other machine..

was very bad when i realised that the application won't work except that there are sql server instance on that machine.. :/


am thinking now to use access db instead of Sql Server..
but i don't know if i had to install access on every machine to make the app. work ?? or just the access db file "mdb" is enough to connect and react with data on that db ??

and if i had to install access on the pc that hold the database, do i had to install it on client mashines too in order to access the db on server with remote connection ??


answering these question will rly help me too much.

thx in advance.
Oct 2 '10 #1
2 1621
mldisibio
190 Expert 100+
You could distribute copies of the Access database (.mdb file) to each user, and use ADO.Net to connect to the file. There is no need to have Access installed on the client machines.
Bind to An ADO.Net Data Source

This is okay if the data is read-only. If it is read/write, then each database will be different than the others after users make updates.

A better solution is to use SQL Server Express which is free.

You only need to install SQL Server on one PC or server, and each client will have an ADO.Net connection string which connects to it remotely. The clients do not need SQL Server installed on their PC. They might need an odbc driver though.

Connection Strings
Sample Connection Strings for SQL or Access.
Enable Remote Connection to SQL Express

You can also distribute the SQL Server Express database with your application if you prefer that solution.
Oct 3 '10 #2
Shenno
59
so as i got from your answer there are 2 solutions.

to use access mdb file on server and connect remotely to server with no access installed on client or server.

or have sql server instance and db file "MDF" on server machine,, and client can connect to server with no instance of ms sql server on that client.

THX Very Much =)
Oct 3 '10 #3

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

Similar topics

3
by: Mudge | last post by:
Hi, My hosting provider only allows me to use 50 connections to my MySQL database that my Web site will use. I don't know what this 50 connections means exactly. Does this mean that only 50...
1
by: Mario_5 | last post by:
Could you please tell me more about database support of Eclipse for Linux. 1. Does Eclipse have a classes and database tool? 2. Which free database do you use on Linux (Mandrake 9.0)? 3. Can I...
6
by: Jim H | last post by:
I have an app I working on that was working fine a few days ago. Now I get a jscript error: Microsoft JScript runtime error: Object expected in a part of the code that has not been modifed or...
6
by: 3Dfelix | last post by:
Hi, someone could help me with this problem when trying to insert a record in a SQL express database? I can view record but not edit or insert. When connecting to SQL Server 2005, this failure...
4
by: VB Programmer | last post by:
I have an ASP.NET 2.0 site i'm creating in VS.NET. I left it a few days ago, after I had implemented membership, worked on some db tables, etc... Today I go to open the Data Connection to the...
1
by: pkrdeka | last post by:
I want to share knowledes about database. If any one interest with a friendship movement, please contact me.
2
by: Markus Strobl | last post by:
Hi! I'm developing a self-hosted WCF service running on client machines for interprocess-data exchange using netTcpBinding. For security reasons i'd like to configure the service in a way it...
5
by: Cirene | last post by:
I just deployed my new ASP.NET (3.5 FW) site to the hosting company I'm using, webhost4life. NOTE: I HAVE deployed other SQL Server sites to the same account with no issues. Now I'm getting...
0
by: mina | last post by:
My application which is written in vb.net 2005 uses sql server 2005 express as a database, this application is multi-user. So i am used 3 xp machine to install my application i can say...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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.