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.

You may encounter a NotAuthorizedException exception when you set up the Commerce Server 2007 Health Monitor service according to the product documentation


View products that this article applies to.

Symptoms

When you set up the Commerce Server 2007 Health Monitor service according to the product documentation, you may encounter the following error:
Source:  Commerce Server Web Services
Type:  Error
Event ID: 4
Description:
An exception occurred in the 'OrdersWebService' Web service.  Exception details follow: 

Microsoft.CommerceServer.NotAuthorizedException: You are not authorized to perform the requested operation.  OperationName='View Baskets', OperationID=5, Scope='Application Scope'.
   at Microsoft.CommerceServer.Internal.AzApplication.ThrowNotAuthorizedException(String opName, Int32 operationId, String scope)
   at Microsoft.CommerceServer.Orders.DataManagement.OrdersAuthorizationStore.AccessCheckSingle(Int32 operationId, String auditMessage)
   at Microsoft.CommerceServer.Orders.DataManagement.ServerOrderSystem.GetBasketSearchableProperties(String languageId)
   at Microsoft.CommerceServer.Orders.WebService.OrdersWebService.GetBasketSearchableProperties(String languageId)

↑ Back to the top


Cause

This issue occurs because the OrdersViewer role definition is not setup with the necessary operational permissions.

↑ Back to the top


Resolution

To resolve the issue, change the OrderViewer role definition. To do this, follow these steps:
  1. Select properties on the OrdersViewer role.
  2. Click the Show Definition button in the properties.
  3. Click the Definition tab and then click the Add button.
  4. Click the Operations tab, select the check box for View Baskets, and then click OK.
  5. Continue to click OK through the dialog boxes to save the role definition.

↑ Back to the top


Keywords: KB955173, kbsurveynew, kbtshoot, kbexpertiseadvanced

↑ Back to the top

Article Info
Article ID : 955173
Revision : 1
Created on : 2/6/2009
Published on : 2/6/2009
Exists online : False
Views : 347