Solved

Can I Use Microsoft Access to Connect to an MS SQL Backend on a webhost?

Posted on 2016-10-26
5
75 Views
Last Modified: 2016-10-31
I have a Microsoft Access desktop frontend app that is connected to an SQL Server Express backend on the same PC. This works properly with the caveat that every user with the frontend app must connect to the LAN. I would like to move the backend online so that users (employees) will be able to use the frontend from any location; all they'll need is an internet connection. I will also want to create a few web pages that clients can use to access some of the data. The clients won't be writing any data; just reading.

Presently, I have a copy of the backend hosted online at HostGator. However, there is a requirement to whitelist every IP address that wishes to access the database. The problem is the users of the frontend desktop app  will have their respective internet IP addresses assigned via DHCP and so I can't whitelist in advance. In testing, the Access app connects fine when I whitelist but doesn't connect if I use an IP address that isn't whitelisted.  I don't mind whitelisting to be able to use SSMS.

Is what I am trying to do possible with a webhost? If not, what services do you recommend?

PS: I was able to create an ODBC connection on HostGator but the server address is 127.0.0.1    - this is a local host. Is there anyway to use this connection from withing Access?
0
Comment
Question by:Theo Fitchner
5 Comments
 
LVL 57
ID: 41860635
You can do what you want, but performance will not be great.

Access apps are typically not developed with true client/server in mind.

The main issue you have at the moment is your hosting...you'll need to find a hosting company that will let you control the setup.   If HostGator didn't require the whitelisting, you'd be good to go.

Jim.
0
 
LVL 19

Expert Comment

by:Eric Sherman
ID: 41860947
The only way around that is to host the web server yourself.  That may not be an option for you but worth considering.

ET
0
 
LVL 49

Assisted Solution

by:Gustav Brock
Gustav Brock earned 250 total points
ID: 41861689
At least at Amazon (AWS) - haven't checked at Azure - you can assign access from Anywhere to your public IP address at AWS:
AWS/gustav
0
 
LVL 9

Accepted Solution

by:
Armen Stein - Microsoft Access MVP since 2006 earned 250 total points
ID: 41863315
Yes, lots of web hosting services don't require specific IP whitelisting.  Find one that will host SQL Server without it.  Even SQL Azure can be run wide open by using a range of 0.0.0.0 to 255.255.255.255.

I agree with Jim that you might not like the performance.  Access needs to be optimized for using SQL Server, and even more so when it's over the internet.  I wrote a slide deck about that - it's called Best of Both Worlds at our free J Street Downloads Page:

http://www.JStreetTech.com/downloads

It includes some thoughts on when to use SQL Server, performance and security considerations, concurrency approaches, and techniques to help everything run smoothly.

Cheers,
Armen Stein
J Street Technology
0
 

Author Closing Comment

by:Theo Fitchner
ID: 41867729
Thanks you guys. You were both very helpful. I didn't know Azure could accept that whole range.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now