Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

CRM Router Don't Send Large Attachments Into Queue

$
0
0

Hi All


I get the following error in Event viewer when someone trys to send a larger attachment. I am using CRM 2015 On-prem and the max limit is set to 32MB.

The file incoming is 19mb so it should come in no problem. I have changed the web.config settings below:

The only changes I have done.

- Set Maximum File size to 32,768 KB [Under Settings>System Settings> Email > Set file size limit for attachments].

- Below values in CRM Web.config.

<httpRuntime executionTimeout="1200" maxRequestLength="32768"

 <httpRuntime maxRequestLength="32768" />

- Execute IISReset and restart all the CRM Services.

Error message below:

#9628 - An error occurred while delivering the email message with subject "JMC" in mailbox myemailaddress@email.co.uk for delivery to myserver/MYORGANISATION. System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at myserver/.../Organization.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---

Server stack trace:
at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request)
at Microsoft.Crm.Tools.Email.Providers.CrmServiceClient.<>c__DisplayClass1.<Execute>b__0(IOrganizationService service)
at Microsoft.Crm.Tools.Email.Providers.CrmServiceClient.Execute(OrganizationRequest request)
at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.DeliverMessageInternal(EmailMessage emailMessage)
at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.DeliverMessageInternal(EmailMessage emailMessage)
at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.DeliverMessage(EmailMessage emailMessage)
at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.Run()

Any ideas? This only affects certain emails with larger file attachments, i sent an 11MB file and it came through fine.


Viewing all articles
Browse latest Browse all 79901

Trending Articles