使用Web服务时发生异常 [英] Exception while using web service

查看:101
本文介绍了使用Web服务时发生异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在创建添加了托管dll的Web服务,实习生使用非托管静态库.当我从客户端进行呼叫直到托管dll流顺利执行之后,此后,当流转到非托管函数时,将执行以下执行,

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

推荐答案

做一个快速的Google似乎是不可能的.但是:

http://social.msdn.microsoft.com /Forums/zh-CN/asmxandxml/thread/504cdc70-16f1-4c39-a0c0-1d47b2a64f7b/ [
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/[^]


这篇关于使用Web服务时发生异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆