Unable to automatically step into the server. The remote procedure could not be debugged

20,131

Solution 1

are you using vista by any chance?

anyways, take a look at this post: http://mvolo.com/blogs/serverside/archive/2006/12/28/Fix-problems-with-Visual-Studio-F5-debugging-of-ASP.NET-applications-on-IIS7-Vista.aspx

hope it helps

EDIT: have a look here as well Return MembershipUser using WCF service

Solution 2

dont forget to set compilation debug="true" in your wcf service web.config file.

Share:
20,131
mark smith
Author by

mark smith

Updated on July 09, 2022

Comments

  • mark smith
    mark smith almost 2 years

    I am having a problem stepping into code which is a website hosted on IIS7.

    Basically I have a test class which calls a WCF service like so

    ISecurityService service = new SecurityServiceClient();
    MembershipUser membershipUser = null;
    membershipUser = service.GetMembershipUser("Mark"); // THIS LINE FAILS!!!
    

    I get the following error but I have everything enabled as far as I know, i.e.

    <compilation debug="true" targetFramework="4.0" />
    

    Here is the error msg, I would appreciated any feedback. If I don't try and step into the line above then all works ok.


    Microsoft Visual Studio

    Unable to automatically step into the server. The remote procedure could not be debugged. This usually indicates that debugging has not been enabled on the server. See help for more information.