Click here to Skip to main content
Rate this: bad
good
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 at 18-Jun-12 4:16am
   
Is the unmanaged dll serializable? Are you using WCF?
Pranit Kothari at 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

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/[^]
  Permalink  

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

  Print Answers RSS
0 Kornfeld Eliyahu Peter 265
1 Sergey Alexandrovich Kryukov 202
2 George Jonsson 185
3 King Fisher 185
4 CPallini 155
0 OriginalGriff 6,223
1 DamithSL 4,724
2 Maciej Los 4,196
3 Kornfeld Eliyahu Peter 3,894
4 Sergey Alexandrovich Kryukov 3,496


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 18 Jun 2012
Copyright © CodeProject, 1999-2014
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