473,750 Members | 2,583 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

about database and remote connections.

Shenno
59 New Member
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 1631
mldisibio
190 Recognized Expert New Member
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 New Member
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
2413
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 visitors to my Web site can access my database through my Web site at one time? Or does this mean that in my code I can only use 50 connections? and like
1
1749
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 use some database on a Linux and also on a WIN platforms ? p.s. correct me if I'm wrong: jar: On a Linux I can start jar or class file, which is compile on a WIN
6
2063
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 touched. It's actually part of a separate project. I only get this error when I try to view the page on my local machine. If I connect to my webserver from another machine it works fine. What can cause this? Why does it only fail on my local...
6
20912
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 may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) thanks
4
4309
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 SQL Express db thru the VS interface and I get this error: An error has occurred while establishing a connection to the server. When connection to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server...
1
1398
by: pkrdeka | last post by:
I want to share knowledes about database. If any one interest with a friendship movement, please contact me.
2
3049
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 only accepts local connections. Does anybody know how this can be done?
5
3558
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 this error. Any idea why? Server Error in '/myuser4/MyWebApp' Application. --------------------------------------------------------------------------------
0
4619
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 machine1,machine2 ,machine3 on which i have install my application. On machine1 i also install SQL Server 2005 express. Then run mu application from machine1 which is locally its work fine. But i am facing problem when i am trying to connect from the...
0
8838
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9583
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9342
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6808
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6081
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4716
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3323
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2226
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.