Microsoft KB Archive/274290

= PRJ2000: Error When You Delegate Task in Microsoft Project Central =

Article ID: 274290

Article Last Modified on 1/29/2007

-

APPLIES TO


 * Microsoft Project 2000 Standard Edition

-



This article was previously published under Q274290



SYMPTOMS
In Microsoft Project Central, when you delegate a task in your Timesheet, you may not receive a confirmation that the task has been delegated. In addition, you may receive the following error message

Internet Explorer

Problems with this Web page might prevent it from being displayed properly or functioning properly.

Line: number

Char: number

Error: 'document.frames.idExecASP.document.all.nErr.value' is not an object

Code: 0

URL: http://server/site/Tasks/DelegatePage.asp?

where server is the name of the computer that hosts the Microsoft Project Central server, and site is the name of the Microsoft Project Central virtual folder.

NOTE: If you receive neither a confirmation message nor an error message, you may see an error icon at the left side of the Microsoft Internet Explorer status bar. If you double-click the error icon, you receive the error message described above.



CAUSE
This problem may occur when Microsoft Project Central attempts to add the current date and time to the record of the task that you are delegating.



WORKAROUND
To resolve this problem, modify the script that runs the date conversion function associated with retrieving the current date and time.

The TasksPage_Svr.asp script includes a date function that the DelegatePage.asp script uses, as referred to in the error message described in the &quot;Symptoms&quot; section. To modify the TasksPage_Svr.asp script and prevent the error message from occurring, follow these steps:  On the Microsoft Project Central computer, start Microsoft Notepad. (Click Start, point to Programs, point to Accessories, and then click Notepad.) In Microsoft Notepad, click Open on the File menu. In the Open dialog box, click All Files in the Files of type list. In the Look in list, locate and open the TasksPage_Svr.asp file. (This file is located in the Tasks subfolder of the Microsoft Project Central physical folder, which is C:\ProjectCentral\Tasks by default.) On the Edit menu, click Find. In the Find what box, type today.toLocaleString; .</li>  Click Find Next. The text should be found at the end of a line which reads as follows: asp_deleg(const_dbWDELEG_DATE).value = today.toLocaleString; </li> Click Cancel to close the Find dialog box.</li> Select the entire line in which the text was found, and then click Copy on the Edit menu.</li>  At the beginning of the line that you just copied, type //.

NOTE: If you type two slash marks at the beginning of a line, the line changes to a comment that is not run, but is still preserved for future reference.

The edited line should read as follows: //asp_deleg(const_dbWDELEG_DATE).value = today.toLocaleString; </li> Click at the beginning of the line immediately below the line that you just edited, and then press ENTER to insert a new blank line.</li> Click to place the insertion point in the new blank line, and then click Paste on the Edit menu.</li>  Edit the line that you just pasted to read as follows: asp_deleg(const_dbWDELEG_DATE).value = ProjDate2DATE(dTodayPj); </li> On the File menu, click Save.</li> On the File menu, click Exit.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbfix KB274290

-

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

© Microsoft Corporation. All rights reserved.