When i’m trying to open/download a document from a document library i get an error with a correlation ID (see below).
I tried to restore the file to another location and on a test farm but the same error i get. Also this is happening from time to time
SPShareByLinkHandler.Initialize : Not a ShareByLink request - missing access token 61dcfa9d-5203-a0fc-a623-a954d546a7cfSPShareByLinkHandler.Initialize : Not a ShareByLink request - missing access token 61dcfa9d-5203-a0fc-a623-a954d546a7cfDownload.OnLoad : This is not a ShareByLink request. 61dcfa9d-5203-a0fc-a623-a954d546a7cfFailed in CobaltStream.LockBytes: ErrorException: Exception of type 'Cobalt.ErrorException' was thrown. --- Error: GuidIndexInvalid --- Error message:  at  at Cobalt.DataElementGraphOnEndpoint.Download()   at Cobalt.DataElementGraphOnEndpoint.OnGetIndexEntry(Key key, IndexEntry& indexEntry, Int32& refCount, Int32& chainRefCount)   at Cobalt.DataElementGraph.FindIndexNode(Key key)   at Cobalt.DataElementGraph.FindIndexNode[TIndexNode](Key key)   at Cobalt.CellGraph.Load(Boolean allowSchemaChange)   at Cobalt.GenericFda.Refresh(Boolean onlyIfFirstTime, Boolean allowSchemaChange)   at Cobalt.GenericFdaHandler.GetStream(ExtendedGuid streamId, Bytes& bytes)   at Cobalt.FdaManager.GetStreamInternal(ExtendedGuid streamId)   at Cobalt.OnDemandBytes.get_TheBytes()   at Cobalt.OnDemandBytes.Read(Range rangeToRead, Byte[] buffer, Int32 offset)   at Cobalt.Bytes.Read(Int64 sourcePosition, Byte[] buffer, Int32 offset, Int32 count)   at Cobalt.Bytes.ReadIfPossible(Int64 sourcePosition, Byte[] buffer, Int32 offset, Int32 count)   at Microsoft.SharePoint.LockBytesFromBytes.ReadAt(Int64 offset, Byte* pv, UInt32 cb, UInt32& pcbRead)   at Microsoft.SharePoint.CobaltStream.ReadAt(Int64 offset, Byte* pv, UInt32 cb, UInt32& pcbRead) 61dcfa9d-5203-a0fc-a623-a954d546a7cfFailed in CobaltStream.LockBytes: ErrorException: Exception of type 'Cobalt.ErrorException' was thrown. --- Error: InvalidSerialization --- Error message:  at  at Cobalt.DataElementGraphOnEndpoint.Download()   at Cobalt.DataElementGraphOnEndpoint.OnGetIndexEntry(Key key, IndexEntry& indexEntry, Int32& refCount, Int32& chainRefCount)   at Cobalt.DataElementGraph.FindIndexNode(Key key)   at Cobalt.DataElementGraph.FindIndexNode[TIndexNode](Key key)   at Cobalt.CellGraph.Load(Boolean allowSchemaChange)   at Cobalt.GenericFda.Refresh(Boolean onlyIfFirstTime, Boolean allowSchemaChange)   at Cobalt.GenericFdaHandler.GetStream(ExtendedGuid streamId, Bytes& bytes)   at Cobalt.FdaManager.GetStreamInternal(ExtendedGuid streamId)   at Cobalt.OnDemandBytes.get_TheBytes()   at Cobalt.OnDemandBytes.Flush()   at Microsoft.SharePoint.CobaltStream.Flush() 61dcfa9d-5203-a0fc-a623-a954d546a7cfApplication error when access /_layouts/15/download.aspx, Error=Attempt to reuse a disposed CobaltStream.  at Microsoft.SharePoint.CobaltStream.EnsureStreamConfigured(Boolean isWrite)   at Microsoft.SharePoint.CobaltStream.GetStream()   at Microsoft.SharePoint.SPFile.GetFileStream(SPWeb web, String fileUrl, Boolean honorLevel, SPFileLevel level, OpenBinaryFlags openOptions, String etagNotMatch, SPFileStreamManager spMgr, SPFileRightsManagementSettings rightsManagementSettings, Boolean throwOnVirusFound, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage, String& etagNew, String& contentTagNew, SPFileInfo& fileprops)   at Microsoft.SharePoint.SPFile.GetFileStream(OpenBinaryFlags openOptions, String etagNotMatch, String& etagNew, String& contentTagNew)   at Microsoft.SharePoint.SPFile.OpenBinaryStream(SPOpenBinaryOptions openOptions, String etagNotMatch, String& etagNew)   at Microsoft.SharePoint.SPFile.OpenBinaryStream(SPOpenBinaryOptions openOptions)   at Microsoft.SharePoint.ApplicationPages.Download.WriteFileInternal(String sourceUrl, SPFile file)   at Microsoft.SharePoint.ApplicationPages.Download.OnLoad(EventArgs e)   at System.Web.UI.Control.LoadRecursive()   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 61dcfa9d-5203-a0fc-a623-a954d546a7cfSystem.InvalidOperationException: Attempt to reuse a disposed CobaltStream.   at Microsoft.SharePoint.CobaltStream.EnsureStreamConfigured(Boolean isWrite)   at Microsoft.SharePoint.CobaltStream.GetStream()   at Microsoft.SharePoint.SPFile.GetFileStream(SPWeb web, String fileUrl, Boolean honorLevel, SPFileLevel level, OpenBinaryFlags openOptions, String etagNotMatch, SPFileStreamManager spMgr, SPFileRightsManagementSettings rightsManagementSettings, Boolean throwOnVirusFound, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage, String& etagNew, String& contentTagNew, SPFileInfo& fileprops)   at Microsoft.SharePoint.SPFile.GetFileStream(OpenBinaryFlags openOptions, String etagNotMatch, String& etagNew, String& contentTagNew)  at Microsoft.SharePoint.SPFile.OpenBinaryStream(SPOpenBinaryOptions openOptions, String etagNotMatch, String& etagNew)   at Microsoft.SharePoint.SPFile.OpenBinaryStream(SPOpenBinaryOptions openOptions)   at Microsoft.SharePoint.ApplicationPages.Download.WriteFileInternal(String sourceUrl, SPFile file)   at Microsoft.SharePoint.ApplicationPages.Download.OnLoad(EventArgs e)   at System.Web.UI.Control.LoadRecursive()   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 61dcfa9d-5203-a0fc-a623-a954d546a7cf
I’m trying to open or download. I tried with both domain account and farm account.
Also i restore the file on a test farm which doesn’t have office web apps.
Sounds like you are trying to open the document in a browser?
What account are you trying to use? A domain account or are you using a farm account?
Have you solved this? I’m having the same problem
Thanks!