Microsoft KB Archive/828905

= You receive an &quot;Operation failed&quot; message in Database Results region when you preview a page in FrontPage 2003 =

Article ID: 828905

Article Last Modified on 1/9/2006

-

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.



SYMPTOMS
When 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.



CAUSE
This issue may occur in situations when empty number fields are not recognized as numbers. Therefore, a data type mismatch error occurs.



RESOLUTION
To 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.</li> Close the .mdb file, and then quit Access 2003.</li></ol> </li> Specify a default value for the numeric data types. To do so, follow these steps: <ol style="list-style-type: lower-alpha;"> Open the Web page that contains the Database Results region.</li> Right-click the Database Results region on the page, and then click Database Results Properties.

The Database Results Wizard starts.</li> Click Next, and then click Next.</li> Click More Options.</li> In the More Options dialog box, click Defaults.</li> Click a field that uses the Number data type or the AutoNumber data type, and then click Edit.</li> In the Value box, type a default numeric value, and then click OK. For example, type 0 (zero).</li> Repeat steps 2f and 2g for each field that uses the Number data type or the AutoNumber data type.</li> Click OK, and then click OK.</li> Click Next, click Next, and then click Finish.</li> On the File menu, click Save.</li> On the File menu, click Preview in Browser.</li></ol> </li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For more information about FrontPage, visit the following Microsoft Web site:

http://office.microsoft.com/home/office.aspx?assetid=FX01085802

Additional query words: fp2003

Keywords: kbforms kbdatabase kberrmsg kbprb KB828905

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.