You receive an "Operation failed" message in Database Results region when you preview a page in FrontPage 2003 (828905)
The information in this article applies to:
- Microsoft Office FrontPage 2003
For a Microsoft 2002 version of this article, see
299911. For a Microsoft 2000 version of this article, see
265320. SYMPTOMSWhen you preview a page in a Web browser in Microsoft Office
FrontPage 2003, you may receive an error message in the Database
Results region of the page. The error message may be similar to the
following: The operation failed. If this continues please
contact your server administrator. This problem may occur when the
page contains a search form that queries a Microsoft Office Access 2003
database. CAUSEThis issue may occur in situations when empty number fields
are not recognized as numbers. Therefore, a data type mismatch error occurs.
RESOLUTIONTo resolve this issue, use a default value for database
fields that use a numeric data type. Determine the fields that use either the
Number data type or the AutoNumber data type,
and then specify default values for the numeric data types that are used by the
Database Results region on the page. To do so, follow these
steps:
- Identify the fields that use the Number
data type or the AutoNumber data type. To do so, follow these
steps:
- Start FrontPage, and then open your Web
site.
- On the View menu, click
Folders.
- Under Folder List, double-click the
Fpdb folder, and then double-click the Access 2003 database
file (.mdb) that you are using with your query.
- In Access 2003, click the table or the query that is
the source of data for the search form, and then click Design.
Make a note of the names of the fields that use the
Number data type or the AutoNumber data type.
- Close the .mdb file, and then quit Access 2003.
- Specify a default value for the numeric data types. To do
so, follow these steps:
- Open the Web page that contains the Database
Results region.
- Right-click the Database Results
region on the page, and then click Database Results
Properties.
The Database Results Wizard starts. - Click Next, and then click
Next.
- Click More Options.
- In the More Options dialog box, click
Defaults.
- Click a field that uses the Number
data type or the AutoNumber data type, and then click
Edit.
- In the Value box, type a default
numeric value, and then click OK. For example, type
0 (zero).
- Repeat steps 2f and 2g for each field that uses the
Number data type or the AutoNumber data type.
- Click OK, and then click
OK.
- Click Next, click
Next, and then click Finish.
- On the File menu, click
Save.
- On the File menu, click
Preview in Browser.
Modification Type: | Minor | Last Reviewed: | 1/9/2006 |
---|
Keywords: | kbForms kbDatabase kberrmsg kbprb KB828905 kbAudITPRO |
---|
|