Big problem in the 7.5.3 system with HF 2 applied

I just ran into an issue with the SalesLogix web client where I was getting an error “No application is associated with the specified file for this operation”.

After spending a lot of time trying to figure out where this was coming from I finally found the answer.  In the new Sage.SalesLogix.BusinessRules.dll there is an OnAfterChange event defined for the Ticket entity’s StatusCode property that looks like this:

public static void OnAfterStatusCodeChanged(ITicket ticket, ExtendedPropertyChangedEventArgs args)

if (SendEmailOnStatusChange(ticket))
string email = string.Empty;
string oldValue = new string('"', 1);
if (ticket.Contact != null)
email = ticket.Contact.Email;
string str3 = string.Format(Resources.EmailMessageSubject, ticket, args.NewValue);
string str4 = FormatEmailBody(ticket);
str3 = str3.Replace(Environment.NewLine, "%0A").Replace(oldValue, "%22").Replace("&", "%26");
str4 = str4.Replace(Environment.NewLine, "%0A").Replace(oldValue, "%22").Replace("&", "%26");
Process.Start(string.Format("mailto:{0}?subject={1}&body={2}", email, str3, str4));
catch (Exception exception)

Calling that Process.Start is what is causing the error since it is relying on a mail client being on the web server.  If one is not there it goes into the catch and presents the error.  Worse, if one was there it would spawn a new email window on the server and sit there.  What is this?

I would strongly recommend disabling that OnAfterChnageEvent.


Kris Halsrud

Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.

Submit a Comment

Your email address will not be published.

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!