Symptoms

When you use Business Portal in Microsoft Dynamics SL or in Microsoft Dynamics GP, you receive the following error message in Web parts:

CurrentPrincipal is not authenticated

Cause

This problem occurs when anonymous access is enabled for either the Business Portal Web site or the BusinessPortal virtual directory.

Resolution

To resolve this problem, follow these steps:

  1. In Microsoft Internet Information Services (IIS) Manager, right-click the Business Portal Web site. Then, click Properties.

  2. On the Directory Security tab, click Edit in the Authentication and Access Control section.

  3. Click to clear the Enable Anonymous Access check box if it is selected.

  4. Click Apply, and then click OK.Note If you are prompted to roll the changes down to all child nodes, click Select All, and then click OK.

  5. Expand the Business Portal Web site, right-click the BusinessPortal virtual directory, and then click Properties.

  6. On the Directory Security tab, click Edit in the Authentication and Access Control section.

  7. Click to clear the Enable Anonymous Access check box if it is selected.

  8. Click Apply, and then click OK.Note If you are prompted to roll the changes down to all child nodes, click Select All, and then click OK.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.