Microsoft KB Archive/321357

= You receive a &quot;VB Script&quot; or &quot;Cannot Create Business Objects&quot; error message when you view a Microsoft Project Web Access page that contains grids =

Article ID: 321357

Article Last Modified on 2/1/2007

-

APPLIES TO


 * Microsoft Project Server 2002
 * Microsoft Office 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 &quot;Loading Data&quot; message, and the status bar in Microsoft Internet Explorer displays &quot;Error on Page.&quot; 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:

Error: Internet Server Error: Object/module not found

Code: 0

URL: http:// .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.  Start Internet Services Manager, or open the Microsoft Management Console (MMC) that contains the IIS snap-in. Expand * , where   is the name of the server that contains the Microsoft Project Web Access Web site, and then expand Default Web Site. 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.</li> Re-create the MSADC virtual directory. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Click Default Web Site.</li> On the Action menu, point to New, and then click Virtual Directory.

The Virtual Directory Creation Wizard starts.</li> Click Next.</li> In the Virtual Directory Alias box, type MSADC, and then click Next.</li> 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.</li> Click Next.</li> 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.</li> Click Finish.</li> Right-click the MSADC virtual directory that you just created, and then click Properties.</li> In the MSADC Properties dialog box, verify that you have the following settings:  Virtual Directory tab</li> Local Path:

\Program Files\Common Files\System\MSADC

</li> Read check box is selected</li> Starting point: \MSADC</li> <li>Execute Permissions: Scripts and Executables</li> <li>Directory Security tab (Under Anonymous access and authentication control, click Edit.)</li> <li>Anonymous Access check box is not selected</li> <li>Basic Access check box is not selected</li> <li>Integrated Windows Authentication is not selected</li></ul> </li> <li>Click OK.</li> <li>With the MSADC virtual directory selected, in the right pane, click the msadcs.dll file.</li> <li>Right-click the file, and then click Properties.</li> <li>Click the Directory Security tab.</li> <li>Click the Anonymous access and authentication control Edit button.</li> <li>Click to select the Integrated Windows Authentication check box.</li> <li>Click OK two times.</li></ol> </li> <li>Right-click the MSADC virtual directory that you just created, and then click Properties.</li> <li>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: <ol style="list-style-type: lower-alpha;"> <li>Click Browse.</li> <li>In the Browse for Folder dialog box, locate and select the MSADC folder, and then click OK.</li> <li>In the MSADC Properties dialog box, click OK.</li></ol> </li></ol>

Keywords: kberrmsg kbprb KB321357

-

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

© Microsoft Corporation. All rights reserved.