Cannot Run Web App in Debug Mode

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • fripper

    Cannot Run Web App in Debug Mode

    I am writing a simple web application using the .Net Framework 1.1 and VB
    ..Net. I have installed IIS on my development machine but when I try to run
    the program in debug mode [F5] I get an "Unable to start debugging on the
    web server" message. I have looked at the help articles that are referenced
    and have checked out the stuff they mention but I still cannot figure out
    why I can't run in debug mode. I suspect that this may have something to do
    with SP2 ... I think I remember running another web app I wrote a year or so
    ago in debug mode ... before I installed SP2. Does anyone have a suggestion
    for what I should look at to solve this problem?

    Thanks very much.



  • Herfried K. Wagner [MVP]

    #2
    Re: Cannot Run Web App in Debug Mode

    "fripper" <young@indiana. edu> schrieb:[color=blue]
    >I am writing a simple web application using the .Net Framework 1.1 and VB
    >.Net. I have installed IIS on my development machine but when I try to run
    >the program in debug mode [F5] I get an "Unable to start debugging on the
    >web server" message. I have looked at the help articles that are
    >referenced and have checked out the stuff they mention but I still cannot
    >figure out why I can't run in debug mode.[/color]

    Maybe these articles help you to find a solution:

    INFO: Common Errors When You Debug ASP.NET Applications in Visual Studio
    ..NET
    <URL:http://support.microso ft.com/?scid=kb;EN-US;306172>

    PRB: Cannot Debug ASP.NET Web Application
    <URL:http://support.microso ft.com/?scid=kb;EN-US;318465>

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    • Cor Ligthert

      #3
      Re: Cannot Run Web App in Debug Mode

      Fripper,

      Mostly is this a security option because the fact that ASPNET is running by
      the ASPNET account which has limited autorisation and you start while
      debugging a browser part.

      One of the things you can do to test is try if you can run the page in your
      browser.

      I hope this helps?

      Cor


      Comment

      • M. Posseth

        #4
        Re: Cannot Run Web App in Debug Mode

        Been there ,,,

        :-)

        you need to install the server components on the server ,,, insert the
        Visual Studio DVD when the menu starts you will see below the normall
        options in text "install server components" ( or something simular )

        You need to install these on the webserver ,, the rights should all be
        handled by the frontpage server extensions ( make sure you are in the
        administrator or author`s list of the web , in frontpage )

        one word of caution !!!!!


        debuging works great , you can step through the code as if it was a normall
        application etc etc however never ever use it on a production machine , as
        it freezes all other requests when you are in break mode


        hth

        M. Posseth

        "fripper" <young@indiana. edu> wrote in message
        news:cu3smi02ro @enews1.newsguy .com...[color=blue]
        > I am writing a simple web application using the .Net Framework 1.1 and VB
        > .Net. I have installed IIS on my development machine but when I try to[/color]
        run[color=blue]
        > the program in debug mode [F5] I get an "Unable to start debugging on the
        > web server" message. I have looked at the help articles that are[/color]
        referenced[color=blue]
        > and have checked out the stuff they mention but I still cannot figure out
        > why I can't run in debug mode. I suspect that this may have something to[/color]
        do[color=blue]
        > with SP2 ... I think I remember running another web app I wrote a year or[/color]
        so[color=blue]
        > ago in debug mode ... before I installed SP2. Does anyone have a[/color]
        suggestion[color=blue]
        > for what I should look at to solve this problem?
        >
        > Thanks very much.
        >
        >
        >[/color]


        Comment

        Working...