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:
-
In Microsoft Internet Information Services (IIS) Manager, right-click the Business Portal Web site. Then, click Properties.
-
On the Directory Security tab, click Edit in the Authentication and Access Control section.
-
Click to clear the Enable Anonymous Access check box if it is selected.
-
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. -
Expand the Business Portal Web site, right-click the BusinessPortal virtual directory, and then click Properties.
-
On the Directory Security tab, click Edit in the Authentication and Access Control section.
-
Click to clear the Enable Anonymous Access check box if it is selected.
-
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.