Solved

ASP to Access DB

Posted on 2006-10-22
5
256 Views
Last Modified: 2013-12-24
I am trying to create a data entry page interfacing to an Access DB. I have had some success with this in the past, but now it doesn't work. Each time I design the form and let FP create the DB ( I get the same error interfacing to an existing DB), I get the following error:

Server error: Unable to retrieve the list of record sources from a database using the connection string:

DRIVER={Microsoft Access Driver (*.mdb)};DBQ=URL=fpdb/Rego.mdb.

The following error message comes from the database driver software; it may appear in a different language depending on how the driver is configured.
-------------------------------------------------------


Source: ADO
Number: -2146824584 (0x800a0e78)

I am using FP 2003 and Access 203 and the database is in 2000 format.

Grateful for any assistance

Thanks


Ursa

0
Comment
Question by:UrsaMajor
  • 2
  • 2
5 Comments
 
LVL 16

Expert Comment

by:CWS (haripriya)
ID: 17786927
use the below connection string and make sure your database is in the folder fpdb.

DRIVER={Microsoft Access Driver (*.mdb)};DBQ=fpdb/Rego.mdb"

Hope this helps.
0
 

Author Comment

by:UrsaMajor
ID: 17787484
thank you for your help. I tried using the .ASP page and now it accepts all the data. However, the access database is not accepting the updates. I did not enter that connection string as I am unsure where it goes.

Is there something else I can try. Thanks



ursa
23/10
0
 
LVL 16

Expert Comment

by:CWS (haripriya)
ID: 17787980
Can u post your code?
0
 
LVL 16

Accepted Solution

by:
ThinkPaper earned 250 total points
ID: 17788897
You'll need something like this near the top of your page, before you do anything to the DB:
<%
set cnn = server.createobject("ADODB.Connection")
cnn.open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=fpdb/Rego.mdb"
%>

If it is failing to update because of permission problems, right click your fpdb folder and click on sharing and security and make sure that "Internet users" (something like that - i forget exactly what the user is called) has permissions to edit stuff in that folder.

If that still doesn't work, perhaps showing us your code will help us figure out what the problem is.
0
 

Author Comment

by:UrsaMajor
ID: 17801071
Problem was indeed related to the security of the fpdb folder. I changed the access for Internet Guest and bobs your uncle, it all worked as if by magic.

Thanks again


Ursa
25/10
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wordpress plugin to view newspaper 3 58
online form save filled out 10 53
Strange space issue in Chrome browser 8 109
Problem to echo 6 97
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…

772 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