Click here to Skip to main content
12,244,103 members (47,259 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET WebService
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 17-Jun-12 23:08pm
Comments
db7uk 18-Jun-12 4:16am
   
Is the unmanaged dll serializable? Are you using WCF?
Pranit Kothari 18-Jun-12 4:36am
   
No, it is not serializable and I am using ASP.Net webservice.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 18 Jun 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100