带有“[SoapDocumentMethod(One Way = true)]”的.net Web服务方法导致线程中止

时间:2009-07-29 19:02:29

标签: .net web-services

我有一个.net Web服务。所有Web方法都需要[SoapDocumentMethod(OneWay = true)]“。 但是使用此设置,Web服务进程会突然中止。

系统配置: 净2.0 IIS 5.1

异常消息: “无法评估表达式,因为代码已优化或本机框架位于调用之上”

1 个答案:

答案 0 :(得分:0)

如果您有try catch块和重定向语句的组合,则会出现此错误。

尝试评论你的try catch语句。

http://geekswithblogs.net/vadivelkumar/archive/2006/02/25/70703.aspx

相关问题