Re: email router by niallporter
niallporter
Tue Jul 26 10:23:37 CDT 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:
> 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\proxy\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\proxy\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\proxy\proxyutil.h</file><line>47</line>]
> Microsoft.Crm.Platform.ComProxy.CRMEmailClass.SendById(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.RaiseDataEvent(FormEventId eventId)
> Microsoft.Crm.Application.Forms.EndUserForm.Execute(Entity entity)
> Microsoft.Crm.Application.Forms.Activities.ActivityForm.Execute(Activity
> activity)
>
> Microsoft.Crm.Application.Forms.Activities.EmailActivityForm.Execute(Email
> email)
> Microsoft.Crm.Web.Activities.EmailDetailPage.ConfigureForm() +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\proxy\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\proxy\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\proxy\proxyutil.h</file><line>47</line>]
> Microsoft.Crm.Platform.ComProxy.CRMEmailClass.SendById(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.RaiseDataEvent(FormEventId eventId)
> Microsoft.Crm.Application.Forms.EndUserForm.Execute(Entity entity)
> Microsoft.Crm.Application.Forms.Activities.ActivityForm.Execute(Activity
> activity)
>
> Microsoft.Crm.Application.Forms.Activities.EmailActivityForm.Execute(Email
> email)
> Microsoft.Crm.Web.Activities.EmailDetailPage.ConfigureForm() +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:
>
> > We finally figured it out......
> >
> > The MSCRMConnector was set to use https - it looks like this was inherited
> > from the webmail application on the Exchange server.
> >
> > Thanks for your input.
> >
> > Ian
> >
> > "Rob Bakkers" <RobBakkers@discussions.microsoft.com> wrote in message
> > news:A0CA1D56-4F8B-4A57-9051-40F1DDF91F6B@microsoft.com...
> > > Ian,
> > >
> > > Check and make sure you have the latest MSXML version installed on the CRM
> > > Router server.
> > >
> > > Also make sure the MSCRMConnector webapplication works on port 80.
> > >
> > > If all those steps don't help, try to reinstall the router.
> > >
> > > --
> > > Rob Bakkers,
> > > Avanade Netherlands
> > >
> > >
> > > "Ian Kelsall" wrote:
> > >
> > > > Thanks for the input Rob,
> > > >
> > > > I checked the IIS config and it is already set to Anonymous access.
> > > >
> > > > Any other suggestions would be appreciated.
> > > >
> > > > Ian
> > > >
> > > >
> > > > "Rob Bakkers" <RobBakkers@discussions.microsoft.com> wrote in message
> > > > news:3D20DF4C-D58F-4508-B43F-F2265E89B9F6@microsoft.com...
> > > > > Ian,
> > > > >
> > > > > Have you changed anything in the IIS configuration for the
> > MSCRMConnector
> > > > > web application? You have to make sure the security is set to
> > anonymous
> > > > > access. Users don't need to login or be authenticated by the email
> > > > webservice.
> > > > >
> > > > > I hope this helps,
> > > > > Rob Bakkers,
> > > > > Avanade Netherlands
> > > > >
> > > > >
> > > > > "Ian Kelsall" wrote:
> > > > >
> > > > > > 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\proxyutil.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
> > > > > >
> > > > > >
> > > > > >
> > > >
> > > >
> > > >
> >
> >
> >