This project has moved. For the latest updates, please go here.

Exception opening xlsx created in Linux

Apr 23, 2012 at 8:18 AM

We're getting the COM exception below when trying to Open a .xslx created under Linux by a client of ours. The file can be opened by Excel directly (with a warning). I can send you the file by direct mail.

System.Runtime.InteropServices.COMException occurred  HResult=-2147467259  Message=See inner exception for details.  Source=LateBindingApi.Core  ErrorCode=-2147467259  StackTrace:       at LateBindingApi.Core.Invoker.MethodReturn(COMObject comObject, String name, Object[] paramsArray)       at NetOffice.ExcelApi.Workbooks.Open(String filename)       at AuditorAP.OpenTaskFileController.OpenCore(TaskFileXpo taskFile, Boolean readOnly, Nullable`1 version) in C:\Users\Public\Documents\Dev\Unit4\FDS\TFS\trunk\AuditorAP\IOpenTaskFileController.cs:line 440  InnerException: System.Reflection.TargetInvocationException       HResult=-2146232828       Message=Exception has been thrown by the target of an invocation.       Source=mscorlib       StackTrace:            at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)            at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)            at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)            at LateBindingApi.Core.Invoker.MethodReturn(COMObject comObject, String name, Object[] paramsArray)       InnerException: System.Runtime.InteropServices.COMException            HelpLink=C:\Program Files (x86)\Microsoft Office\Office12\1043\XLMAIN11.CHM            HResult=-2146827284            Message=Eigenschap Open van klasse Workbooks kan niet worden opgehaald.            Source=Microsoft Office Excel            ErrorCode=-2146827284            InnerException: 

Coordinator
Apr 23, 2012 at 5:07 PM

its possible to the file at hand?
the error message seems like its not a netoffice issue, excel cant open the file. you are sure the file is utf-8 encoded?
just waiting for the file...

Sebastian

Apr 23, 2012 at 6:48 PM
See atttached file.

2012/4/23 SebastianDotnet <notifications@codeplex.com>

From: SebastianDotnet

its possible to the file at hand?
the error message seems like its not a netoffice issue, excel cant open the file. you are sure the file is utf-8 encoded?
just waiting for the file...

Sebastian

Read the full discussion online.

To add a post to this discussion, reply to this email (netoffice@discussions.codeplex.com)

To start a new discussion for this project, email netoffice@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com


Coordinator
Apr 23, 2012 at 7:12 PM
Edited Apr 23, 2012 at 7:28 PM

your e-mail is redirected from codeplex to the NetOffice discussion board. any attachments get lost here. send the file to public.sebastian@web.de
same question again: you can open the file at hand? ooops, now i see you told me you can do that with a warning.
Sebastian