Solved

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

Posted on 2016-10-26
5
60 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
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.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

759 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

16 Experts available now in Live!

Get 1:1 Help Now