Microsoft KB Archive/216423

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

Article ID: 216423

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft FrontPage 2000 Server Extensions

-



This article was previously published under Q216423



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.



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.



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.



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

Additional query words: front page

Keywords: kbpermissions kbsetup kberrmsg kbprb KB216423

-

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

© Microsoft Corporation. All rights reserved.