views:

212

answers:

1

Hi there,

can anyone help?

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.

OK Help

A: 

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 http://stackoverflow.com/questions/939897/return-membershipuser-using-wcf-service

VoodooChild
Actually i am using Windows 7, if i do an F5 it works fine... its when i try and step into my wcf server (hosted in IIS) from my class libraru where my tests are
mark smith