RE: error while trying to run project: Unable to start debugging on th



Try making a backup of your web.config and then deleting the current version
and create a new web.config using the project add new item menu.

Almost always, when I have had this problem, it has been an accidental
typographical error in the web.config file.
--
Dale Preston
MCAD C#
MCSE, MCDBA


"mohan" wrote:

> hey guys,
>
> If anybody could help me on this error it would be great. I have been
> racking my brains off to solve this for more than a day.
>
> I have an ASP.NET application that was running till now on the wwwroot
> directory smoothly. I don't know for some reason It started acting
> wierd in the morning. Each time i try to debug using Debug\Start It
> gives me this error.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Error while trying to run project: Unable to start debugging on the web
> server. Server side-error occured on sending debug HTTP request.
>
> Make sure the server is operating correctly. Verify there are no syntax
> errors in web.config by doing a Debug.Start Without Debugging. You may
> also want to refer to the ASP.NET and ATL Server debugging topic in the
> online documentation.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> I did a google search and found out a various set of solutions. Nothing
> worked. Let me tell what all I did.
>
> First checked running the application without debugging it gave me
> "Server Application Unavailable " error.
>
> I checked the web.config file, the syntax of the file was intact.
>
> I checked my application virtual directory properties in IIS and found
> that Application name was there.
>
> I checked the mapping of the .aspx file extensions they were mapped to
> the right dll and had all the Verbs mentioned including DEBUG.
>
> I checked with the directory security tab in IIS properties and the
> Authentication methods had Integrated Windows authentication enabled.
>
> After checking all these I even made the ASPNET account with power user
> privilages and gave write permission to the wwwroot dir. and even added
> the IUSR_MAchine and IWAM_Machine accounts to the wwwroot.
>
> I tried even reseting IIS and registered the asp.net and reinstalled
> and remapped using regiis_aspnet.exe -i still of no use.
>
> And the worst part is It works with other sample ASP.NET applications
> that I created and not the production application.
>
> Could anybody throw some light on this topic. It would be of great
> help.
>
> Thanks in advance.
>
> Mohan
>
>
.



Relevant Pages

  • Re: QUERY: debugging ASP VBScript
    ... > the web application running and whenever I want to debug I follow these ... >> on the client and the server. ... In order to debug ASP pages, ... you should enable debugging manually on the server ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: QUERY: debugging ASP VBScript
    ... effect to the debugging. ... >> dllhost.exe and click on attach. ... >> the web application running and whenever I want to debug I follow these ... >>> on the client and the server. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: QUERY: debugging ASP VBScript
    ... at a breakpoint. ... > the web application running and whenever I want to debug I follow these ... >> on the client and the server. ... you should enable debugging manually on the server ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Co-worker can debug on server but I cant
    ... Debugging on the server is not the standard modus operandi. ... Remote debugging has been a bear since the ASP days, ... moving to local development, if possible. ... pages while you debug will fire off the debugger. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Need help on debugging the code in .NET Web application.
    ... > I'm getting the following error while trying to debug the application. ... There are a couple of reasons why debugging fails: ... The IIS mappings are incorrect (very common when IIS installed after ... where Windows directory is normally either Windows or WINNT. ...
    (microsoft.public.dotnet.academic)

Loading