ACC2000: Erroneous Error Message When You Delete Data Access Page (248923)



The information in this article applies to:

  • Microsoft Access 2000, when used with:
    • the operating system: Microsoft Windows 2000

This article was previously published under Q248923
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

Novice: Requires knowledge of the user interface on single-user computers.

SYMPTOMS

When you try to delete a data access page that has one or more supporting files, such as an image file, you may receive the following error message:
Microsoft was unable to delete the data access page(s). One or more files were not found, or you don't have permission to delete them. Some data access files may not have been deleted.
However, when you check in Windows Explorer, you see that the data access page file has been deleted.

CAUSE

This behavior can occur when all of the following conditions are true:
  • You are using Access on a computer that is running Microsoft Windows 2000.
  • The data access page does not reside on a Web server.
  • The data access page contains supporting files, such as an image or .ocx file.

RESOLUTION

To resolve this problem, obtain Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a).

To obtain SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base:

245025 OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a)

STATUS

Microsoft has confirmed that this is a problem in Access 2000. This problem was corrected in Microsoft Office 2000 SR-1/SR-1a.

MORE INFORMATION

CAUTION: If you follow the steps in this example, you modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file and follow these steps on a copy of the database.

Steps to Reproduce Behavior

  1. Open the sample database Northwind.mdb.
  2. Create a data access page in Design view. You do not have to bind it to any data.
  3. On the Insert menu, click Picture.
  4. Browse to any image file. There are bitmap files in the folder where you have Windows 2000 installed. Select an image file, and then click OK.
  5. Save the page to any location on your hard disk. Make note of where you save it.
  6. Close the page.
  7. In the list of pages in the Database window, click the page that you just created.
  8. On the Edit menu, click Delete.
  9. Click Yes in the first dialog box. When prompted with the second dialog box, also click Yes to delete both the page link and the page file.

    Note that you receive the error message mentioned in the "Symptoms" section of this article. Click OK.
  10. Open Windows Explorer and browse to the location of the page that you saved earlier. Note that the page has actually been deleted, contrary to the error message that you received in Access.

Modification Type:MajorLast Reviewed:5/9/2003
Keywords:kbbug kberrmsg kbfix KB248923