Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you finish the installation of Business Portal and then start Business Portal: "Server Error in '/' Application. Access denied to 'Microsoft Dynamics'. Failed to start monitoring file changes"


Symptoms

When you finish the installation of Business Portal in Microsoft Dynamics GP or in Microsoft Dynamics SL and then start Business Portal, you receive the following error message in the various Web parts that are displayed:

Server Error in '/' Application. Access denied to 'Microsoft Dynamics'. Failed to start monitoring file changes. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Access denied to 'Microsoft Dynamics'. Failed to start monitoring file changes.

↑ Back to the top


Cause

Microsoft ASP.NET requires the following permissions for the ASP.NET process account and for the Network Service account. These permissions are required on the root folder of the Web site and on every folder in the virtual directory:
  • Read
  • Execute
  • List
ASP.NET requires these permissions to access the files and to monitor changes to the files.

↑ Back to the top


Resolution

To resolve this issue, use one of the following methods.

Method 1

  1. Grant the required permissions to the ASP.NET process account. To do this, follow these steps:
    1. In Windows Explorer, locate the installation folder for the application. Or, locate the folder for the virtual directory. The following is the default location of the Business Portal virtual directory:
      C:\Program Files\Microsoft Dynamics\Business Portal
    2. Right-click the folder, and then click Properties.
    3. On the Security tab, click Add.
    4. In the Enter the object names to select field, type the following, and then click OK:
      ComputerName\ASPNET
      Note Replace the ComputerName placeholder with the name of the computer that is running Business Portal.
    5. In the Permissions area, enable the following options in the Allow list, and then click OK:
      • Read & Execute
      • List Folder Contents
      • Read
    6. Click Save to close the window, and then restart Internet Information Services (IIS).
  2. Grant the required permissions for the Network Service account. To do this, follow these steps:
    1. In Windows Explorer, locate the application folder for the Web site. Or, locate the folder for the virtual directory. The following is the default location of the Business Portal virtual directory:
      C:\Program Files\Microsoft Dynamics\Business Portal
    2. Right-click the folder, and then click Properties.
    3. On the Security tab, click Add.
    4. In the Enter the object names to select field, type Network Service.

      Note This user account is a local user account.
    5. In the Permissions area, enable the following options in the Allow list, and then click OK:
      • Read & Execute
      • List Folder Contents
      • Read
    6. Click Save to close the window, and then restart IIS.

Method 2

Make sure that the folder names in the path of the Web site contain less than nine characters.

Notes
  • To determine the folder names in the path, follow these steps:
    1. In IIS Manager, right-click the Web site in which Business Portal is installed, and then click Properties.
    2. Click the Home Directory tab, and then note the folder names of the path in the Local Path box.
  • If you rename a folder so that the folder name contains less than nine characters, you have to make the same change in IIS for the Web site. After you make the change, stop and then start IIS.

↑ Back to the top


More Information

For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

317955 "Failed to start monitoring directory changes" error message when you browse to an ASP.NET page

316721 "Failed to Start Monitoring Directory Changes" error message when you browse to ASP.NET page

↑ Back to the top


Keywords: kbprb, kbmbsmigrate, kbmbspartner, kbexpertiseadvanced, kbexpertiseinter, kbgreatplainsbp, kb, kbtshoot, kbfreshness2007, kbmbsgp10,, kbnosurvey, kbsolomonbp

↑ Back to the top

Article Info
Article ID : 924027
Revision : 1
Created on : 3/25/2017
Published on : 1/7/2015
Exists online : False
Views : 77