Microsoft KB Archive/262251

= Script run-time errors or grid controls empty in Microsoft Project Central =

Article ID: 262251

Article Last Modified on 1/27/2007

-

APPLIES TO


 * Microsoft Project 2000 Standard Edition
 * Microsoft Office Project Web Access

-



This article was previously published under Q262251



SYMPTOMS
In Microsoft Project Central, when you view a Microsoft Project Central Web page, you may experience one or more of the following symptoms:  Controls, such as the timesheet grid, do not contain any headings or project data. Controls, such as the timesheet grid, continuously display &quot;Loading Data,&quot; and the status bar in Microsoft Internet Explorer displays &quot;Error on Page.&quot; You may receive script run-time errors, such as:

A run-time error has occurred.

Do you wish to debug?

Line: 

Error: Internet Server Error.





CAUSE
This behavior may be caused by any of the following conditions:

Cause 1

 * The MSADC directory (virtual or physical) is missing.
 * The MSADC physical directory is not specified correctly in the Properties dialog box for the virtual directory.

Cause 2
Files are missing from the MSADC directory (virtual or physical).

Cause 3

 * The MSADC directory (virtual or physical) has incorrect NTFS file system permissions.
 * The security permissions exclude the account used by Microsoft Project Central for anonymous access.

Cause 4
The MSADC virtual directory has incorrect property settings that prevent Microsoft Project Central from accessing the controls.



WORKAROUND
To work around this behavior, use the appropriate method for your situation.

Workaround for Cause 1
Verify that the MSADC virtual directory exists on the default Web site that hosts Microsoft Project Central. Also, verify that the MSADC physical directory specified in the MSADC Properties dialog box for the virtual directory is a valid local path. To do this, follow these steps:  In Internet Services Manager, expand the server that contains the Microsoft Project Central Web site. Expand the Default Web Site folder.</li> Verify that the MSADC virtual directory is listed under the Default Web Site folder. If the MSADC virtual directory is not listed, go to step 4. If the MSADC virtual directory is listed, go to step 5.</li>  Re-create the MSADC virtual directory. To do this, follow the appropriate steps for your version of Microsoft Internet Information Server (IIS):

Internet Information Server Version 4
<ol style="list-style-type: lower-alpha;"> Select the Default Web Site folder.</li> On the Action menu, point to New, and then click Virtual Directory.

The New Virtual Directory Wizard is started.</li> In the Alias to be used to access virtual directory box, type MSADC, and then click Next.</li> In the Enter the physical path of the directory containing the content you want to publish&quot; box, type the complete path to the physical MSADC directory. Or, click Browse, select the MSADC directory in the Browse for Folder dialog box, and then click OK.

NOTE: The default location of the MSADC directory is C:\Program Files\Common Files\System\MSADC.</li> Click Next.</li> Under What access permissions do you want to set for this Virtual Directory, click to select the Allow Read Access and Allow Execute Access (includes scripts) check boxes, and then click Finish.</li> Select the MSADC virtual directory that you just created. On the Action menu, click Properties.</li> In the MSADC Properties dialog box, verify that you have the following settings:Virtual Directory tab

Local Path: \Program Files\Common Files\System\MSADC

Access Permissions: Read

Starting point: <Default Web Site>\MSADC

Permissions: Execute (including script)

Directory Security tab

(In the Anonymous Access and Authentication Control section, click Edit.)

Anonymous Access: Enabled

Windows NT Challenge/Response: Enabled

</li></ol>

Internet Information Server Version 5
<ol style="list-style-type: lower-alpha;"> Select the Default Web Site folder.</li> On the Action menu, point to New, and then click Virtual Directory.

The Virtual Directory Creation Wizard is started.</li> Click Next.</li> In the Virtual Directory Alias box, type MSADC, and then click Next.</li> In the Web Site Content Directory box, type the complete path to the physical MSADC directory. Or, click Browse, select the MSADC directory in the Browse for Folder dialog box, and then click OK.

NOTE: The default location of the MSADC directory is C:\Program Files\Common Files\System\MSADC.</li> <li>Click Next.</li> <li>Under Access Permissions, click to select the Read, Run scripts (such as ASP), and Execute check boxes, and then click Next.</li> <li>Click Finish.</li> <li>Select the MSADC virtual directory that you just created. On the Action menu, click Properties.</li> <li>In the MSADC Properties dialog box, verify that you have the following settings:Virtual Directory tab

Local Path: \Program Files\Common Files\System\MSADC

Read option selected

Starting point: <Default Web Site>\MSADC

Execute Permissions: Scripts and Executables

Directory Security tab

(In the Anonymous access and authentication control section, click Edit.)

Anonymous Access: Enabled

Integrated Windows Authentication: Enabled

</li></ol> </li> <li>Select the MSADC virtual directory. On the Action menu, click Properties.</li> <li>Click the Virtual Directory tab. Verify that the A directory located on this computer option is selected, and that the Local Path box contains the complete path to the MSADC directory on the local computer. (Note, the default location is C:\Program Files\Common Files\System\MSADC.)

If the correct local path is not specified, change the path to point to the correct directory. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Click Browse.</li> <li>In the Browse for Folder dialog box, select the MSADC directory, and then click OK.</li> <li>In the MSADC Properties dialog box, click OK.</li></ol> </li></ol>

Workaround for Cause 2
Verify that the MSADC virtual directory contains all of the MDAC controls required by Microsoft Project Central. To do this, follow these steps: <ol> <li>In Internet Services Manager, expand the server that contains the Microsoft Project Central Web site.</li> <li>Expand the Default Web Site folder.</li> <li> Click to select the MSADC virtual directory, and verify that at least the following files are listed in the right pane:

NOTE: If no files are listed in the right pane, verify that the MSADC physical directory is correctly specified in the Properties dialog box for the virtual directory. To do this, follow steps 5 and 6 in the &quot;Workaround for Cause 1&quot; section. <pre class="fixed_text">  adcjavas.inc               msadcor.dll adcvbs.inc                msadcs.dll handler.reg               msadds.dll handsafe.reg              msaddsr.dll handunsf.reg              msdaprsr.dll msadce.dll                msdaprst.dll msadcer.dll               msdarem.dll msadcf.dll                msdaremr.dll msadcfr.dll               msdfmap.dll msadco.dll </li></ol>

If any of the files in the preceding list are missing, you need to repair MDAC. To do this, follow the appropriate steps for your operating system.

Microsoft Windows NT 4.0, Microsoft Windows 95, and Microsoft Windows 98
To repair MDAC in Windows NT 4.0, Windows 95, or Windows 98, you must completely remove and then reinstall the MDAC components. To do this, follow these steps: <ol> <li>Download and install the Microsoft Component Checker tool. For additional information about how to download and install the Component Checker, click the following article number to view the article in the Microsoft Knowledge Base:

307255 Component Checker: Diagnose problems and reconfigure MDAC installations

</li> <li>To remove your current version of MDAC and reinstall the latest version, follow the steps in the &quot;Removing the Current Version of MDAC&quot; section of the article.</li></ol>

Microsoft Windows 2000
MDAC is integrated with the Windows 2000 operating system. To repair MDAC in Windows 2000, reinstall the operating system by using the Upgrade to Windows 2000 (Recommended) option. To do this, follow these steps:
 * 1) Close all programs that are currently running.
 * 2) Insert the Windows 2000 installation CD into the CD-ROM or DVD-ROM drive.
 * 3) On the Start menu, click Run.
 * 4) In the Open box, type  :\Winnt32.exe where   is the drive letter of your CD-ROM drive.

NOTE: If you originally installed Windows 2000 from a location other than a compact disc, such as from a network location, click Browse, select the original installation location, and then double-click the Winnt32.exe file.
 * 1) In the Run dialog box, click OK to start the Windows 2000 Setup Wizard.
 * 2) In the Windows 2000 Setup dialog box, click Upgrade to Windows 2000 (Recommended), and then click Next.
 * 3) Follow the instructions in the wizard to upgrade Windows 2000.

The reinstallation of Windows 2000 with the Upgrade to Windows 2000 (Recommended) option corrects all corrupted registry settings and restores missing or damaged system files, including MDAC. All other programs and settings remain intact.

Workaround for Cause 3
If the MSADC physical directory is located on an NTFS partition, have a system administrator verify that the MSADC physical directory has the correct NTFS permissions and that the security permissions do not exclude the account that is used for anonymous access to the MSADC virtual directory. <ol> <li>Users who access the MSADC physical directory must have at least Read and Execute permissions.</li> <li>By default, the account used for anonymous access to the MSADC virtual directory is IUSR_ (where   is the name of your computer and the account is a member of the Guest local group).

To view the account used for anonymous access, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Start Internet Services Manager.</li> <li>Expand the server that contains the Microsoft Project Central Web site.</li> <li>Expand the Default Web Site folder.</li> <li>Select the MSADC virtual directory. On the Action menu, click Properties.</li> <li>Click the Directory Security tab. Under Anonymous Access and Authentication Control, click Edit.</li> <li>Under Anonymous Access in the Authentication Methods dialog box, click Edit.</li></ol> </li></ol>

Workaround for Cause 4
Verify the property settings for the MSADC virtual directory. The following key properties are required:

Internet Information Server Version 4
Virtual Directory tab

Local Path: \Program Files\Common Files\System\MSADC

Access Permissions: Read

Starting point: <Default Web Site>\MSADC

Permissions: Execute (including script)

Directory Security tab

(Under Anonymous Access and Authentication Control, click Edit.)

Anonymous Access: Enabled

Windows NT Challenge/Response: Enabled

Internet Information Server Version 5
Virtual Directory tab

Local Path: \Program Files\Common Files\System\MSADC

Read option selected

Starting point: <Default Web Site>\MSADC

Execute Permissions: Scripts and Executables

Directory Security tab

(Under Anonymous access and authentication control, click Edit.)

Anonymous Access: Enabled

Integrated Windows Authentication: Enabled

<div class="moreinformation_section">

MORE INFORMATION
For additional information about which MSADC files are installed, click the following article number to view the article in the Microsoft Knowledge Base:

238239 List of files installed by MDAC 2.1 SP 2

Additional query words: ActiveX runtime 1735 1736 2665 2666

Keywords: kbprb KB262251

-

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

© Microsoft Corporation. All rights reserved.