Hi all,

I have installed the CRM E-mail Router on our Exchange
2000 server for our CRM server ver 1.0. But when i tried
to send a Mail from CRM web client it displays me error
report telling that "An error has occurred. For more
information, contact your system administrator. "

When I check the Event Log of CRM Server, it shows the
error as "HTTP status: 403" with Event ID 2 see below
Event Log:

Event Type: Error
Event Source: Microsoft CRM
Event Category: None
Event ID: 2
Date: 1/24/2004
Time: 4:55:13 PM
User: N/A
Computer: CRM-SRV
Description:
MSCRM Platform Error Report:
-----------------------------------------------------------
---------------------------------------------
Error: <description>An unexpected error
occurred.</description><details>An error occurred
attempting to dispatch the email : HTTP status:
403</details><file>D:\mscrm\Build\3017
\src\platform\include\proxy\proxyutil.h</file><line>47</lin
e>

Error Message: An unexpected error occurred.

Error Details: An error occurred attempting to dispatch
the email : HTTP status: 403

Source File: D:\mscrm\Build\3017
\src\platform\include\proxy\proxyutil.h

Line Number: 47

Stack Trace Info: at System.Web.UI.Page.HandleError
(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext
context)
at System.Web.CallHandlerExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep
(IExecutionStep step, Boolean& completedSynchronously)


Any Idea?

Thanks,
Moha

Re: CRM E-mail problem by Alfred

Alfred
Tue Jan 27 05:56:03 CST 2004

Hi Moha,

do you have access to OWA?

Please follow the steps below:
You can create a new website on the Exchange Server to house the Microsoft
CRM Exchange Connector.

Note - If IIS Lockdown is installed you will need to restore the default
settings by launching IIS Lockdown and restoring this.

Create a New Website.

1. Right Click on the machine name in IIS and choose New Website.

2. Choose Next.

3. Provide a Description (This is what will be seen in IIS) I will call this
CRM Exchange.

4. Choose Next.

5. Enter the IP Address, this can be specified as all unassigned or we can
specify the same IP address that the default website is bound to(ipconfig
from a command prompt will return this IP for you.)

6. Specify a different port than what the Default site is running under. I
will use port 81 in my example. (netstat -a will show all open ports if ran
from a command prompt).

7. Specify a host header. This will correlate to a DNS entry that we will
enter in future steps.

In this example, I will use crmex as the host header.

8. Choose Next.

9. You are now going to create a directory to house the CRM Exchange Website
files. This directory can be located anywhere on the machine. Typically it
is located in the following directory \Inetpub\wwwroot\ It is located in
this directory for manageability reasons. For this example I will create a
directory called CRM Exchange located in the following: \Inetpub\wwwroot\CRM
Exchange\ this is done through Windows Explorer.

10. Back on the Web Site Creation Wizard; Choose Browse and navigate to the

CRM Exchange directory created in the previous step.

11. The Allow Anonymous Access to this website can remain checked. (Youdo
not have any files that will be loaded in this directory that can be
exploited by scripts directly) The allow anonymous access can be unchecked
as well. This check box can be removed as well. Security preference, so it
is not required.

12. Choose Next.

13. In the next window, leave the defaults(Read, Run Scripts).

14. Choose Next.

15. Choose Finish.

The CRM Exchange Website should now be created. You can now create an Alias
Record in DNS so it recognizes when we type http://crmex in a web browser it
knows what site to access.

16. Launch the DNS console; Start | Programs | Administrative Tools | DNS.

17. Expand the machine | Forward Lookup Zones | domain.

18. Right Click on the Domain and choose New Alias.

19. Provide the Alias Name. This will be the same as we specified in step #7
from above. In our example: crmex.

20. Provide the Fully Qualified Name for target host - For this we will
browse out and choose the Host file for our Exchange Server.

21. Choose OK.

22. You should now see a record in DNS that shows crmex as a type of Alias
and Data of your Exchange Server(cwebex1.cweb.local in my example).

23. We may need to stop and start DNS. Not Required, but typically
recommended for this to propagate to all DNS servers if there are multiple.

We should now be ready to install the CRM Exchange Connector:

24. Setup.exe on the CRM Server Disk #1 in the Exchange Folder.

25. Accept the License Agreement and Choose Next.

26. Add the CRM Server: Machine Name as seen in Network Identification on
the CRM Server. In my example cwebdell.

27. Add the Microsoft CRM Website URL: http://crm or http://cwebdell In this
example a DNS alias(crm) has been created for the CRM website, so either of
the sites listed will resolve.

28. Choose Save and Choose Next.

29. Enter the Login information to start the services: This should be the
user that has Enterprise Admin Rights and Schema Rights. This maybe the same
user that installed CRM if they have these rights or use an Exchange
Administrator. This goes back to the case where the Enterprise Admin and the
Schema Admin has access to the mailbox store as I discussed in the very
first step #1.

30. Choose Next.

31. We will now choose the Web Site we created to house the CRM Exchange
Connector files: CRM Exchange as defined in step #3.

32. Installation directory can reside in the default or any drive if space
is an issue.

33. Choose Next.

34. Choose Install.

The CRM Exchange Connector should now be installed. We now need to confirm
the registry entries.

On the CRM Server:

35. Start | Run | Regedit.

36. HKLM\Software\Microsoft\MSCRM\mailserverurl\

a. This will potentially look like the following:
http://cwebex110.6.6.7:81:ex/MSCRMConnector/ICRMEmailDispatch.SRF

b. You need to edit this to look like the following:

http://crmex:81:/MSCRMConnector/ICRMEmailDispatch.SRF where crmex is the
alias we have defined in both the host header information for IIS on the
Exchange Server and the Alias entry we created for DNS.

37. Once edited we will need to Stop and Restart the CRM Exchange Queue
Service on the Exchange ServeràStartàProgramsàAdministrative ToolsàServices

38. You should now be able to test and send emails

Please let me know, if it works.

Regards

Alfred Göbel
(MS-CRM, Germany)

"Moha" <anonymous@discussions.microsoft.com> wrote in message
news:3a5301c3e282$5a244c60$a601280a@phx.gbl...
> Hi all,
>
> I have installed the CRM E-mail Router on our Exchange
> 2000 server for our CRM server ver 1.0. But when i tried
> to send a Mail from CRM web client it displays me error
> report telling that "An error has occurred. For more
> information, contact your system administrator. "
>
> When I check the Event Log of CRM Server, it shows the
> error as "HTTP status: 403" with Event ID 2 see below
> Event Log:
>
> Event Type: Error
> Event Source: Microsoft CRM
> Event Category: None
> Event ID: 2
> Date: 1/24/2004
> Time: 4:55:13 PM
> User: N/A
> Computer: CRM-SRV
> Description:
> MSCRM Platform Error Report:
> -----------------------------------------------------------
> ---------------------------------------------
> Error: <description>An unexpected error
> occurred.</description><details>An error occurred
> attempting to dispatch the email : HTTP status:
> 403</details><file>D:\mscrm\Build\3017
> \src\platform\include\proxy\proxyutil.h</file><line>47</lin
> e>
>
> Error Message: An unexpected error occurred.
>
> Error Details: An error occurred attempting to dispatch
> the email : HTTP status: 403
>
> Source File: D:\mscrm\Build\3017
> \src\platform\include\proxy\proxyutil.h
>
> Line Number: 47
>
> Stack Trace Info: at System.Web.UI.Page.HandleError
> (Exception e)
> at System.Web.UI.Page.ProcessRequestMain()
> at System.Web.UI.Page.ProcessRequest()
> at System.Web.UI.Page.ProcessRequest(HttpContext
> context)
> at System.Web.CallHandlerExecutionStep.Execute()
> at System.Web.HttpApplication.ExecuteStep
> (IExecutionStep step, Boolean& completedSynchronously)
>
>
> Any Idea?
>
> Thanks,
> Moha



Re: CRM E-mail problem by Moha

Moha
Sat Feb 07 07:43:23 CST 2004

Hi Alfred,

We were in holidays here in Saudi Arabia, so today=20
implemented the your solution.=20
But i am getting same error '8007005Access is Denied'.=20
What i noticed is, the 2 file present in Web site folder=20
MSCRMConnector=20

1- ICrmEmailDispatch.srf
2- ICrmEmailDispatchSDL.srf

When I right click this file in IIS Admin, and then click=20
Browse, I get Page not found with ICrmEmailDispatch.srf=20
and i get XML data with ICrmEmailDispatchSDL.srf.

Any idea?

Thanks for your reply.
Mohammed
>-----Original Message-----
>Hi Moha,
>
>do you have access to OWA?
>
>Please follow the steps below:
>You can create a new website on the Exchange Server to=20
house the Microsoft
>CRM Exchange Connector.
>
>Note - If IIS Lockdown is installed you will need to=20
restore the default
>settings by launching IIS Lockdown and restoring this.
>
>Create a New Website.
>
>1. Right Click on the machine name in IIS and choose New=20
Website.
>
>2. Choose Next.
>
>3. Provide a Description (This is what will be seen in=20
IIS) I will call this
>CRM Exchange.
>
>4. Choose Next.
>
>5. Enter the IP Address, this can be specified as all=20
unassigned or we can
>specify the same IP address that the default website is=20
bound to(ipconfig
>from a command prompt will return this IP for you.)
>
>6. Specify a different port than what the Default site is=20
running under. I
>will use port 81 in my example. (netstat -a will show all=20
open ports if ran
>from a command prompt).
>
>7. Specify a host header. This will correlate to a DNS=20
entry that we will
>enter in future steps.
>
>In this example, I will use crmex as the host header.
>
>8. Choose Next.
>
>9. You are now going to create a directory to house the=20
CRM Exchange Website
>files. This directory can be located anywhere on the=20
machine. Typically it
>is located in the following directory \Inetpub\wwwroot\=20
It is located in
>this directory for manageability reasons. For this=20
example I will create a
>directory called CRM Exchange located in the following:=20
\Inetpub\wwwroot\CRM
>Exchange\ this is done through Windows Explorer.
>
>10. Back on the Web Site Creation Wizard; Choose Browse=20
and navigate to the
>
>CRM Exchange directory created in the previous step.
>
>11. The Allow Anonymous Access to this website can remain=20
checked. (Youdo
>not have any files that will be loaded in this directory=20
that can be
>exploited by scripts directly) The allow anonymous access=20
can be unchecked
>as well. This check box can be removed as well. Security=20
preference, so it
>is not required.
>
>12. Choose Next.
>
>13. In the next window, leave the defaults(Read, Run=20
Scripts).
>
>14. Choose Next.
>
>15. Choose Finish.
>
>The CRM Exchange Website should now be created. You can=20
now create an Alias
>Record in DNS so it recognizes when we type http://crmex=20
in a web browser it
>knows what site to access.
>
>16. Launch the DNS console; Start | Programs |=20
Administrative Tools | DNS.
>
>17. Expand the machine | Forward Lookup Zones | domain.
>
>18. Right Click on the Domain and choose New Alias.
>
>19. Provide the Alias Name. This will be the same as we=20
specified in step #7
>from above. In our example: crmex.
>
>20. Provide the Fully Qualified Name for target host -=20
For this we will
>browse out and choose the Host file for our Exchange=20
Server.
>
>21. Choose OK.
>
>22. You should now see a record in DNS that shows crmex=20
as a type of Alias
>and Data of your Exchange Server(cwebex1.cweb.local in my=20
example).
>
>23. We may need to stop and start DNS. Not Required, but=20
typically
>recommended for this to propagate to all DNS servers if=20
there are multiple.
>
>We should now be ready to install the CRM Exchange=20
Connector:
>
>24. Setup.exe on the CRM Server Disk #1 in the Exchange=20
Folder.
>
>25. Accept the License Agreement and Choose Next.
>
>26. Add the CRM Server: Machine Name as seen in Network=20
Identification on
>the CRM Server. In my example cwebdell.
>
>27. Add the Microsoft CRM Website URL: http://crm or=20
http://cwebdell In this
>example a DNS alias(crm) has been created for the CRM=20
website, so either of
>the sites listed will resolve.
>
>28. Choose Save and Choose Next.
>
>29. Enter the Login information to start the services:=20
This should be the
>user that has Enterprise Admin Rights and Schema Rights.=20
This maybe the same
>user that installed CRM if they have these rights or use=20
an Exchange
>Administrator. This goes back to the case where the=20
Enterprise Admin and the
>Schema Admin has access to the mailbox store as I=20
discussed in the very
>first step #1.
>
>30. Choose Next.
>
>31. We will now choose the Web Site we created to house=20
the CRM Exchange
>Connector files: CRM Exchange as defined in step #3.
>
>32. Installation directory can reside in the default or=20
any drive if space
>is an issue.
>
>33. Choose Next.
>
>34. Choose Install.
>
>The CRM Exchange Connector should now be installed. We=20
now need to confirm
>the registry entries.
>
>On the CRM Server:
>
>35. Start | Run | Regedit.
>
>36. HKLM\Software\Microsoft\MSCRM\mailserverurl\
>
>a. This will potentially look like the following:
>http://cwebex110.6.6.7:81:ex/MSCRMConnector/ICRMEmailDispa
tch.SRF
>
>b. You need to edit this to look like the following:
>
>http://crmex:81:/MSCRMConnector/ICRMEmailDispatch.SRF=20
where crmex is the
>alias we have defined in both the host header information=20
for IIS on the
>Exchange Server and the Alias entry we created for DNS.
>
>37. Once edited we will need to Stop and Restart the CRM=20
Exchange Queue
>Service on the Exchange=20
Server=E0Start=E0Programs=E0Administrative Tools=E0Services
>
>38. You should now be able to test and send emails
>
>Please let me know, if it works.
>
>Regards
>
>Alfred G=F6bel
>(MS-CRM, Germany)
>
>"Moha" <anonymous@discussions.microsoft.com> wrote in=20
message
>news:3a5301c3e282$5a244c60$a601280a@phx.gbl...
>> Hi all,
>>
>> I have installed the CRM E-mail Router on our Exchange
>> 2000 server for our CRM server ver 1.0. But when i tried
>> to send a Mail from CRM web client it displays me error
>> report telling that "An error has occurred. For more
>> information, contact your system administrator. "
>>
>> When I check the Event Log of CRM Server, it shows the
>> error as "HTTP status: 403" with Event ID 2 see below
>> Event Log:
>>
>> Event Type: Error
>> Event Source: Microsoft CRM
>> Event Category: None
>> Event ID: 2
>> Date: 1/24/2004
>> Time: 4:55:13 PM
>> User: N/A
>> Computer: CRM-SRV
>> Description:
>> MSCRM Platform Error Report:
>> --------------------------------------------------------
---
>> ---------------------------------------------
>> Error: <description>An unexpected error
>> occurred.</description><details>An error occurred
>> attempting to dispatch the email : HTTP status:
>> 403</details><file>D:\mscrm\Build\3017
>>=20
\src\platform\include\proxy\proxyutil.h</file><line>47</lin
>> e>
>>
>> Error Message: An unexpected error occurred.
>>
>> Error Details: An error occurred attempting to dispatch
>> the email : HTTP status: 403
>>
>> Source File: D:\mscrm\Build\3017
>> \src\platform\include\proxy\proxyutil.h
>>
>> Line Number: 47
>>
>> Stack Trace Info: at System.Web.UI.Page.HandleError
>> (Exception e)
>> at System.Web.UI.Page.ProcessRequestMain()
>> at System.Web.UI.Page.ProcessRequest()
>> at System.Web.UI.Page.ProcessRequest(HttpContext
>> context)
>> at System.Web.CallHandlerExecutionStep.Execute()
>> at System.Web.HttpApplication.ExecuteStep
>> (IExecutionStep step, Boolean& completedSynchronously)
>>
>>
>> Any Idea?
>>
>> Thanks,
>> Moha
>
>
>.
>