Error during saving E-Mail to Insightly - Error on Outlook for Mac and on Windows - Error message only appeared on Outlook for Mac
Server Error in '/' Application.
Index and length must refer to a location within the string.
Parameter name: length
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.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
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:
[ArgumentOutOfRangeException: Index and length must refer to a location within the string. Parameter name: length] System.String.Substring(Int32 startIndex, Int32 length) +473 Insightly.App.OutlookGadgetWeb.ViewModels.Info.ListViewModelFactory.Initials(EmailInfoViewModel emailInfo) in C:\BuildAgent\work\190cc4d7f821708d\Apps\Insightly.App.OutlookGadget\Insightly.App.OutlookGadgetWeb\ViewModels\Info\ListViewModelFactory.cs:72 Insightly.App.OutlookGadgetWeb.ViewModels.Info.ListViewModelFactory.CreateNonInsightlyViewModel(EmailInfoViewModel emailInfoViewmodel) in C:\BuildAgent\work\190cc4d7f821708d\Apps\Insightly.App.OutlookGadget\Insightly.App.OutlookGadgetWeb\ViewModels\Info\ListViewModelFactory.cs:57 System.Linq.WhereSelectListIterator`2.MoveNext() +111 System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +460 System.Linq.Enumerable.ToList(IEnumerable`1 source) +69 Insightly.App.OutlookGadgetWeb.ViewModels.Shared.LinkDialogViewModelFactory.Create(Email emailModel, String token, EmailLinksMetadata emailLinksMetadata, Boolean compose, Boolean quickSave) in C:\BuildAgent\work\190cc4d7f821708d\Apps\Insightly.App.OutlookGadget\Insightly.App.OutlookGadgetWeb\ViewModels\Shared\LinkDialogViewModelFactory.cs:59 Insightly.App.OutlookGadgetWeb.Controllers.InfoController.SaveAndAddLink(String itemId, Boolean quickSave) in C:\BuildAgent\work\190cc4d7f821708d\Apps\Insightly.App.OutlookGadget\Insightly.App.OutlookGadgetWeb\Controllers\InfoController.cs:115 lambda_method(Closure , ControllerBase , Object[] ) +195 System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +197 System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35 System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39 System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +67 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42 System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +72 System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +385 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42 System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +32 System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +185 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +886 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +1307 System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +65 System.Web.Mvc.Async.AsyncResultWrapper.End(IAsyncResult asyncResult, Object tag) +9 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +39 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +36 System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38 System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +43 System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +65 System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1342 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +2456 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +224 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +131 |
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2558.0
Comments
Hello Joachim,
Are you trying to save Emails to Insightly using the Outlook sidebar? If this is the case let's have you try uninstalling and re-installing the Outlook Sidebar.
To uninstall:
To re-install:
Hope that helps!
Please sign in to leave a comment.