We have been using sharepoint to attach documents for quite some time with no issue. However recently (the last 2 weeks) we have been having a repetitive error when trying to view or add an attachment.
The error we get is “Unable to obtain authentication cookie”
The only way we can workaround the issue is for users to come out of Epicor and go back in but this is happening frequently.
The details of the error are shown below
Application Error
Exception caught in: Epicor.ServiceModel
Error Detail
Message: Unable to obtain authentication cookie.
Program: Epicor.ServiceModel.dll
Method: ShouldRethrowNonRetryableException
Client Stack Trace
at Epicor.ServiceModel.Channels.ImplBase1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets) at Ice.Proxy.BO.AttachmentImpl.SpDownloadFile(Int32 xFileRefNum, Dictionary
2& metadata)
at Ice.Lib.Attachments.BOSpTransfer.DownloadFile()
at Ice.Lib.Framework.AttachmentHandler.GetSharePointDocument(AttachmentOptions options)
at Ice.Lib.Framework.AttachmentHandler.LaunchAttachment(Object sender, String fileName, Boolean isPDM, AttachmentOptions options, DocAssocType type, Boolean showInDocStar)
at Ice.Lib.Framework.Attachments.AttachmentPanel.launchAttachment(DocAssocType type, Boolean showInDocStar)
at Ice.Lib.Framework.Attachments.AttachmentPanel.OnClickView()
at Ice.Lib.Framework.Attachments.AttachmentPanel.btnView_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at Infragistics.Win.Misc.UltraButtonBase.OnClick(EventArgs e)
at Ice.Lib.Framework.EpiButton.OnClick(EventArgs e)
at Infragistics.Win.Misc.UltraButton.OnMouseUp(MouseEventArgs e)
at Ice.Lib.Framework.EpiButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Any suggestions would be really appreciated.
Thank you