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.

You receive a " Cannot open file ...\_vti_pvt\service.lck for writing" error message when you attempt to save changes to a Web in FrontPage 2000


View products that this article applies to.

Symptoms

When you attempt to save changes made to a Web on your hard disk, you may receive an error message similar to the following:
Cannot open file ...\_vti_pvt\service.lck for writing.

↑ Back to the top


Cause

This behavior occurs if the Web was copied from CD-ROM so that all .lck files were marked as read-only.

↑ Back to the top


Resolution

To resolve this problem, remove the read-only attribute. To do this, use either of the following methods.

Method 1: Change the Attributes of the Webs and Subwebs in Windows

  1. Right-click Start, and then click Explore.NOTE: Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.

  2. On the Tools menu, click Folder Options.
  3. On the View tab, click to select the Show hidden files and folders check box, and then click to clear the Hide file extension for known file types check box.
  4. Click OK.
  5. In the Folders list, double-click the folder that contains your Web.
  6. Double-click the _vti_pvt folder.
  7. Delete any files that end with .lck.
  8. Right-click the Service file, and then click Properties.
  9. Click to clear the Read Only check box, and then click OK.
  10. Right-click the Services file, and then click Properties.
  11. Click to clear the Read Only check box, and then click OK.
Repeat these steps for any subwebs.

Method 2: Change the Attributes by Using the XCopy Command at the Command Prompt

  1. Create a folder in the root of the C: drive. For example, create a folder called Website.
  2. On the Windows Start menu, click Run.
  3. In the Open box, type command to open the command prompt.
  4. Type xcopy f: /h /s c:\website where f is the drive letter of the CD-ROM or DVD-ROM Drive. Press ENTER. This will copy all of the files from the CD-ROM to the folder you created in step 1.
Now you can open the Web in FrontPage and publish it to another destination on the hard disk if you want.

↑ Back to the top


More information

For additional information about the service.lck file, click the following article number to view the article in the Microsoft Knowledge Base:
266216 Error message when publishing Web: "Server Error: Web Is Busy..."

↑ Back to the top


Keywords: KB303255, kbsavefile, kbprb, kberrmsg

↑ Back to the top

Article Info
Article ID : 303255
Revision : 3
Created on : 1/7/2006
Published on : 1/7/2006
Exists online : False
Views : 271