Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Return argument has an invalid type

$
0
0

I have an application that uses COM Interop to automate Microsoft Project.  There are a number of folks using the application successfully, but we have one customer who is experiencing a problem that I haven't been able to figure out.  He has Microsoft Office 2010 (32-bit) and Project 2007 (32-bit) installed and anytime our application attempts to communicate with Project, we get the following error:

Exception: Return argument has an invalid type

at

System.Runtime.Remoting.Proxies.RealProxy.ValidateReturnArg(Object arg, Type paramType) at System.Runtime.Remoting.Proxies.RealProxy.PropagateOutParameters(IMessage msg, Object[] outArgs, Object return Value) at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageDate& msgData) at Microsoft.Office.Interop.MSProject.get_Tasks()

Any ideas/help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>