Microsoft KB Archive/303255

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

Article ID: 303255

Article Last Modified on 1/7/2006

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition

-



This article was previously published under Q303255



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.


 * 1) On the Tools menu, click Folder Options.
 * 2) 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.
 * 3) Click OK.
 * 4) In the Folders list, double-click the folder that contains your Web.
 * 5) Double-click the _vti_pvt folder.
 * 6) Delete any files that end with .lck.
 * 7) Right-click the Service file, and then click Properties.
 * 8) Click to clear the Read Only check box, and then click OK.
 * 9) Right-click the Services file, and then click Properties.
 * 10) 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: &quot;Server Error: Web Is Busy...&quot;

Additional query words: front page

Keywords: kberrmsg kbprb kbsavefile KB303255

-

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

© Microsoft Corporation. All rights reserved.