Hi Mark
Thanks for taking your time to look at this. I have ensured that the
steps you pointed out were taken care of, but got the same problem.
Perhaps you can go through some of the details of how i created the
form.
1. Create a new database (test.db) with one table (Results), two
fields, an autonumber field for the primary key, and another field
which I have called value1. The field value1 was set to text with
default values.
2. Imported the database into frontpage, which was placed into \fpdb.
The necessary connections were verified.
3. Create a new page and named it test.asp.
4. Inserted a form using Insert | Form | Form.
5 Inserted a text box using Insert | Form | Textbox.
6. In the textbox properties, changed the name to value1 and the rest
of the selections set to default.
7. In form properties, selected 'send to database'
8. In form properties, saved fields, ensured that the formfield and
database columns matched, i.e. both are value1.
9. In IIS, I selected the \fpdb directory and checked, script source
access, read, write,directory browsing, log visits, and index this
resource.
10. Open test.asp in a web browser and key in information. Here I have
entered one1 into the lone textbox. hit submit and get a confirmation
page.
11. Open test.db and nothing has been added.
Any suggestions?
Thanks!
Mark Fitzpatrick wrote:
> The location of the database in your site is key. By default, FP should
> create an fpdb directory to store the database in. This directory is
> important because it has the proper user permissions set upon it. You need
> to allow the IUSR account (that's the user account ASP and IIS will
> authenticate with) to have read/write/delete access to the database. If
> these permissions aren't present then the database won't be able to
> insert/update/delete items, only select.
>
> Hope this helps,
> Mark Fitzpatrick
> Microsoft MVP - FrontPage
>
> "chinkoh" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >I am using WinXP pro, IIS5.1, FP2003.
> >
> > I have created an imported a database into the web. I have also
> > successfully accessed and displayed the records in the database using a
> > combination of DRW and direct manipulation of the asp code.
> >
> > The problem is trying to add records to the database.
> >
> > I have tried directly creating a form and making sure that the form
> > fields and database columns match. Connections were also verified. I
> > access the form through the browser and added a record. The operation
> > completed successfully, however, no data was actually recorded.
> >
> > I have also used the DIW to no avail. Same problem, successful
> > completion but no data actually written.
> >
> > I have seen the KB
> > http://support.microsoft.com/default...b;EN-US;219158
> > However, that did not help.
> >
> > Are there specific steps that must be taken?
> >
> > Any help is greatly appreciated.
> >
> > Thanks
> >