Microsoft KB Archive/830977

= 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 =

Article ID: 830977

Article Last Modified on 10/23/2006

-

APPLIES TO

 Microsoft Office FrontPage 2003, when used with:  Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)

 Microsoft Windows Server 2003, Standard Edition (32-bit x86) 

-





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: <ol> Log on as an administrator to the Microsoft Windows Server 2003-based computer that hosts your Web site.</li> Click Start, right-click My Computer, and then click Explore.</li> 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\ \fpdb

</li> Right-click  .mdb, and then click Properties.</li> Click the Security tab, and then click Add.</li> In the Enter the object names to select box, type IIS_WPG, and then click OK.</li> In the Group or user names list, click IIS_WPG.</li> In the Permissions for IIS_WPG list, click to select the Allow check box that is next to Write.</li> Click Add.</li> In the Enter the object names to select box, type Network Service, and then click OK.</li> In the Group or user names list, click Network Service.</li> In the Permissions for Network Service list, click to select the Allow check box that is next to Write.</li> Click Apply, and then click OK.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article.

Keywords: kberrmsg kbprb KB830977

-

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

© Microsoft Corporation. All rights reserved.