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 (303255)
The information in this article applies to:
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- 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.
- On the Tools menu, click Folder Options.
- 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.
- Click OK.
- In the Folders list, double-click the folder that contains your Web.
- Double-click the _vti_pvt folder.
- Delete any files that end with .lck.
- Right-click the Service file, and then click Properties.
- Click to clear the Read Only check box, and then click OK.
- Right-click the Services file, and then click Properties.
- 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- Create a folder in the root of the C: drive. For example, create a folder called Website.
- On the Windows Start menu, click Run.
- In the Open box, type command to open the command prompt.
- 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.
| Modification Type: | Minor | Last Reviewed: | 1/7/2006 |
|---|
| Keywords: | kbsavefile kberrmsg kbprb KB303255 |
|---|
|