Article ID: 982993 - View products that this article applies to.
Expand all | Collapse all

Symptoms

When you try to delete an Enterprise Calendar on a server that is running Microsoft Project Server 2010 or 2013, you cannot delete the calendar. Additionally, you receive the following error message:
The calendar is in use by the following projects: <projectname>



Edit the projects to use a different calendar and try again.

Note This error message may occur even when there are no projects that are currently using the calendar that is specified in the error message.

Cause - This is a known issue


Workaround

The workaround for this issue is destructive in that the original file will be deleted from the server database and a new file with the same name, tasks and resources will replace it. However, it is important to note that the Project ID will change as well as the assignment UIDs. If you are using timesheets to track work in this plan then the timesheets will no longer be linked to the new plan. Any exiting timesheets will need to be delted and recreated to get the new assignment UIDs. When viewing reports, it will be important to understand the new plan will a new Project ID and will not be related to data on old reports.


To work around this problem in Microsoft Project Web App 2013, follow these steps:
  1. Open the plans that are listed in the error message, and then save the plans as .mpp files. To do this, follow these steps:
    1. Click the File tab, and then click Save As. Click Computer and click Browse.
    2. Save Project With displays, select the appropriate option for which global items to save with the file, and then click OK.
    3. Type a name for the file, and then click Save.
    4. Choose a location in which to save the .mpp file, and then click Save.
  2. Log on to Project Web Access (PWA) by using administrator credentials.
  3. Under PWA Settings, click to select the Delete Enterprise Objects.
  4. Select the following:
    • Projects
    • Delete Draft and Published projects

    Optionally, you may want to also select the following:
    • Delete the connected SharePoint sites

    Or, keep the SharePoint site, and reuse it when you import and republish the plan back to the server. Make sure that you record the SharePoint site URL before you delete the project. This information is under PWA Settings on the Connected SharePoint Sites page. You must have this information in step 4D to correctly link the new project to the SharePoint site.
  5. Select the name of the project/s you wish to delete. Click Delete and then click OK.
  6. Under PWA Settings, click Manage Queue Jobs to view the jobs that have completed successfully.
  7. When the queue jobs are finished, under PWA Settings, click Enterprise Calendars.
  8. Select the calendar that you want to delete, and then click Delete. The calendar will now delete.
  9. Import the .mpp file back to the server. To do this, follow these steps:
    1. Launch Microsoft Project Professional 2013, and connect to the Project Server.
    2. Click Openother Projects. Click the linke for the .mpp file that you saved in step 1.
    3. Click the File tab, and then click Save As. Clic the Save button under Project Web App
    4. Type a name for the plan (can be the original name or a new one), and then click Save.
      E. Click File and click Publish.

      Note If a project site already exists, the PWA administrator can link the site that has the new project.To link the prject to a porject workspace,

To link the project to a SharePoint Site, follow these steps:

1. Under PWA Settings, click Connect SharePoint Sites.
 2. Select the project in the list.Click Edit Site Address.

3. Type the URL of the project site that you recorded from the Project Sites page.Click OK.

To make sure that the correct users and permissions are set on the SharePoint site, click GO TO PROJECT SITE SETTINGS and check the People and Groups on the site, as users as needed. When using Project Server permissions mode you can Synchronize users permissions to the site from the Connected SharePoint Sites page.


To work around this problem in Microsoft Project Web App 2010, follow these steps:
  1. Open the plans that are listed in the error message, and then save the plans as .mpp files. To do this, follow these steps:
    1. Click the File tab, and then click Save As.
    2. Type a name for the file, and then click to select the Save as File check box.
    3. Select the appropriate option for which global items to save with the file, and then click OK.
    4. Choose a location in which to save the .mpp file, and then click Save.
  2. Log on to Project Web Access (PWA) by using administrator credentials.
  3. Under Server Settings, click to select the Delete Enterprise Objects check box.
  4. Select the following:
    • Projects
    • Delete projects from Draft and Published databases

    Optionally, you may want to also select the following:
    • Delete the associated Microsoft SharePoint Foundation sites

    Or, keep the SharePoint site, and reuse it when you import and republish the plan back to the server. Make sure that you record the SharePoint site URL before you delete the project. This information is under Server Settings on the Project Sites page. You must have this information in step 4D to correctly link the new project to the SharePoint site.

  5. Under Server Settings, click Manage Queue Jobs to view the jobs that have completed successfully.
  6. When the queue jobs are finished, under Server Settings, click Enterprise Calendars.
  7. Select the calendar that you want to delete, and then click Delete Calendar.
  8. Import the .mpp file back to the server. To do this, follow these steps:
    1. In Microsoft Project Professional 2010, connect to the Project Server.
    2. Open the .mpp file that you saved in step 1.
    3. Click the File tab, and then click Save As.
    4. Type a name for the plan, and then click Save and Publish.

      Note If a project site already exists, the PWA administrator can link the site that has the new project

    To link the project to a project workspace, follow these steps:
    1. Under Server Settings, click Project Sites.
    2. Select the project in the list.
    3. Click Edit Site Address.
    4. Type the URL of the project site that you recorded from the Project Sites page.
    5. Click OK.
    6. Now that the project is selected, click Synchronize to make sure that the correct users and permissions are set on the SharePoint site.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 982993 - Last Review: June 24, 2013 - Revision: 3.0
Applies to
  • Microsoft Project Server 2010
  • Microsoft Project Server 2013
Keywords: 
kbsurveynew kbprb kbtshoot kbexpertiseinter kberrmsg KB982993

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com