views:

96

answers:

1

I have a .net Web Service. All the web methods require to be [SoapDocumentMethod(OneWay = true)]". But with this setting the web service process gets aborted abruptly.

System Configuration: net 2.0 IIS 5.1

Exception message: "Unable to evaluate expression because the code is optimized or a native frame is on top of the call"

A: 

This error can appear when you have a combination of try catch blocks and redirect statements.

Try commenting out your try catch statements.

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

Shiraz Bhaiji