Access database webdev question
#1
Access database webdev question
I have built a website that incorporates a simple 'news' section using ASP and an MS Access database. I now need to duplicate the site and upload it to 2 separate domains but I want all 3 sites to pull up data from just one database file sat on the original domain so I don't have to upload new articles three times, or have to maintain three versions of the database.
Is it possible to have a website pull up data from an Access database sat on a different web domain?
Is it possible to have a website pull up data from an Access database sat on a different web domain?
#2
Scooby Regular
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like
on
1 Post
depends on how your connecting to the database.. where the sites are hosted.. if they are hosted on the same box then you could do it by just having the dsn / recordset point to the same db in a folder accessible by all three sites..
wouldnt recomend that sort of thing though.. dunno about record locking between three sites with access.
David
wouldnt recomend that sort of thing though.. dunno about record locking between three sites with access.
David
#3
Originally Posted by David_Wallis
depends on how your connecting to the database.. where the sites are hosted
David
David
The news tool is one I got off the web rather than writing myself. It uses the following type of connection string held in a single 'connection.asp' file:
-------------------
Set news = Server.CreateObject("ADODB.Connection")
news.open "driver={Microsoft Access Driver(*.mdb)};dbq=E:\wwwroot\mysitename\db\news.m db"
-------------------
Also what do you mean by record locking? Sorry to be ignorant but I'm new to database issues
#4
Scooby Regular
Join Date: Oct 2003
Location: Cheshire
Posts: 671
Likes: 0
Received 0 Likes
on
0 Posts
Record locking is when the database will lock a record that is being viewed / used by one person so another person cannot view/change the same record.
Happens in Access a lot, Access is crap for multi-user databases, as it creates loads of network traffic and has the record lock issue.
Mark
Happens in Access a lot, Access is crap for multi-user databases, as it creates loads of network traffic and has the record lock issue.
Mark
#5
Scooby Regular
Join Date: Dec 2003
Location: South Bucks
Posts: 811
Likes: 0
Received 0 Likes
on
0 Posts
If you're expecting even moderate traffic, then i'd reccomend you get your DB away from access!!!
access has a nasty habit off corrupting very frequently when under heavy load. as mentioned above it has serious locking issues aswell. speak to the ISP, they will very likely be able to give you 'access' to a real database like SQL server (for a fee i'm sure) which will be a lot more reliable and able to cope with heavy use.
access has a nasty habit off corrupting very frequently when under heavy load. as mentioned above it has serious locking issues aswell. speak to the ISP, they will very likely be able to give you 'access' to a real database like SQL server (for a fee i'm sure) which will be a lot more reliable and able to cope with heavy use.
Thread
Thread Starter
Forum
Replies
Last Post
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM