Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you try to split a database by using the Database Splitter in Microsoft Office Access 2007: "Could not lock file"


View products that this article applies to.

Symptoms

When you try to split a database by using the Database Splitter in Microsoft Office Access 2007, you may receive the following error message:
Database Splitter
Could not lock file.

↑ Back to the top


Cause

This problem occurs if the database file name is longer than 258 characters. When Access 2007 creates a locking file, the file name extension changes from ".accdb" to ".laccdb". If the database file name is longer than 258 characters, the extra character in the locking file name extension causes the locking file name to exceed the character limit for Access files. Therefore, the database cannot be split.

↑ Back to the top


Status

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

↑ Back to the top


More information

For more information about Access 2007, visit the following Microsoft Web site:

↑ Back to the top


Keywords: KB918812, kbexpertiseinter, kbprb, kbtshoot, kbinfo, kberrmsg

↑ Back to the top

Article Info
Article ID : 918812
Revision : 5
Created on : 10/15/2007
Published on : 10/15/2007
Exists online : False
Views : 356