Microsoft KB Archive/945389

= Error message when you import project details from Project Server 2007 to Project Portfolio Server 2007: &quot;The statement has been terminated. String or binary data would be truncated&quot; =

Article ID: 945389

Article Last Modified on 12/13/2007

-

APPLIES TO


 * Microsoft Office Project Portfolio Server 2007

-



SYMPTOMS
When you use the Microsoft Office Project Server 2007 gateway to import project details from Project Server 2007 to Microsoft Office Project Portfolio Server 2007, the import process is not successful. Additionally, you receive the following error message:

The statement has been terminated. String or binary data would be truncated.



CAUSE
This issue occurs when the project plan that you try to import contains three or more predecessor or successor relationships in a single task. In this case, the data length for the column is exceeded, and Project Portfolio Server 2007 cannot save the details successfully.



RESOLUTION
To resolve this issue, you must update the PPSAccountData database. (&quot;PPSAccountData&quot; is the default name of this database.) To do this, follow these steps.

Important Make sure that you create a backup of your database before you follow these steps.  Start the Microsoft SQL Server Management Console, and then connect to the database instance that is hosting the Project Portfolio Server 2007 database. Click New Query. In the database list, select the PPSAccountData database. Copy and then paste the following text into the query window:

ALTER TABLE sftasks ALTER COLUMN PredAndSucc nvarchar(512)

ALTER TABLE sftasks ALTER COLUMN SummaryTaskUID varchar(100)

 On the Query menu, click Execute. When the process is complete, click File, and then click Exit.</ol>

Additional query words: PSRV2007 ProjectServer2007 PPS2007

Keywords: kbtshoot kbprb kbexpertiseinter KB945389

-

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

© Microsoft Corporation. All rights reserved.