You receive a "VB Script" or "Cannot Create Business Objects" error message when you view a Microsoft Project Web Access page that contains grids (321357)



The information in this article applies to:

  • Microsoft Project Server 2002
  • Microsoft Project Web Access
  • Microsoft Office Project Server 2003

This article was previously published under Q321357

SYMPTOMS

When you view a Microsoft Project Web Access page that contains grids, you may experience one or more of the following behaviors:
  • Controls, such as the timesheet grid, continuously display the "Loading Data" message, and the status bar in Microsoft Internet Explorer displays "Error on Page."
  • You receive any of the following script run-time errors:
    Problems with this Web Page might prevent it from being displayed properly or functioning properly. In the future, you can display this message by double-clicking the warning icon displayed in the status bar.

    Line: n
    Error: Internet Server Error: Object/module not found
    Code: 0
    URL: http://ServerName/ProjectServer/TasksPage.asp
    -or-
    VB Script: Microsoft Project Web Access

    An error occurred while trying to access the resources stored on the database. Either there are too many resources, or the Microsoft Project Server may not have the correct DSN configuration. Contact the server administrator.
    -or-
    Cannot Create Business Objects
    Note The data source name (DSN) is the name that programs use to request a connection to an Open Database Connectivity (ODBC) data source.

CAUSE

This behavior may occur if you use the URLScan security tool, version 2.0, in Microsoft Internet Information Services (IIS), and it is not configured correctly. If you are running IIS 6.0, this behavior may also occur if the application pool that hosts the MSADC virtual directory is down.

RESOLUTION

To work around this issue, verify that the MSADC virtual directory exists in the Web site that hosts Microsoft Project Server. Also, verify that the MSADC folder specified in the MSADC Properties dialog box for the virtual directory is a valid local path. To do this, follow these steps.
  1. Start Internet Services Manager, or open the Microsoft Management Console (MMC) that contains the IIS snap-in.
  2. Expand * ServerName, where ServerName is the name of the server that contains the Microsoft Project Web Access Web site, and then expand Default Web Site.
  3. Verify that the MSADC virtual directory is listed under Default Web Site. If the MSADC virtual directory is not listed, proceed to step 4. If the MSADC virtual directory is listed, proceed to step 5.
  4. Re-create the MSADC virtual directory. To do this, follow these steps:
    1. Click Default Web Site.
    2. On the Action menu, point to New, and then click Virtual Directory.

      The Virtual Directory Creation Wizard starts.
    3. Click Next.
    4. In the Virtual Directory Alias box, type MSADC, and then click Next.
    5. In the Directory box, type the complete path to the physical MSADC folder on the computer's hard disk. 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 folder is C:\Program Files\Common Files\System\MSADC.
    6. Click Next.
    7. On the Access Permissions page, click to select the Read, Run scripts (such as ASP) and Execute (such as ISAPI applications or CGI) check boxes, and then click Next.
    8. Click Finish.
    9. Right-click the MSADC virtual directory that you just created, and then click Properties.
    10. 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 check box is 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 check box is not selected
      • Basic Access check box is not selected
      • Integrated Windows Authentication is not selected
    11. Click OK.
    12. With the MSADC virtual directory selected, in the right pane, click the msadcs.dll file.
    13. Right-click the file, and then click Properties.
    14. Click the Directory Security tab.
    15. Click the Anonymous access and authentication control Edit button.
    16. Click to select the Integrated Windows Authentication check box.
    17. Click OK two times.
  5. Right-click the MSADC virtual directory that you just created, and then click Properties.
  6. Click the Virtual Directory tab. Verify that the A folder located on this computer option is selected, and that the Local Path box contains the complete path to the MSADC folder 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:
    1. Click Browse.
    2. In the Browse for Folder dialog box, locate and select the MSADC folder, and then click OK.
    3. In the MSADC Properties dialog box, click OK.

Modification Type:MinorLast Reviewed:8/15/2006
Keywords:kberrmsg kbprb KB321357