Microsoft KB Archive/945270

= Error &quot;The logged-on user does not have the appropriate security permissions to view these records or perform the specific action. For more information, contact your system administrator.&quot; when sending e-mail in Microsoft CRM 3.0 =

Article ID: 945270

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft CRM Customer Service, when used with:
 * Microsoft Dynamics CRM 3.0

-



Source: Microsoft Support



RAPID PUBLISHING
RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.



Action
Microsoft Dynamics CRM is configured to use the local SMTP service for outgoing email. You send an email.



Result
The following error occurs:

Insufficient Permissions

The logged-on user does not have the appropriate security permissions to view these records or perform the specific action. For more information, contact your system administrator.

If Dev Errors is enabled, you receive the following error:

Microsoft CRM Unhandled Error Details:

Server Error in '/' Application.

Server was unable to process request.

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.Services.Protocols.SoapException: Server was unable to process request.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SoapException: Server was unable to process request.] System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1496 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218 Microsoft.Crm.Platform.Proxy.EmailWebService.Send(Guid emailId, Boolean issueSend, String trackingToken) +132 Microsoft.Crm.Application.SMWrappers.Email.Send(String id, Boolean issueSend, String trackingToken) +93 Microsoft.Crm.Application.Platform.Email.Send +83 Microsoft.Crm.Web.Activities.EmailDetailPage.Send(Object sender, DataEventArgs e) +83 Microsoft.Crm.Application.Forms.DataEventProcessor.Raise(FormEventId eventId, FormState state, User user, String objectId, Entity entity) +176 Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId) +89 Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) +57 Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, String formId, String formType) +83 Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity) +13 Microsoft.Crm.Web.Activities.EmailDetailPage.ConfigureForm +262 Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) +30 System.Web.UI.Control.PreRenderRecursiveInternal +62 System.Web.UI.Page.ProcessRequestMain +1499

Error Description:

The user does not hold the necessary privileges.

Error Details:

Not available

Error Number:

0x80040220

Source File:

Not available

Line Number:

Not available

Request URL:

http://crmservername/activities/email/edit.aspx



Cause
The CRMAppPool identity does not have access to the IIS Metabase.



Resolution
1. On the Microsoft CRM server click Start, click All Programs, click Administrative Tools, and then click Internet Information Services (IIS) Manager.

2. Expand the server name, and then expand Application Pools.

3. Right-click CRMAppPool, and then click Properties.

4. Click the Identity tab to determine which account is set as the CRMAppPool identity.

5. Use the Adadd.vbs script from KB 816789 to grant the account Read access to the IIS Metabase.

6. Click Start, click Run, type |iisreset, and then click OK.

7. If this account is also used to start the Microsoft CRM Workflow Service, you must restart the Microsoft CRM Workflow Service for the changes to take affect.



MoreInformation
When you install Microsoft Dynamics CRM 3.0, the CRM install will grant the specified security account access to the IIS Metabase. If you change the CRMAppPool identity later, you must manually grant the account access to the IIS Metabase. Only the BUILTIN\Administrators group has access to the IIS Metabase by default.



DISCLAIMER
MICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.

Keywords: kbnomt kbrapidpub kbmbsemail kbmbsmigrate KB945270

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.