Script run-time errors or grid controls empty in Microsoft Project Central (262251)
The information in this article applies to:
- Microsoft Project 2000
- Microsoft 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:
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.
- 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.
- 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- Select the Default Web Site folder.
- On the Action menu, point to New, and then click Virtual Directory.
The New Virtual Directory Wizard is started. - In the Alias to be used to access virtual directory box, type MSADC, and then click Next.
- In the Enter the physical path of the directory containing the content you want to publish" 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. - Click Next.
- 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.
- Select the MSADC virtual directory that you just created. On the Action menu, click Properties.
- 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
Internet Information Server Version 5- Select the Default Web Site folder.
- On the Action menu, point to New, and then click Virtual Directory.
The Virtual Directory Creation Wizard is started.
- Click Next.
- In the Virtual Directory Alias box, type MSADC, and then click Next.
- 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. - Click Next.
- Under Access Permissions, click to select the Read, Run scripts (such as ASP), and Execute check boxes, and then click Next.
- Click Finish.
- Select the MSADC virtual directory that you just created. On the Action menu, click Properties.
- 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
- Select the MSADC virtual directory. On the Action menu, click Properties.
- 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:- Click Browse.
- In the Browse for Folder dialog box, select the MSADC directory, and then click OK.
- In the MSADC Properties dialog box, click OK.
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:
- In Internet Services Manager, expand the server that contains the Microsoft Project Central Web site.
- Expand the Default Web Site folder.
- 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 "Workaround for Cause 1" section.
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
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:
- 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
- To remove your current version of MDAC and reinstall the latest version, follow the steps in the "Removing the Current Version of MDAC" section of the article.
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:
- Close all programs that are currently running.
- Insert the Windows 2000 installation CD into the CD-ROM or DVD-ROM drive.
- On the Start menu, click Run.
- In the Open box, type drive letter:\Winnt32.exe where drive letter 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. - In the Run dialog box, click OK to start the Windows 2000 Setup Wizard.
- In the Windows 2000 Setup dialog box, click Upgrade to Windows 2000 (Recommended), and then click Next.
- 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.
- Users who access the MSADC physical directory must have at least Read and Execute permissions.
- By default, the account used for anonymous access to the MSADC virtual directory is IUSR_ComputerName (where ComputerName 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:- Start Internet Services Manager.
- Expand the server that contains the Microsoft Project Central Web site.
- Expand the Default Web Site folder.
- Select the MSADC virtual directory. On the Action menu, click Properties.
- Click the Directory Security tab. Under Anonymous Access and Authentication Control, click Edit.
- Under Anonymous Access in the Authentication Methods dialog box, click Edit.
Workaround for Cause 4
Verify the property settings for the MSADC virtual directory. The following key properties are required:
Internet Information Server Version 4Virtual 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 5Virtual 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
Modification Type: | Major | Last Reviewed: | 9/21/2004 |
---|
Keywords: | kbprb KB262251 |
---|
|