Unable to automatically switch to server. could not determine the stopping place

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

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

and other web methods, but not the next method. I wonder if this is due to the fact that this is the only web method that uses a parameter of type Nullable.

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

Unable to automatically switch to server. it is impossible to determine the stopping place

This is mistake? Is there any work?

 <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 
+7
visual-studio-2010
source share
6 answers

For those who enter here, my solution was by setting the output to "Debug" .. silly I know ...

found this via Leniel links :)

+5
source share

In "Tools" → "Options" → "Debugging"> "Generation" there is an option " Enable Just My Code ", unchecking to solve this problem.

0
source share

For everyone who stumbles here, I also had this problem, but my solution was different from what was posted so far.

My problem was that my application pool for my web service was running .net 4 when my (older) .net 2 application was waiting.

While I was still working, I was not able to debug my web service until I created an application pool for it in IIS that used .net 2.

0
source share

In my case, this stumbled because not all web service dependency assemblies exist in the folder where the web service is running, and a detailed exception can identify the missing

0
source share

I had the same problem and all I had to do was copy the file [your_dll_file_name] .pdb and it was able to connect to this code.

0
source share

I also had the same issue in VS 2013.

I just replaced the target structure from 4.0 to 4.5 in the web.config of the called project, as shown below:

 <compilation debug="true" targetFramework="4.5" /> 
0
source share

All Articles