<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Studio 2008</title><link>http://forums.asp.net/1112.aspx</link><description>General discussions about Visual Studio 2008</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Unable to attach to process and debug web application</title><link>http://forums.asp.net/thread/3287580.aspx</link><pubDate>Sat, 11 Jul 2009 14:45:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3287580</guid><dc:creator>ASPDev200</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3287580.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1112&amp;PostID=3287580</wfw:commentRss><description>&lt;p&gt;Hi Everyone,&lt;/p&gt;&lt;p&gt;Thanks for all the suggestions and valuable links. Finally I was able to debug the website in visual studio 2008. I did so many changes in the trial and error process that I am not sure what fixed the issue. But I will list down some of the changes I made so that others reading this post might have some clue.&lt;/p&gt;&lt;p&gt;The changes I did:&lt;/p&gt;&lt;p&gt;1. Right click on the web project in the solution and click on &amp;quot;Convert to Web Application&amp;quot;. After this change I was able to catch the debug poing set. Not sure why this happened. May be the project was a file system project rather than a web project. I downloaded the solution from web.&lt;/p&gt;&lt;p&gt;2. In the host file in I had commented the line &amp;quot;:: 1&amp;quot; and made an entry as &amp;quot;127.0.0.1&amp;nbsp;&amp;nbsp;&amp;nbsp; localhost&amp;quot;.&lt;/p&gt;&lt;p&gt;3. In the Web Project properties under the Web section I choose specific port and gave port number as 8600 (just random number). &lt;/p&gt;&lt;p&gt;4. In the Vista firewall I created an exception to allow incomming http request to pass through port 8600.&lt;/p&gt;&lt;p&gt;I made all th above changes after going through several forums, blogs and articles. Hope this will help others going through similar issues.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Sudipta&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Unable to attach to process and debug web application</title><link>http://forums.asp.net/thread/3277778.aspx</link><pubDate>Tue, 07 Jul 2009 00:22:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3277778</guid><dc:creator>Mikhail Arkhipov (MSFT)</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3277778.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1112&amp;PostID=3277778</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;This thread can help &lt;a href="http://forums.asp.net/t/1210889.aspx?PageIndex=2"&gt;http://forums.asp.net/t/1210889.aspx?PageIndex=2&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Unable to attach to process and debug web application</title><link>http://forums.asp.net/thread/3275851.aspx</link><pubDate>Mon, 06 Jul 2009 03:46:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275851</guid><dc:creator>imran_ku07</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275851.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1112&amp;PostID=3275851</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;ASPDev200:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Firefox can&amp;#39;t establish a connection to the server at localhost:49934&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;May be Antivirous Software Blok this Port&lt;/p&gt;&lt;p&gt;http://forums.asp.net/p/987980/3266451.aspx&lt;br /&gt;http://forums.asp.net/t/1235447.aspx&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;ASPDev200:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;If I setup the IIS (IIS 7.0) default website to point to this website location with port number 49934 and try to debug then an error message comes up saying &amp;quot;Port 49934 is in use&amp;quot;.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;Try To Change the Port By Selecting The Project Root then Open properties Window then Set Dynamic Port=False and then Set Port Number any e.g, 2999.&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;ASPDev200:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I am using IIS 7.0&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;Is you create a Virtual Directory For You Web Application in&amp;nbsp; IIS 7?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;this state that &lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;ASPDev200:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; http://localhost:&lt;span style="font-size:large;"&gt;&lt;b&gt;49934&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;you are not using IIS 7&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Unable to attach to process and debug web application</title><link>http://forums.asp.net/thread/3274711.aspx</link><pubDate>Sat, 04 Jul 2009 13:50:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274711</guid><dc:creator>ASPDev200</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274711.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1112&amp;PostID=3274711</wfw:commentRss><description>&lt;p&gt;Hi Everyone,&lt;/p&gt;&lt;p&gt;Thanks for all the tips. I am still facing the issue. To test the issue I created a simple website in VS 2008 and tried to debug it. When clicked on the Start Debugging button, a new firefox (default browser) window opened up with the URL like : http://localhost:49934/Test/Default.aspx . But this page throw a page load error with message saying &amp;quot;Firefox can&amp;#39;t establish a connection to the server at localhost:49934.&amp;quot;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If I setup the IIS (IIS 7.0) default website to point to this website location with port number 49934 and try to debug then an error message comes up saying &amp;quot;Port 49934 is in use&amp;quot;.&lt;/p&gt;&lt;p&gt;I am really confused on this one. When I try to find the attach to process I couln&amp;#39;t find any process with like w3wp.exe or aspnet_wp.exe. I am using IIS 7.0&lt;/p&gt;&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;p&gt;Sudipta&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Unable to attach to process and debug web application</title><link>http://forums.asp.net/thread/3274434.aspx</link><pubDate>Sat, 04 Jul 2009 07:58:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274434</guid><dc:creator>imran_ku07</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274434.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1112&amp;PostID=3274434</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;ASPDev200:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I have set up the default website in localhost in IIS (IIS 6.0) to run the website&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;For IIS 6, &lt;b&gt;Attach Process to w3wp.exe&lt;/b&gt;.&lt;/p&gt;&lt;p&gt;For IIS 5, &lt;b&gt;Attach Process to aspnet_wp.exe,&lt;/b&gt;&lt;/p&gt;&lt;p&gt;For VS web server &lt;b&gt;Attach Process to Web Developer.exe&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Unable to attach to process and debug web application</title><link>http://forums.asp.net/thread/3274423.aspx</link><pubDate>Sat, 04 Jul 2009 07:42:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274423</guid><dc:creator>Abdulla.AbdelHaq</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274423.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1112&amp;PostID=3274423</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;ASPDev200:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Hi Abdulla,&lt;/p&gt;
&lt;p&gt;Thanks for the response. I have checked that the settings in the solution is kept as Debug mode. One major issue is that when I click on the Start Debug button on the VS&amp;nbsp;opens a new IE window&amp;nbsp;with URL like &lt;a href="http://localhost:2108/"&gt;http://localhost:2108/&lt;/a&gt;... &amp;nbsp;with an error saying that there is connection issue. &lt;/p&gt;
&lt;p&gt;Where is this port number coming form? How can I run the debugging?&lt;/p&gt;
&lt;p&gt;Appreciate your help.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sudipta&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;Port number comes becuase you create a file system web application, this port number is an autogenerate number.&lt;/p&gt;&lt;p&gt;check if you are opening another instance from the VS 2008 at the same, because the process (asp.net webserver) will be busy with the first instance, you can stop all opened webserver, you can found them on the task bar on your desktop right beside the clock, just do right click and click stop.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Post the complete actual error, this will close us to the find solution.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Unable to attach to process and debug web application</title><link>http://forums.asp.net/thread/3274260.aspx</link><pubDate>Sat, 04 Jul 2009 05:03:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274260</guid><dc:creator>asifchouhan</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274260.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1112&amp;PostID=3274260</wfw:commentRss><description>&lt;p&gt;In your web browser check this http://localhost:&lt;b&gt;2236&amp;nbsp; &lt;/b&gt;this is the Process Id on which your web application is running in IIS attach your process to this Id in the list of &lt;b&gt;Available Processes&amp;nbsp; &lt;/b&gt;and then debug the application&lt;/p&gt;&lt;p&gt;Check this also if you r facing this problem : &lt;a target="_blank" href="http://support.microsoft.com/kb/950244"&gt;http://support.microsoft.com/kb/950244&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Asif&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Unable to attach to process and debug web application</title><link>http://forums.asp.net/thread/3274241.aspx</link><pubDate>Sat, 04 Jul 2009 04:42:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274241</guid><dc:creator>ASPDev200</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274241.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1112&amp;PostID=3274241</wfw:commentRss><description>&lt;p&gt;Hi Abdulla,&lt;/p&gt;
&lt;p&gt;Thanks for the response. I have checked that the settings in the solution is kept as Debug mode. One major issue is that when I click on the Start Debug button on the VS&amp;nbsp;opens a new IE window&amp;nbsp;with URL like &lt;a href="http://localhost:2108/"&gt;http://localhost:2108/&lt;/a&gt;... &amp;nbsp;with an error saying that there is connection issue. &lt;/p&gt;
&lt;p&gt;Where is this port number coming form? How can I run the debugging?&lt;/p&gt;
&lt;p&gt;Appreciate your help.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sudipta&lt;/p&gt;</description></item><item><title>Re: Unable to attach to process and debug web application</title><link>http://forums.asp.net/thread/3273091.aspx</link><pubDate>Fri, 03 Jul 2009 08:49:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273091</guid><dc:creator>Abdulla.AbdelHaq</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273091.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1112&amp;PostID=3273091</wfw:commentRss><description>&lt;p&gt;check if you are running with release mode ..&lt;/p&gt;&lt;p&gt;And check this article too&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a target="_blank" href="http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/01/VS-Debug-Problem-with-IE8.aspx"&gt;http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/01/VS-Debug-Problem-with-IE8.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Unable to attach to process and debug web application</title><link>http://forums.asp.net/thread/3272737.aspx</link><pubDate>Fri, 03 Jul 2009 05:38:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272737</guid><dc:creator>ASPDev200</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272737.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1112&amp;PostID=3272737</wfw:commentRss><description>&lt;p&gt;Hi Gurus,&lt;/p&gt;&lt;p&gt;I am running VS2008 on Vista and developing an web application in VB.Net. I have set up the default website in localhost in IIS (IIS 6.0) to run the website and it is working fine. But when I try to debug the site by selecting attach to process from debug menu and select the browser process (IE8 or Mozilla), nothing happens and the process doesn&amp;#39;t hit the breakpoint. What am I doing wrong?&lt;/p&gt;&lt;p&gt;Thanks in advance for the help.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Sudipta&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>