Hi,
I'm getting "
Unable to start debugging on the web server. The underlying connection was closed: An unexpected error occurred on a receive." from Visual Studio 2005 when i try to run new web application/service projects. After some debugging techniques i came to know that its because of deployment issues in IIS.
Following things i have tried.
1. In Virtual directory property
1.1 ASP.Net version is 2.0.50727
1.2 Application Name as "TestService"
1.3 Windows and Anonymous authentication are enabled ( I tried with either one )
2. Tried with ipaddress instead of localhost in the browser
3. In the Web.config debug=true
4. Added ASPNET user to my project folders inside "C:\SYSROOT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" and assigned full control
5. 1) Go to Internet Information Services 2) Right mouse click on your project directory 3) Go to the ASP.NET tab 4) Click the Edit Configuration button 5) Select the Application Tab 6) Check the 'Enable Debugging' checkbox - Done
6. Internet Options->Security->Trusted Sites->--- Add the following:http://localhost http://127.0.0.1 - done
My IIS logs shows that
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2007-06-11 03:43:14
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2007-06-11 03:43:14 W3SVC1 127.0.0.1 DEBUG /test/Default.aspx - 80 - 127.0.0.1 - 401 2 2148074254
2007-06-11 03:43:14 W3SVC1 127.0.0.1 DEBUG /test/Default.aspx - 80 - 127.0.0.1 - 401 1 0
2007-06-11 03:43:17 W3SVC1 127.0.0.1 DEBUG /test/Default.aspx - 80 COMPANY\VAASSU 127.0.0.1 - 500 0 0
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2007-06-11 03:52:01
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2007-06-11 03:52:01 W3SVC1 127.0.0.1 DEBUG /TestService/Service.asmx - 80 - 127.0.0.1 - 401 2 2148074254
2007-06-11 03:52:01 W3SVC1 127.0.0.1 DEBUG /TestService/Service.asmx - 80 - 127.0.0.1 - 401 1 0
2007-06-11 03:52:01 W3SVC1 127.0.0.1 DEBUG /TestService/Service.asmx - 80 COMPANY\VAASSU 127.0.0.1 - 500 0 0
2007-06-11 03:52:24 W3SVC1 127.0.0.1 GET /TestService/Service.asmx - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+InfoPath.2;+.NET+CLR+2.0.50727) 401 2 2148074254
2007-06-11 03:52:24 W3SVC1 127.0.0.1 GET /TestService/Service.asmx - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+InfoPath.2;+.NET+CLR+2.0.50727) 401 1 0
2007-06-11 03:52:24 W3SVC1 127.0.0.1 GET /TestService/Service.asmx - 80 COMPANY\VAASSU 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+InfoPath.2;+.NET+CLR+2.0.50727) 500 0 0
2007-06-11 03:52:50 W3SVC1 127.0.0.1 GET /TestService/Service.asmx - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322;+InfoPath.2;+.NET+CLR+2.0.50727) 500 0 0
If I trying to browse .asmx file from IIS admin, getting "Server Application Unavailable" Error.
Can anyone help me out regarding this?
Rgs
Vasu