Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am creating web service where I have added managed dll, which interns uses unmanaged static library. When I make a call from client till managed dll flow goes well, after that, when flow goes to unmanaged function, following execption occurs,

An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in WebDev.WebHost40.dll

Additional information: Exception has been thrown by the target of an invocation.


Can you please suggest how to get rid of this problem.

Thnaks in advance
Posted
Comments
db7uk 18-Jun-12 4:16am    
Is the unmanaged dll serializable? Are you using WCF?
[no name] 18-Jun-12 4:36am    
No, it is not serializable and I am using ASP.Net webservice.

1 solution

doing a quick google it seems that it is not possible. however:

http://social.msdn.microsoft.com/Forums/en-US/asmxandxml/thread/504cdc70-16f1-4c39-a0c0-1d47b2a64f7b/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900