|
 |
 |
 |
 |
Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms
of Use |
Trademarks
Article ID: 871237 - Last Review: September 18, 2011 - Revision: 5.0 A database transaction log file grows unexpectedly in Microsoft Project Server 2002 and in Microsoft Project Server 2003When you use Microsoft Project Web Access or Microsoft Project Professional to log on to Microsoft Office Project Server 2003 or Microsoft Project Server 2002, you may experience one or more of the following symptoms: - A very large database transaction log file is created.
- SQL transactions may not be completed successfully and may start to roll back.
- SQL transactions may complete very slowly.
- Performance issues may occur.
- You receive the following error message:
Error: 9002, Severity: 17, State: 2
The log file for database '%.*ls' is full.
These symptoms may occur when a database transaction log is full. The database transaction log may grow quickly because of the many changes that Microsoft Office Project Professional 2003 or Microsoft Project Professional 2002 and Microsoft Project Server 2003 or Microsoft Project Server 2002 record in the transaction log. To resolve this issue, truncate the database transaction log. To do this, follow these steps: Microsoft SQL Server 2000: - Start SQL Server Enterprise Manager. To do this, click Start, point to All Programs or Programs, point to Microsoft SQL Server, and then click Enterprise Manager.
- Expand Microsoft SQL Servers, expand SQL Server Group, expand the appropriate server, and then expand Databases.
- Right-click the ProjectServer database, point to All Tasks, and then click Shrink Database.
- In the Shrink Database - DatabaseName dialog box, click OK to keep the current values.
To reduce the growth of the database transaction log, follow these steps: - Start SQL Server Enterprise Manager. To do this, click Start, point to All Programs or Programs, point to Microsoft SQL Server, and then click Enterprise Manager.
- Expand Microsoft SQL Servers, expand SQL Server Group, expand the appropriate server, and then expand Databases.
- Right-click the ProjectServer database, and then click Properties.
- Click the Options tab, and then under Recovery, click Simple in the Model box.
Notes- After you set the recovery model to use the Simple option, you cannot restore the database to the point of failure or to a specific point in time.
- For more information about the recovery options that are available in SQL Server, see the "Recovery Options" Help topic. To do this, follow these steps:
- Click Start, point to All Programs or Programs, point to Microsoft SQL Server, and then click Online Books.
- Click the Index tab, type recovery options, and then click Display.
- In the Setting Database Options topic, locate Recovery Options.
- Click the Transaction Log tab, and then do the following:
- Click to select the Automatically grow file check box.
Note The default values will appear in the File growth section. - Click Unrestricted file growth.
- Click OK to close the ProjectServer Properties dialog box.
Microsoft SQL Server 2005: - Start SQL Server Management Studio. To do this, click Start, point to All Programs or Programs, point to Microsoft SQL Server 2005, and then click SQL Server Management Studio.
- Connect to the database Engine instance that is Hosting the Project Server Database(s).
- Expand the Databases.
- For Project Server 2003 and 2003, Right-click the ProjectServer database, point to Tasks, Point to Shrink, and then click Database.
- For Project Server 2007 and Project Server 2010 these steps should be completed for all 4 Project Server databases (ProjectServer_Archive, ProjectServer_Draft, ProjectServer_Published, ProjectServer_Reporting)
- In the Shrink Databae - DatabaseName dialog box, click OK to keep the current values.
To reduce the growth of the database transaction log, follow thest steps: - Start SQL Server Management Studio. To do this, click Start, point to All Programs or Programs, point to Microsoft SQL Server 2005, and then click SQL Server Management Studio.
- Connect to the database Engine instance that is Hosting the Project Server database(s).
- Expand Databases
- For Project Server 2003 and 2002, right-click the ProjectServer database, and then click Properties.
- For Project Server 2007 and 2010, these steps should be completed for all 4 Project Server database (ProjectServer_Archive, ProjectServer_Draft, ProjectServer_Published, ProjectServer_Reporting).
- Click the Options tab, and then click Simple in the Recovery model box.
- After you set the recovery model to use the Simple option, you cannot restore the database to the point of failure or to a specific point in time.
- For mor information about the recovery options that are available in SQL Server, see the "Recovery Options" Help topic. To do this follow these steps:
- Click Start, point to All Programs or Programs, point to Microsoft SQL Server 2005, Point to Documentation and Tutorials, and then click SQL Server Books Online.
- Click the Index tab, type recovery options, and the click Display.
- In the Setting Database Options topic, locate Recover Options.
- Do the following if you are using Project Server 2003, This step is not necessary in Project Server 2007 and 2010. Click the Transaction Log tab, and then do the following:
- Click to select hte Automatically grow file check box. NOTE: The default values will appear in the File growth section.
- Click Unrestricted file growth.
- Click OK to close the ProjectServer Properties dialog box.
Microsoft SQL Server 2008: - Start SQL Server Management Studio. To do this, click Start, point to All Programs or Programs, point to Microsoft SQL Server 2008, and the click SQL Server Managment Studio.
- Connect to the database Engine instance that is Hosting the Project Server database(s).
- Expand Databases.
- For Project Server 2003 and 2002, Right-click the ProjectServer database, point to Tasks, Point to Shrink, and then click Database.
- For Project Server 2007 and 2010, these steps should be completed for all 4 ProjectServer databases (ProjectServer_Archive, ProjectServer_Draft, ProjectServer_Published, ProjectServer_Reporting)
- In the Shrink Database - DatabaseName dialog box, click OK to keep the current values.
To reduce the growth of the database transaction log, follow these steps: - Start SQL Server Management Studio. To do this, click Start, point to All Programs or Programs, point to Microsoft SQL Server 2008, and then SQL Server Management Studion.
- Connect to the database Engine instance that is Hosting the Project Server Database (s).
- Expand the databases.
- For Project Server 2003 and 2002, right-click the ProjectServer database, and then click Properties.
- For Project Server 2007 and 2010, these steps should be completed for all 4 Project Server Databases (ProjectServer_Archive, ProjectServer_Draft, ProjectServer_Published, ProjectServer_Reporting)
- Click the Options tab, and then click Simple in the Recovery model box.
- After you set the recovery model to use the Simple option, you cannot restore the database to the point of failure or to a specific point in time.
- For more information about the recovery options that are available in SQL Server, see the "Recover Options" Help topic. To do this, follow these steps:
- Click Start, point to All Programs or Programs, point to Microsoft SQL Server 2008, point to Documentation and Tutorials, and then click SQL Server Books Online.
- Click the Index tab, type recovery options, and then click Display.
- In the Setting Database Options topic, locate Recovery Options.
- Do the following if you are using Project Server 2003. This step is not necessary in Project Server 2007 and 2010. Click the Transaction Log tab, and then do the following:
- Click to select the Automatically grow file check box. NOTE: The default values will appear in the File growth section.
- Click Unrestricted file growth.
- Click OK to close the ProjectServer Properties dialog box.
For additional information about the steps to follow when the transaction log of a SQL Server database expands to an unacceptable limit, click the following article number to view the article in the Microsoft Knowledge Base:
873235Â
(http://kbalertz.com/Feedback.aspx?kbNumber=873235/
)
How to stop the transaction log of a SQL Server database from growing unexpectedly
Besides displaying the symptoms that are listed in the "Symptoms" section, SQL Server may mark databases that are suspect because of
a lack of disk space for transaction log expansion. For information about how
to recover from this situation, see the "Insufficient Disk Space" topic in the SQL
Server Books Online. Visit the following Microsoft Web site to view the SQL Server Books Online:
APPLIES TO- Microsoft Office Project Server 2003
- Microsoft Project Server 2002
- Microsoft Office Project Web Access
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
|
 |
 |
 |
 |
 |
 |
 |
| |