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

Article translations Article translations
Article ID: 303255 - View products that this article applies to.
This article was previously published under Q303255
Expand all | Collapse all

On This Page

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.

CAUSE

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

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.

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..."

Properties

Article ID: 303255 - Last Review: January 7, 2006 - Revision: 1.2
APPLIES TO
  • Microsoft FrontPage 2000 Standard Edition
Keywords: 
kberrmsg kbprb kbsavefile KB303255

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com