Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when converting docx to pdf #60

Open
thaiminhlien opened this issue Mar 26, 2020 · 0 comments
Open

Crash when converting docx to pdf #60

thaiminhlien opened this issue Mar 26, 2020 · 0 comments

Comments

@thaiminhlien
Copy link

Unfortunately, I get this error when using your tool in server side asp.net mvc.
I opened 2 browser tab and try to convert docx to pdf in the same time.
Does it support to run on this platform?

System.Runtime.InteropServices.InvalidComObjectException: COM object that has been separated from its underlying RCW cannot be used.
at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
at Microsoft.Office.Interop.Word.ApplicationClass.Quit(Object& SaveChanges, Object& OriginalFormat, Object& RouteDocument)
at OfficeToPDF.WordConverter.CloseWordApplication(Application word) in D:\OfficeToPDF-master\OfficeToPDF-master\OfficeToPDF\WordConverter.cs:line 575
at OfficeToPDF.WordConverter.Convert(String inputFile, String outputFile, Hashtable options) in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant