PRJ2000: Error When You Delegate Task in Microsoft Project Central (274290)



The information in this article applies to:

  • Microsoft Project 2000

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 "Symptoms" section. To modify the TasksPage_Svr.asp script and prevent the error message from occurring, follow these steps:
  1. On the Microsoft Project Central computer, start Microsoft Notepad. (Click Start, point to Programs, point to Accessories, and then click Notepad.)
  2. In Microsoft Notepad, click Open on the File menu.
  3. In the Open dialog box, click All Files in the Files of type list.
  4. 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.)
  5. On the Edit menu, click Find.
  6. In the Find what box, type today.toLocaleString();.
  7. 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();
  8. Click Cancel to close the Find dialog box.
  9. Select the entire line in which the text was found, and then click Copy on the Edit menu.
  10. 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();
    					
  11. 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.
  12. Click to place the insertion point in the new blank line, and then click Paste on the Edit menu.
  13. Edit the line that you just pasted to read as follows:
    asp_deleg(const_dbWDELEG_DATE).value = ProjDate2DATE(dTodayPj);
    					
  14. On the File menu, click Save.
  15. On the File menu, click Exit.

STATUS

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

Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbbug kbfix KB274290