Windows error 0x80010114, -2147417836

Detailed Error Information

RPC_E_INVALID_OBJECT[1]

MessageThe requested object does not exist.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode1 (0x001)
NameFACILITY_RPC[2][1]
DescriptionThe source of the error code is an RPC subsystem.[2][1]
Error Code276 (0x0114)

Questions

1vote
1answer

Unable to saveAs .docx file after modifications

I'm building a software to modify docx files using Microsoft.Interop.Word. Users can add text, tables and so on. When trying to SaveAs the document, I get a COM or a Cast error depending on the code I'm trying to use. If I try to close the document before saving, I [...] read more
c#
winforms
ms-word
com
interop
1vote
0answers

The requested object does not exist (0x80010114) when loading Word-document into OleContainer

I created a Word document through automation (Start Word, Open template, Saved it to .doc, Close document, Quit Word). After that I want to open this .doc-file in an TOleContainer: fOleContainer.CreateObjectFromFile(lTempFileName, False);. But a client of ours who uses Word 2010 (several machines, Windows 7 / Windows XP) gets an [...] read more
delphi
com
ms-word
automation
ole
1vote
1answer

Can't open Office document with Interop

Code: ApplicationClass projectApp = new ApplicationClass(); if (projectApp.FileOpen(path, true, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, PjPoolOpen.pjDoNotOpenPool, Missing.Value, Missing.Value, Missing.Value, Missing.Value)) { projects = new List<Project>(projectApp.Projects.Cast<Project>()); foreach (Project project in projects) { MSProjectProject msProject = new MSProjectProject(); msProject.Author = project.Author.ToString(); // ERROR HERE msProject.Name = project.Name; } } [...] read more
c#
office-interop
com-interop
ms-project
0votes
1answer

Create in-memory Excel file and open it in Excel without using COM Interop

I'm currently using COM Interop in .NET to export the contents of a DataTable to Excel. It's a method I've been using for years, but the problem is that COM is sketchy and throws random, intermittent, untraceable exceptions. This hasn't been a huge issue, since it's always just been code [...] read more
c#
excel
vb.net
openxml
com-interop

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0