<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FVN Tech Blog &#187; Visual Studio</title>
	<atom:link href="http://blog.feuvan.net/tag/visual-studio/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.feuvan.net</link>
	<description>Interoperability &#124; Coding, Programming in C#/PHP &#124; Linux, Windows Server Backend &#124;  New Media &#124; SNS &#124; Misc ...</description>
	<lastBuildDate>Fri, 06 Aug 2010 00:31:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Solve the &#8216;Unable to Debug: The Binding Handle Is Invalid&#8217; problem</title>
		<link>http://blog.feuvan.net/2007/05/14/138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html</link>
		<comments>http://blog.feuvan.net/2007/05/14/138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html#comments</comments>
		<pubDate>Mon, 14 May 2007 09:07:56 +0000</pubDate>
		<dc:creator>feuvan</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://blog.feuvan.net/index.php/2007/05/14/solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html</guid>
		<description><![CDATA[If you have disabled service &#8220;Terminal Services&#8221;, you will get the error as title when you try to start debug in Visual Studio 2005. Just enable &#8220;Terminal Services&#8221;, don&#8217;t worry, it won&#8217;t be a security hole. You can uncheck &#8220;enable &#8230; <a href="http://blog.feuvan.net/2007/05/14/138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you have disabled service &#8220;Terminal Services&#8221;, you will get the error as title when you try to start debug in Visual Studio 2005.<br />
Just enable &#8220;Terminal Services&#8221;, don&#8217;t worry, it won&#8217;t be a security hole. You can uncheck &#8220;enable remote desktop&#8221; in &#8220;My computer&#8221; property window.<br />
or you can try the way below:<br />
<code><br />
b.hesse@MSDN forum<br />
I had the same problem, solved it by disabling the "Visual Studio hosting process"<br />
("Project" -> "[ProjectName] Properties..". -> "Debug" -> Disable "Enable the Visual Studio hosting process")</p>
<p>Whats the purpose of this "Visual Studio hosting process" ?<br />
</code><br />
Anyway, this is not recommended.</p>
<p>The reason why VS2005 need the &#8220;Terminal Services&#8221; to debug can be found at the <a href="http://blogs.msdn.com/greggm/archive/2006/01/04/509243.aspx" target="_blank">greggm&#8217;s msdn blog</a>.<br />
For a short description, the debug function relys on an API call: WTSEnumerateProcess in Wtsapi32.dll which relies on &#8220;Terminal Services&#8221; as you can guess, to do process listing job.<br />
More eg., if you disabled the service, you can&#8217;t see process owner in Task Manager. And this is sth more described in the blog entry by microsoft guy: &#8220;The Terminal Services service is enabled by default because in addition to the Remote Desktop functionality, it also provides for Remote Assistance, Fast User Switching, process listing, DCOM support, and probably lots of other stuff that I don&#8217;t know about because I don&#8217;t work on the TS team.&#8221;</p>
<p>So just enable and start the service &#8220;Terminal Services&#8221; and get out of the strange error. Start your dummy debugging happily!</p>
<div class="lightsocial_container"><a class="lightsocial_a" href="http://digg.com/submit?url=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html&amp;title=Solve+the+%27Unable+to+Debug%3A+The+Binding+Handle+Is+Invalid%27+problem" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/digg.png" alt="Digg This" title="Digg This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.reddit.com/submit?url=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html&amp;title=Solve+the+%27Unable+to+Debug%3A+The+Binding+Handle+Is+Invalid%27+problem" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/reddit.png" alt="Reddit This" title="Reddit This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html&amp;title=Solve+the+%27Unable+to+Debug%3A+The+Binding+Handle+Is+Invalid%27+problem" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/stumbleupon.png" alt="Stumble Now!" title="Stumble Now!" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://buzz.yahoo.com/buzz?targetUrl=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html&amp;headline=Solve+the+%27Unable+to+Debug%3A+The+Binding+Handle+Is+Invalid%27+problem" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/yahoo_buzz.png" alt="Buzz This" title="Buzz This" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dzone.com/links/add.html?title=Solve+the+%27Unable+to+Debug%3A+The+Binding+Handle+Is+Invalid%27+problem&amp;url=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/dzone.png" alt="Vote on DZone" title="Vote on DZone" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.facebook.com/sharer.php?t=Solve+the+%27Unable+to+Debug%3A+The+Binding+Handle+Is+Invalid%27+problem&amp;u=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/facebook.png" alt="Share on Facebook" title="Share on Facebook" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://delicious.com/save?title=Solve+the+%27Unable+to+Debug%3A+The+Binding+Handle+Is+Invalid%27+problem&amp;url=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/delicious.png" alt="Bookmark this on Delicious" title="Bookmark this on Delicious" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.dotnetkicks.com/kick/?title=Solve+the+%27Unable+to+Debug%3A+The+Binding+Handle+Is+Invalid%27+problem&amp;url=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/dotnetkicks.png" alt="Kick It on DotNetKicks.com" title="Kick It on DotNetKicks.com" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://dotnetshoutout.com/Submit?title=Solve+the+%27Unable+to+Debug%3A+The+Binding+Handle+Is+Invalid%27+problem&amp;url=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/dotnetshoutout.png" alt="Shout it" title="Shout it" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html&amp;title=Solve+the+%27Unable+to+Debug%3A+The+Binding+Handle+Is+Invalid%27+problem&amp;summary=&amp;source=" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/linkedin.png" alt="Share on LinkedIn" title="Share on LinkedIn" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.technorati.com/faves?add=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/technorati.png" alt="Bookmark this on Technorati" title="Bookmark this on Technorati" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://twitter.com/home?status=Reading+http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/twitter.png" alt="Post on Twitter" title="Post on Twitter" /></a>&nbsp;&nbsp;<a class="lightsocial_a" href="http://www.google.com/buzz/post?url=http%3A%2F%2Fblog.feuvan.net%2F2007%2F05%2F14%2F138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html" ><img class="lightsocial_img" src="http://blog.feuvan.net/wp-content/plugins/light-social/google_buzz.png" alt="Google Buzz (aka. Google Reader)" title="Google Buzz (aka. Google Reader)" /></a>&nbsp;&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://blog.feuvan.net/2007/05/14/138-solve-the-unable-to-debug-the-binding-handle-is-invalid-problem.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
