Run-time errors occur when you access Business Desk

When you access Commerce Server Business Desk, one of the following errors appears:

  • "A Run-time Error has occurred."
  • "Do you wish to Debug?"

Solution

Make sure that the root folder for Business Desk is configured to allow Web sharing. By default, Commerce Server allows Web sharing on these folders. Use the following procedure to allow Web sharing on a Business Desk folder.

To allow Web sharing on a Business Desk folder

  1. In Windows Explorer, navigate to the folder that contains your Business Desk application. By default this folder is located in the folder C:\Inetpub\wwwroot.
  2. Right-click the folder name (by default, the Blank Solution Site included with Commerce Server names this folder blankbizdesk), and then click Properties.
  3. In the Properties dialog box, select the Web Sharing tab.
  4. On the Web Sharing tab, click Share this folder.
  5. In the Aliases box, select blankbizdesk, and then click Edit Properties.
  6. In the Edit Alias dialog box, in the Access permissions box, select the permissions for this alias as follows:
    Permission Effect
    Read Allows users to read files on this site. Make sure this is selected.
    Write Allows users to write files to this site.
    Script source access Allows users to access script source code.
    Directory browsing Allows users to browse the contents of this folder.
  7. In the Application permissions box, select the application permissions as follows:as follows:
    Permission Effect
    None Prevents users from running application files in this folder.
    Scripts Allows users to run scripts, but not applications, in this folder.
    Execute (includes scripts) Allows users to run scripts and applications in this folder.
  8. Click OK. In the Properties dialog box, review your list of sharing aliases, and then click OK again.

Copyright © 2005 Microsoft Corporation.
All rights reserved.