views:

152

answers:

1

I have a VB.NET VS2010 solution with a WinForms project that calls a web site project in the same solution.

I can step into this web method: <WebMethod()> Public Function GetStartUpData() As DataSet

and other web methods, but not the following method. I wonder if it has to do with the fact that that is the only web method that uses a parameter of Nullable type.

The method works, I just can't step into it .If I try, I get the error:

Unable to automatically step into server. unable to determine a stopping location

Is this a bug? Is there a work-around?

<WebMethod()> 
Public Function RetrieveOrdersByFilter( _
   ByVal customerId As Nullable(Of Integer), _
   ByVal fromDate As Nullable(Of Date), _
   ByVal toDate As Nullable(Of Date), _
   ByVal fromStatusCodeId As Nullable(Of Integer), _
   ByVal toStatusCodeId As Nullable(Of Integer))  As DataSet
A: 

Given the nature of your problem, it's difficult to tell exactly what's going on (there are lots of possibilities). Maybe a solution is described in the following links:

Unable to debug in VS2010

unable to step automatically step into the server web service error

vs2k5: Symbol not found error with web service

Upgrading a 1.1 webservice to a 3.5 webservice

Leniel Macaferi