You receive a "Debug messages: Operation must use an updateable query" error message when you submit a new record in a Web page database that you created in FrontPage 2003 (830977)



The information in this article applies to:

  • Microsoft Office FrontPage 2003, when used with:
    • Microsoft Windows Server 2003, Enterprise Edition
    • Microsoft Windows Server 2003, Standard Edition

SYMPTOMS

When you open a database interface Web page in your Internet browser, and you try to submit a new record to the database, you receive an error message that is similar to the following:
Debug messages: Operation must use an updateable query.

CAUSE

This problem may occur if the following conditions are true:
  • You used the Database Interface Wizard in Microsoft Office FrontPage 2003 to create the database interface Web page.
  • You set ASP.NET as the technology to use to connect to the database.
  • The database is on a Microsoft Windows Server 2003-based Internet Information Server (IIS).
  • A Microsoft Access Database (MDB) is used as the database source.
This problem occurs when a Microsoft Access database file is used as your database source because you must grant write access to both the default worker process identity and the authenticated user. By default, both Internet Information Server version 5.0 and Internet Information Server version 6.0 typically grant write access to both the default worker process identity and the authenticated user. However, when you use an MDB file as your database, these permissions must be granted by an administrator on the server that hosts the Web site.

WORKAROUND

To work around this problem, grant write access permission for the MDB file to both the IIS_WPG group and the Network Service. To do this, follow these steps:
  1. Log on as an administrator to the Microsoft Windows Server 2003-based computer that hosts your Web site.
  2. Click Start, right-click My Computer, and then click Explore.
  3. Expand the folder tree to the location of your Web site database file. For example, this file may be located in the following location:

    C:\Documents and Settings\Administrator\My Documents\My Web Sites\Your_Web_Site_Name\fpdb

  4. Right-click Your_Web_Site_Database_Name.mdb, and then click Properties.
  5. Click the Security tab, and then click Add.
  6. In the Enter the object names to select box, type IIS_WPG, and then click OK.
  7. In the Group or user names list, click IIS_WPG.
  8. In the Permissions for IIS_WPG list, click to select the Allow check box that is next to Write.
  9. Click Add.
  10. In the Enter the object names to select box, type Network Service, and then click OK.
  11. In the Group or user names list, click Network Service.
  12. In the Permissions for Network Service list, click to select the Allow check box that is next to Write.
  13. Click Apply, and then click OK.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

Modification Type:MinorLast Reviewed:1/6/2006
Keywords:kberrmsg kbprb KB830977 kbAudEndUser