Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 216423 - Last Review: February 22, 2007 - Revision: 1.3

"Cannot open 'C:\TEMP\FrontPageTempDir\frontpg.lck'" error message when you install the FrontPage 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.

APPLIES TO
  • Microsoft FrontPage 2000 Server Extensions
Keywords: 
kbpermissions kbsetup kberrmsg kbprb KB216423
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate