Unable to start debugging on the web server - VS 2005 Error

Last post 11-06-2009 2:13 PM by rakesh2kv. 7 replies.

Sort Posts:

  • Unable to start debugging on the web server - VS 2005 Error

    06-05-2007, 4:44 AM
    • Member
      point Member
    • vaassu
    • Member since 06-05-2007, 8:25 AM
    • Posts 1

    Hi, Though it seems very common error, could not able to find any solution.

    Error:

    Whenever i create and run any new or existing web application/service, i'm getting following error message

    Unable to start debugging on the web server. The underlying connection was closed: An unexpected error occurred on a receive.

    as it ate my time, finally i repaired my Visual studio 2005. now i'm getting the error

    Unable to start debugging on the web server. The debug request could not be processed by the server due to invalid syntax.

    Following things may be useful to give solution

    1. My HTTP Keeps-alive property is disabled. I tried with enabled also.

    2. Both windows and anonymous authentication are enabled for my web page

    3. IIS 6 and Windows 2003 server i'm using

    4. My connection timeout is 120 secs. I tried till 2000 seconds.

    5. I'm trying just simple "helloworld" web service. nothing else.

    could anyone helpme out?

  • Re: Unable to start debugging on the web server - VS 2005 Error

    06-15-2007, 3:23 AM

    hi

    Put u r session time out to 20 mts only and try this

    1.Just type in u r internet explorer http://localhost/ if it works the iis is installed  then this is the problem .

    2.or first u need to install IIS then u need to install Visual Studio .NET.

    3.Restart the IIS

     

    think it will work else let me know

    Vissu

     

     

     

    Viswanath

    "Mark as Answer" if it helps.
  • Re: Unable to start debugging on the web server - VS 2005 Error

    06-22-2007, 7:21 AM
    • Member
      351 point Member
    • stelianx
    • Member since 11-07-2006, 12:57 AM
    • Bucharest or Paris
    • Posts 85

    give rights for ASP.NET, IUSR_XXX, IWAM_XXX users to the web app folder

    Yours,
    Popa D. Stelian
    MCP/MCAD/MCSD
    www.simplusoft.net co-founder
    ROMANIA
  • Re: Unable to start debugging on the web server - VS 2005 Error

    07-20-2007, 3:17 AM

    hi is u r problem solved if not reply me so that i can help u ok byee have a nice day

     

     

    Viswanath

    "Mark as Answer" if it helps.
  • Re: Unable to start debugging on the web server - VS 2005 Error

    01-06-2008, 11:27 PM
    • Member
      5 point Member
    • moh1980
    • Member since 01-07-2008, 4:17 AM
    • Posts 5

    hi all

    i diid what you say but the problem still happin the same error msg apper

    when i start debug

    "unable to start debugging on the web server.the underlying conniction was closed:An unexpected error occurred on a  send"

    and this is my web.config 

    1    <?xml version="1.0"?>
    2    <configuration>
    3    	<configSections>
    4    		<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    5    			<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    6    				<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
    7    				<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
    8    					<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
    9    					<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
    10   					<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
    11   				</sectionGroup>
    12   			</sectionGroup>
    13   		</sectionGroup>
    14   	</configSections>
    15   	<system.web>
    16   
    17       <compilation defaultLanguage="VB" debug="true">
    18         
    19         <assemblies>
    20           <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    21         </assemblies>
    22   
    23         
    24   
    25       </compilation>
    26   		
    27       <!--<profile>
    28         <properties>
    29           <add name="FullName" defaultValue=""/>
    30         </properties>
    31       </profile>-->
    32       
    33       <siteMap defaultProvider="foo" enabled="true">
    34         <providers>
    35           <add name="foo" siteMapFile="web.sitemap" type="System.Web.XmlSiteMapProvider" securityTrimmingEnabled="true"/>
    36         </providers>
    37       </siteMap>
    38       
    39       <authentication mode="Forms"/>
    40       <roleManager enabled="true"/>
    41       
    42       <pages styleSheetTheme="Default">
    43         <controls>
    44           <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    45         </controls>
    46       
    47       </pages>
    48   
    49   
    50   
    51   
    52       <httpHandlers>
    53   			<remove verb="*" path="*.asmx"/>
    54   			<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    55   			<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    56   			<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
    57   		</httpHandlers>
    58   		<httpModules>
    59   			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    60   		</httpModules>
    61   	</system.web>
    62   	
    63     <system.webServer>
    64   		<validation validateIntegratedModeConfiguration="false"/>
    65   		<modules>
    66   			<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    67   		</modules>
    68   		<handlers>
    69   			<remove name="WebServiceHandlerFactory-Integrated"/>
    70   			<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    71   			<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    72   			<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    73   		</handlers>
    74   	</system.webServer>
    75   </configuration>
    
     

     

     

  • Re: Unable to start debugging on the web server - VS 2005 Error

    01-29-2009, 2:58 PM
    • Member
      6 point Member
    • m4chine
    • Member since 05-02-2007, 9:28 PM
    • Posts 3

     Run your "Visual Studio 2005 Command Prompt" or navigate to c:\windows\microsoft.net\framework\v2.*\ via a regular command prompt.

     aspnet_regiis -i

     which will reassosiate/reinstall your .NET version in iis.

  • Re: Unable to start debugging on the web server - VS 2005 Error

    11-04-2009, 2:01 AM

    h all.

    i i havethe same problem now.dont know how to rectify it.please help me

  • Re: Unable to start debugging on the web server - VS 2005 Error

    11-06-2009, 2:13 PM
    • Member
      280 point Member
    • rakesh2kv
    • Member since 10-27-2008, 2:41 PM
    • Posts 240

    If ur running a service, is your service runnig....

Page 1 of 1 (8 items)