Error opening documents in 2011

Error opening documents in 2011

Anonymous
Not applicable
310 Views
0 Replies
Message 1 of 1

Error opening documents in 2011

Anonymous
Not applicable

Hi,

 

Sometimes when opening documents in Inventor 2011 I get this error:

 

[2904] Return argument has an invalid type.
[2904]    at System.Runtime.Remoting.Proxies.RealProxy.ValidateReturnArg(Object arg, Type paramType)
[2904]    at System.Runtime.Remoting.Proxies.RealProxy.PropagateOutParameters(IMessage msg, Object[] outArgs, Object returnValue)
[2904]    at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
[2904]    at Inventor.Documents.Open(String FullDocumentName, Boolean OpenVisible)

 

I tried opening one of these documents myself from Inventor application and it opens successfully. After that Inventor does not throw the above error in api even for other files.

 

Thanks

0 Likes
311 Views
0 Replies
Replies (0)