Results 1 to 10 of 10

Thread: web server debug error

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2002
    Posts
    122

    web server debug error

    I have a project that I am trying to run from a server. When I attempt this, I get an error :

    Error while trying to run project : Unable to start debugging on the web server. Would you like to disable future attempts to debug ASP.NET pages for this project?

    I know this problem has been posted already and I tried the solution that I found there (running an ASP register command) and I am still getting the same result. The weird thing is that I have a different program that someone else wrote on a different computer that runs with absolutely no problems on that same web server. What could the problem be?

  2. #2
    Fanatic Member Patoooey's Avatar
    Join Date
    Aug 2001
    Location
    New Jersey, USA
    Posts
    774

    Re: web server debug error

    Originally posted by JonathanSchmidt
    I have a project that I am trying to run from a server. When I attempt this, I get an error :

    Error while trying to run project : Unable to start debugging on the web server. Would you like to disable future attempts to debug ASP.NET pages for this project?
    Seen it happen if the folder the app is in isn't a web folder(virtual folder I believe they call it)

    In Administrative Tools.....Open "Internet Services Manager". Then find the folder on the left. If it's a regular folder(you'll notice the difference), Right click and select "Properties". In the dialog box, click the "Create" button. Then click ok and try again.

    John

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2002
    Posts
    122
    Unfortunately, thats not the problem. I already promoted it to a regular web app. This is so annoying. I have tried every other solution to this problem that I have found posted on the web, and nothing works. I think my server hates me. I might as well get fired. AAAAHHHHH!!!!!

  4. #4
    Member
    Join Date
    Dec 2000
    Location
    UK
    Posts
    39
    Silly question but have you stopped and started IIS since you set up the Virtual Directory?

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jun 2002
    Posts
    122
    yup

  6. #6
    Junior Member
    Join Date
    Jun 2002
    Location
    Chicago
    Posts
    30
    Are you trying to develop and debug on a different computer than where you webserver is located???

  7. #7
    Junior Member
    Join Date
    Mar 2002
    Posts
    18
    Try this..

    Register the aspnet_isapi.dll using regsvr32

  8. #8
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    Make sure you have debug="true" in your web.config file of the application.

  9. #9
    New Member
    Join Date
    Apr 2003
    Posts
    1
    Dear kprashan

    Thank you very much, your answer help me to solve 1 week problem.

    please check your email.

  10. #10
    Lively Member afterMoon's Avatar
    Join Date
    Oct 2002
    Location
    cochin
    Posts
    117
    hi Jonathan,
    Got the solution?. I'm also getting the same error.

    Error while trying to run project : Unable to start debugging on the web server. Would you like to disable future attempts to debug ASP.NET pages for this project?

    if I press Yes, then the project can run afterwards. but then
    the break points and debugging would not possible.

    any ideas?
    when in doubt, win the trick

Posting Permissions

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



Click Here to Expand Forum to Full Width