Can't debug simple C# Web Service

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default Can't debug simple C# Web Service

    First, a confession. I am developing with an old version of VS .NET:

    VS .NET 2002 (7.0.9955).

    I am trying to start a *very* simple Web Service in debug mode. I'm getting
    this message:

    "Error while trying to run project: Unable to start debugging on the web
    server. You do not have permissions to debug the server.

    Verify that you are a member of the 'Debugger Users' group on the server.
    Would you like to disable future attempts to debug ASP.NET pages for this
    project?"

    The server is the localhost (Windows XP Service Pack 2).

    I'm signed on as a local user (rather than a domain user name) and my user
    name is in the Debugger Users group.

    Under the project properties the Debuggers settings are:

    Enable ASP Debugging: False
    Enable ASP.NET Debugging: True
    Enable Unmanaged Debugging: False
    Enable SQL Debugging: False

    Any ideas?

    Craig


    Craig Guest

  2. Similar Questions and Discussions

    1. Simple(?) web service
      Hello: I have written a simple web service which just is NOT deploying to client. The web service is an sp, and ws returns a data set. On...
    2. Simple Web Service Failing
      Hey All, I haven't really touched Web Services on CF since I first played with them when 6.0 came out. I am trying to generate a very BASIC...
    3. Best Way to store simple data with web service?
      Hi all, I'm starting up on a web service project and I think I've got the basics down. However, is there a simple way to store a small amount of...
    4. Debug Web Service on WindowsXP Pro with User Right
      Hi there I am having trouble using Visual Studio.NET 2002 on WindowsXP When I created a WebService as "http://localhost/WevService1/" and start...
    5. Debug/Check validation of Web-Service
      Hello, I use Web-Service. If there is a tinny problem in the web-service (even a single character not in place), I get the error : "service...
  3. #2

    Default Re: Can't debug simple C# Web Service

    You also need web.config to allow debugging:

    <system.web>
    <compilation debug="true" />
    </system.web>


    -Brock
    DevelopMentor
    [url]http://staff.develop.com/ballen[/url]


    > First, a confession. I am developing with an old version of VS .NET:
    >
    > VS .NET 2002 (7.0.9955).
    >
    > I am trying to start a *very* simple Web Service in debug mode. I'm
    > getting this message:
    >
    > "Error while trying to run project: Unable to start debugging on the
    > web server. You do not have permissions to debug the server.
    >
    > Verify that you are a member of the 'Debugger Users' group on the
    > server. Would you like to disable future attempts to debug ASP.NET
    > pages for this project?"
    >
    > The server is the localhost (Windows XP Service Pack 2).
    >
    > I'm signed on as a local user (rather than a domain user name) and my
    > user name is in the Debugger Users group.
    >
    > Under the project properties the Debuggers settings are:
    >
    > Enable ASP Debugging: False
    > Enable ASP.NET Debugging: True
    > Enable Unmanaged Debugging: False
    > Enable SQL Debugging: False
    > Any ideas?
    >
    > Craig
    >


    Brock Allen Guest

  4. #3

    Default Re: Can't debug simple C# Web Service

    Yeah, already had:

    <system.web>
    <compilation defaultLanguage="c#" debug="true">
    </system.web>

    Any other suggestions?

    Craig

    "Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message
    news:900739632543532893984128@msnews.microsoft.com ...
    > You also need web.config to allow debugging:
    >
    > <system.web>
    > <compilation debug="true" />
    > </system.web>
    >
    >
    > -Brock
    > DevelopMentor
    > [url]http://staff.develop.com/ballen[/url]
    >
    >
    >
    > > First, a confession. I am developing with an old version of VS .NET:
    > >
    > > VS .NET 2002 (7.0.9955).
    > >
    > > I am trying to start a *very* simple Web Service in debug mode. I'm
    > > getting this message:
    > >
    > > "Error while trying to run project: Unable to start debugging on the
    > > web server. You do not have permissions to debug the server.
    > >
    > > Verify that you are a member of the 'Debugger Users' group on the
    > > server. Would you like to disable future attempts to debug ASP.NET
    > > pages for this project?"
    > >
    > > The server is the localhost (Windows XP Service Pack 2).
    > >
    > > I'm signed on as a local user (rather than a domain user name) and my
    > > user name is in the Debugger Users group.
    > >
    > > Under the project properties the Debuggers settings are:
    > >
    > > Enable ASP Debugging: False
    > > Enable ASP.NET Debugging: True
    > > Enable Unmanaged Debugging: False
    > > Enable SQL Debugging: False
    > > Any ideas?
    > >
    > > Craig
    > >
    >
    >
    >

    Craig Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139