- email router
- Posted by Ian Kelsall on April 30th, 2005
I am really struggling to get this email router to work....
When we try to send an email from CRM, we get "Unexpected error" - when we
look in the app Log on the CRM server we see:
MSCRM Platform Error Report:
Error:
description An unexpected error occurred.</description>
details An error occurred attempting to dispatch the email : HTTP status:
403
file D:\crm\Build\3297\src\platform\include\proxy\proxy util.h
I have checkjed the URL on the CRM server and that looks OK - to test this I
purposely put in the wrong URL and the error changed from the HTTP:403 to
"Host Not Found"
Does anything else need to be installed fopr this to work ?
Are there any account/permissions issues to consider?
Thanks
Ian
- Posted by VK on July 21st, 2005
Hi,
I have the same problem and so far no resolution.
When i try to send an e-mail i get thie error after enabling the DevErrors
in the web.config file:
Microsoft CRM Platform Error Report:
Error Description:
An unexpected error occurred.
Error Details:
An error occurred attempting to dispatch the email : Could not connect to host
Error Number:
0x80040216
Source File:
D:\CRM\Core\src\platform\include\proxy\proxyutil.h
Line Number:
47
Date: 07-21-2005
Time: 10:01:30 AM
Type: Platform Error (2)
Server: crm.local
Query String:
/Activities/Email/edit.aspx
Microsoft CRM Unhandled Error Details:
<description>An unexpected error occurred.</description><details>An error
occurred attempting to dispatch the email : Could not connect to
host</details><file>D:\CRM\Core\src\platform\include\pro xy\proxyutil.h</file><line>47</line>
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.Runtime.InteropServices.COMException:
<description>An unexpected error occurred.</description><details>An error
occurred attempting to dispatch the email : Could not connect to
host</details><file>D:\CRM\Core\src\platform\include\pro xy\proxyutil.h</file><line>47</line>
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:
[COMException (0x80040216): <description>An unexpected error
occurred.</description><details>An error occurred attempting to dispatch the
email : Could not connect to
host</details><file>D:\CRM\Core\src\platform\include\pro xy\proxyutil.h</file><line>47</line>]
Microsoft.Crm.Platform.ComProxy.CRMEmailClass.Send ById(CUserAuth& Caller,
String EmailId) +0
Microsoft.Crm.Application.Platform.Email.SendById( String id)
Microsoft.Crm.Web.Activities.EmailDetailPage.Send( Object sender,
DataEventArgs e) +149
Microsoft.Crm.Application.Forms.DataEventProcessor .Raise(FormEventId
eventId, FormState state, User user, String objectId, String& data, Entity
entity)
Microsoft.Crm.Application.Forms.AppForm.RaiseDataE vent(FormEventId eventId)
Microsoft.Crm.Application.Forms.EndUserForm.Execut e(Entity entity)
Microsoft.Crm.Application.Forms.Activities.Activit yForm.Execute(Activity
activity)
Microsoft.Crm.Application.Forms.Activities.EmailAc tivityForm.Execute(Email
email)
Microsoft.Crm.Web.Activities.EmailDetailPage.Confi gureForm() +361
Microsoft.Crm.Application.Controls.AppPage.OnLoad( EventArgs e)
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
Microsoft CRM Unhandled Error Details:
<description>An unexpected error occurred.</description><details>An error
occurred attempting to dispatch the email : Could not connect to
host</details><file>D:\CRM\Core\src\platform\include\pro xy\proxyutil.h</file><line>47</line>
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.Runtime.InteropServices.COMException:
<description>An unexpected error occurred.</description><details>An error
occurred attempting to dispatch the email : Could not connect to
host</details><file>D:\CRM\Core\src\platform\include\pro xy\proxyutil.h</file><line>47</line>
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:
[COMException (0x80040216): <description>An unexpected error
occurred.</description><details>An error occurred attempting to dispatch the
email : Could not connect to
host</details><file>D:\CRM\Core\src\platform\include\pro xy\proxyutil.h</file><line>47</line>]
Microsoft.Crm.Platform.ComProxy.CRMEmailClass.Send ById(CUserAuth& Caller,
String EmailId) +0
Microsoft.Crm.Application.Platform.Email.SendById( String id)
Microsoft.Crm.Web.Activities.EmailDetailPage.Send( Object sender,
DataEventArgs e) +149
Microsoft.Crm.Application.Forms.DataEventProcessor .Raise(FormEventId
eventId, FormState state, User user, String objectId, String& data, Entity
entity)
Microsoft.Crm.Application.Forms.AppForm.RaiseDataE vent(FormEventId eventId)
Microsoft.Crm.Application.Forms.EndUserForm.Execut e(Entity entity)
Microsoft.Crm.Application.Forms.Activities.Activit yForm.Execute(Activity
activity)
Microsoft.Crm.Application.Forms.Activities.EmailAc tivityForm.Execute(Email
email)
Microsoft.Crm.Web.Activities.EmailDetailPage.Confi gureForm() +361
Microsoft.Crm.Application.Controls.AppPage.OnLoad( EventArgs e)
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750
This D:\CRM\ folder does not exist on my server at all...
Thanks for any help.
"Ian Kelsall" wrote:
- Posted by niallporter@yahoo.co.uk on July 26th, 2005
I get the same problem as you, VK. I tried disabling the requirement
for SSL on the MSCRMConnector virtual directory in IIS on the mail
server but no joy. Have you or anyone else got any further with this?
TIA,
Niall
VK wrote:
- Posted by niallporter@yahoo.co.uk on July 26th, 2005
Additional info: make sure that SSL is not forced on in whatever IIS
Site (normally Default Web Site).
Also, when you disable the "Require secure channel (SSL)" checkbox,
make sure and disable the "Require 128-bit encryption" box first. I
just disabled the first checkbox on both that directory and the default
site, restarted IIS and tried it and still got the "this page must be
viewed over a secure connection" blah blah blah. When I went back in,
checked the first box, cleared the 128-bit box then cleared the first
one again it worked. Again do this on both the virtual directory and
the default site. Seems to have sorted the issue for us, hopefully it
will help others as well.
Niall
- Posted by Sean Donnelly on October 6th, 2005
can you ping the exchange server to confirm there is a connection between the
2? I had my NICs teamed and I had to modify the settings on the teaming to
get a connection established to the exchange box, which is on a different
subnet from my CRM server.
"niallporter@yahoo.co.uk" wrote: