Microsoft Knowledge Base Email Alertz

KBAlertz.com: (302937) - When you attempt to open a project, you may receive a message similar to the following: The project is currently locked and cannot be opened. Either another user is saving or opening the project, or the user has it locked for exclusive use. Try again...

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]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

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




Article ID: 302937 - Last Review: January 31, 2007 - Revision: 2.6

Message states the file is locked or in use when you try to open a project in Project

This article was previously published under Q302937

SYMPTOMS

When you attempt to open a project, you may receive a message similar to the following:
The project is currently locked and cannot be opened.
Either another user is saving or opening the project, or the user has it locked for exclusive use. Try again later.
As a result, you cannot open the project.

CAUSE

This behavior can occur if you work with a project that is stored in a database. If some fields in the MSP_PROJECTS table contain incorrect values, this can cause the file to be locked.

RESOLUTION

To resolve this issue, you must unlock the file. To do this, edit the values in the MSP_PROJECTS table by following these steps:
  1. To view the tables, open the database that contains the project.
  2. Set the values in the MSP_PROJECTS table to the following:
    PROJ_READ_ONLY = '0'
    PROJ_READ_WRITE = '0'
    PROJ_READ_COUNT = '0'
    PROJ_LOCKED = '0'
    PROJ_MACHINE_ID = null
    PROJ_EXT_EDITED = '1'
  3. Close the database.
If you use Microsoft SQL Server to store the project database, you can modify the following SQL update statement and then use it to unlock the project:
Update      MSP_PROJECTS
Set         PROJ_READ_ONLY = '0',
            PROJ_READ_WRITE = '0',
            PROJ_READ_COUNT = '0',
            PROJ_LOCKED = '0',
            PROJ_MACHINE_ID = null, 
            PROJ_EXT_EDITED = '1',
Where PROJ_ID = <YourProjID>
				
Note The placeholder <YourProjID> represents your Project ID.

MORE INFORMATION

Microsoft Project supports the following databases through Open Database Connectivity (ODBC):
  • Microsoft Access 2000
  • Microsoft SQL Server 7.0 or later
  • Microsoft Data Engine 1.0 or later
  • Oracle Server, version 8.0 or later
For additional information about how to use Microsoft Project with databases, view the contents of the Projdb.htm file stored on the Microsoft Project 2000 compact disc. To do this, follow these steps.

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. Insert the Microsoft Project compact disc into your computer's CD-ROM or DVD-ROM drive.
  2. Click Start, point to Search, and then click For Files or Folders.
  3. In the Search Results dialog box, type Projdb.htm in the Search for files or folders named box.
  4. In the Look in list, click Compact Disc, and then click Search Now.
  5. In the Search Results pane, double-click the Projdb.htm file that you want.

    Note The MultiLanguage Pack folder contains the Projdb.htm file in various other languages.
The Microsoft Project 2000 Database Format page opens in your Web browser.

The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

APPLIES TO
  • Microsoft Project 2000 Standard Edition
  • Microsoft Project Server 2002
  • Microsoft Office Project Server 2003
  • Microsoft Office Project Standard 2003
  • Microsoft Office Project Professional 2003
Keywords: 
kbprb KB302937
       

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

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please