1
Vote

Exception occurred. Invalid program.

description

The following exception occurred when sending an email after installing appinsights (which uses intellitrace). The dll I use is build for x86 processors. The application pool is set to accept 32-bit applications.



Exception: System.InvalidProgramException

Message: Common Language Runtime detected an invalid program.

StackTrace: at MailChimp.Types.InputModule.buildQueryString(Input x)
at MailChimp.Types.ApiImpl.getResponse(WebMethod webMethod, String methodName, Opt1 outFmt, Opt1 p, ApiBase x)
at MailChimp.Types.ApiImpl.callServer(WebMethod webMethod, String methodName, Opt1 outFmt, Opt1 p, ApiBase x)
at MailChimp.Types.ApiBase.CallServer(WebMethod webMethod, String methodName, Opt1 outFmt, Opt1 p)
at MailChimp.MandrillApiModule.callServerRaw(MandrillApi x, String name, Opt1 p)
at MailChimp.MandrillApiModule.callServer[T](MandrillApi x, String name, Opt
1 p)
at MailChimp.MandrillApiModule.Messages.send(MandrillApi x, Message message, Opt1 async)
at MailChimp.MandrillApi.Send(Message message, Opt
1 async)
at Logis.Support.Mail.MailChimpSmptClient.Send()
at Logis.Service.Core.Utils.Mail.SendEmail(String sendto, String subject, String body) in C:\Builds\301\Logis\MyLogifit Webservice\Sources\Service\Logis.Service.Core\Utils\Mail.vb:line 29
at myLogiFit.REST.Areas.Anonymous.Controllers.AccountController._Closure$__1._Lambda$__1() in C:\Builds\301\Logis\MyLogifit Webservice\Sources\Service\myLogiFit.REST\Areas\Anonymous\Controllers\AccountController.vb:line 122
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

comments