Microsoft KB Archive/946292

= Error message when you send e-mail messages from CRM if the &quot;Anonymous access&quot; option is not selected in the SMTP virtual server: &quot;Invisibility Access Mode&quot; =

Article ID: 946292

Article Last Modified on 12/29/2007

-

APPLIES TO


 * Microsoft Dynamics CRM 4.0

-



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



SYMPTOMS
Every time when you send an e-mail message from CRM application, you receive the following error message:

Invisibility Access Mode

This problem also occurs even though you have set up the registry keys correctly as mentioned in the following Microsoft Knowledge Base article:

939402 How to configure the outgoing e-mail functionality in Microsoft Dynamics CRM 3.0



CAUSE
This problem occurs because the Anonymous access option on the Simple Mail Transfer Protocol (SMTP) virtual server is not selected.

To verify it, follow these steps:
 * 1) Click Start, point to Programs, point to Microsoft Exchange, and then click System Manager.
 * 2) Expand Servers, expand the name of the computer that is running Exchange 2003, expand Protocols, and then expand SMTP.
 * 3) Right-click Default SMTP Virtual Server, and then click Properties.
 * 4) On the Access tab, click Authentication.
 * 5) Verify that if the Anonymous access option is not selected.



RESOLUTION
To resolve this problem, follow these steps:  Log on to the Exchange server by using a user who has domain admin rights.

To do this, follow these steps:  Click Start, point to Programs, point to Microsoft Exchange, and then click System Manager. Expand Servers, expand the name of the computer that is running Exchange 2003, expand Protocols, and then expand SMTP. Right-click Default SMTP Virtual Server, and then click Properties. On the Access tab, click Relay. Clear the Allow all computers which successfully authenticate to relay option.</li> Click Users, add the CRMAdmin account as the Domain\Username user account, provide the Submit permission and the Relay permission.</li></ol> </li> Set the SMTP authenticate registry keys on the CRM server by using the user details from step 1, <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type regedit, and then click OK.</li> Locate the following registry subkey: </li> Create the following registry entries if they do not exist: <ul> Registry entry: SMTPServer

Type: String

Value:

Note  is a placeholder for the computer that is running Exchange 2003.</li> Registry entry: SMTPServerPort

Type: DWORD

Value: 25 (19 in hexadecimal)</li> Registry entry: SMTPAuthenticate

Type: DWORD

Value: 1 </li> Registry entry: SMTPSendUserName

Type: String

Value: (put the domain\username form step 1)

Note This domain user should have sufficient permissions.</li> Registry entry: SMTPSendPassword

Type: String

Value:

To obtain the value  for this registry entry, follow these steps: <ol> Locate the following folder on the Microsoft Dynamics CRM CD: :\Pfiles\MSCRM\Tool

Note  is a placeholder for the hard disk drive in which you put the Microsoft Dynamics CRM CD.</li>  Type the following command at the command prompt, and then press ENTER: Microsoft.Crm.Tools.EncryptPwd.exe <Mypassword> > output.txt

Note <Mypassword> is a placeholder for the actual user password. </li> Copy the contents of the Output.txt file into the SMTPSendPassword registry entry.</li></ol> </li> Registry entry: SMTPUseSSL

Type: DWORD

Value: 0 </li></ul> </li></ol> </li> Click Start, click Run, type iisreset, and then click OK.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, THE RELIABILITY OR THE ACCURACY OF THE INFORMATION THAT IS CONTAINED IN THE DOCUMENTS AND THE RELATED GRAPHICS PUBLISHED ON THIS WEB SITE (THE “MATERIALS”) FOR ANY PURPOSE.

THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON-INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

Keywords: kbexpertisebeginner kbtshoot kbmbsmigrate kbprb kbexpertiseinter KB946292

-

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

© Microsoft Corporation. All rights reserved.