<?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>Ashley Ross • 27.am &#187; Visual Studio</title>
	<atom:link href="http://27.am/tag/visual-studio/feed" rel="self" type="application/rss+xml" />
	<link>http://27.am</link>
	<description></description>
	<lastBuildDate>Thu, 20 Oct 2011 11:36:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Joy of ASP.NET, Visual Studio and Proxies</title>
		<link>http://27.am/posts/the-joy-of-asp-net-visual-studio-and-proxies</link>
		<comments>http://27.am/posts/the-joy-of-asp-net-visual-studio-and-proxies#comments</comments>
		<pubDate>Wed, 01 Jul 2009 14:11:21 +0000</pubDate>
		<dc:creator>Ashley Ross</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://27.am/?p=11</guid>
		<description><![CDATA[Some time ago, the web project I was working on started refusing to open. Every time I tried to reload the ASP.NET project, Visual Studio (In this case, VS.NET 2003, but it may affect 2005 and 2008) gave a strange &#8230; <a href="http://27.am/posts/the-joy-of-asp-net-visual-studio-and-proxies">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some time ago, the web project I was working on started refusing to open. Every time I tried to reload the ASP.NET project, Visual Studio (In this case, VS.NET 2003, but it may affect 2005 and 2008) gave a strange error message:</p>
<blockquote><p>The Web server reported the following error when attempting to create or open the Web project located at the following URL:<br />
&#8216;http://Localhost:/xyz/ACME.XYZ.Widget&#8217;. &#8216;The connection with the server was reset&#8217;.</p></blockquote>
<p>The project files hadn&#8217;t changed and I hadn&#8217;t made any changes to IIS recently. In my search for a solution, I come across someone else having problems creating ASP.NET projects from Visual Studio on a network that used a proxy, getting the message <i>&#8216;A connection with the server could not be established&#8217;</i> &#8211; this proved to be the key to the answer. In short, Visual Studio needs to support environments where your ASP.NET project is not hosted on your own machine, so it uses the system&#8217;s proxy settings.</p>
<p>In my case, under <b>Control Panel</b> &gt; <b>Internet Options</b> &gt; <b>Connections</b> &gt; <b>LAN Settings&#8230;</b>, I had enabled <b>Use a proxy server for your LAN</b> but had neglected to also tick the <b>Bypass proxy server for local addresses</b> checkbox. When Visual Studio gave the proxy a request for <i>localhost</i>, the proxy responded by closing the connection, and thus Visual Studio came back with the error message. Simple, logical, and entirely frustrating.</p>
]]></content:encoded>
			<wfw:commentRss>http://27.am/posts/the-joy-of-asp-net-visual-studio-and-proxies/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

