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.

"Cannot open 'C:\TEMP\FrontPageTempDir\frontpg.lck'" error message when you install the FrontPage Server Extensions


View products that this article applies to.

This article was previously published under Q216423

↑ Back to the top


Symptoms

When you install the FrontPage Server Extensions to IIS 3.0, Netscape, or WebSite, on a computer running Windows NT, one of the following error messages occurs:
Cannot open "C:\TEMP\FrontPageTempDir\frontpg.lck":no such file or folder
Cannot open file "C:\WINNT\FrontPageTempDir\frontpg.lck"
Cannot open C:\Temp\frontpg.lck or C:\WINNT\frontpg.lck
Note: The drive letter in the error message may vary.

↑ Back to the top


Cause

The error occurs because either you do not have a \Temp folder defined in your system environment or the folder has inadequate permissions for FrontPage to write the Frontpg.lck file. If there is a Temp folder variable set for the installation drive, FrontPage uses it and writes the FrontPageTempDir. If there is no Temp folder, FrontPage will then write the FrontPageTempDir to the \WINNT folder. Sometimes this folder is locked and FrontPage cannot write to it.

↑ Back to the top


Resolution

To resolve the problem, do the following:
  1. In Windows Explorer, browse to C:\Temp. If the folder does not exist, create it. If your error message refers to a different drive letter, create the \Temp folder on that drive. If the Temp folder exists, but is restricted, set the minimum permissions of Administrators and System Full Control. By default, the folder is set to Everyone Full Control, which is the preferred setting.
  2. Check the System settings to make sure the folder is mapped. In Control Panel, double-click the System icon.
  3. Click the Environment tab.
  4. In the User Variables for account, you should see Temp and Tmp. If you do not see these variables, you will need to add them. In the Variable: box, enter Temp. In the Value: box, enter %SystemDrive%\Temp.
  5. In the Variable: box, enter TMP. In the Value: box, enter %SystemDrive%\Temp.
  6. Uninstall and reinstall the Server Extensions for the new Temp folder system variables.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the FrontPage 2000 Server Extensions.

↑ Back to the top


Keywords: KB216423, kbprb, kberrmsg, kbsetup, kbpermissions

↑ Back to the top

Article Info
Article ID : 216423
Revision : 4
Created on : 2/22/2007
Published on : 2/22/2007
Exists online : False
Views : 288