Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid Association trying to send e-mail

Status
Not open for further replies.

macleod1021

Programmer
Mar 10, 2006
642
US
Hi,

We have CRM 3.0 installed on one server, SQL installed on another and Exchange Server installed on a third. All server OS's are 2003 fully updated. When someone tries to send an email from CRM Web, the email is not sent and they receive an error that says "Invalid Association the request association is not valid.". I attempted as the administrator and get the same error. I turned debug on and got the following error

Code:
Server was unable to process request. 
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.Web.Services.Protocols.SoapException: Server was unable to process request.

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: 


[SoapException: Server was unable to process request.]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1495
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +217
   Microsoft.Crm.Platform.Proxy.EmailWebService.Send(Guid emailId, Boolean issueSend, String trackingToken) +132
   Microsoft.Crm.Application.SMWrappers.Email.Send(String id, Boolean issueSend, String trackingToken) +93
   Microsoft.Crm.Application.Platform.Email.Send() +83
   Microsoft.Crm.Web.Activities.EmailDetailPage.Send(Object sender, DataEventArgs e) +83
   Microsoft.Crm.Application.Forms.DataEventProcessor.Raise(FormEventId eventId, FormState state, User user, String objectId, Entity entity) +176
   Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId) +89
   Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity) +57
   Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, String formId, String formType) +83
   Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity) +13
   Microsoft.Crm.Web.Activities.EmailDetailPage.ConfigureForm() +262
   Microsoft.Crm.Application.Controls.AppPage.OnPreRender(EventArgs e) +30
   System.Web.UI.Control.PreRenderRecursiveInternal() +62
   System.Web.UI.Page.ProcessRequestMain() +1499

I searched here and the net and found an article that claims it's a result of anti-virus software on the mail server blocking port 25. As a test I removed the antivirus and tested. Got the same error.

I turned on full logging on the SMTP server and I'm not getting any events showing a connection attempt. I can also telnet into port 25 from the CRM server.

Any thoughts????
 
OK...I re-installed one more time using all of the same information and now it works. I have no idea :/
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top