<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>ASP.NET</title>
        <link>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/category/27.aspx</link>
        <description>ASP.NET</description>
        <language>en-US</language>
        <copyright>Shawn Weisfeld</copyright>
        <generator>Subtext Version 2.1.2.2</generator>
        <item>
            <title>Austin Code Camp 2009</title>
            <link>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/05/30/austin-code-camp-2009.aspx</link>
            <description>&lt;p&gt;Coming from Florida where I attended every code camp and spoke at every code camp except for one, well until I moved it is nice to be getting into the swing of things out here in Texas. Today I will be giving my ASP.NET Dynamic Data talk at the Austin Code Camp and I cannot wait. I will be repeating the presentation at the Dallas Tech Fest on June 19 if you cannot make it today. &lt;/p&gt;  &lt;p&gt;Austin Code Camp: &lt;a title="http://www.adnug.org/AustinCodeCamp09" href="http://www.adnug.org/AustinCodeCamp09"&gt;http://www.adnug.org/AustinCodeCamp09&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Presentation &lt;a title="Download" href="http://www.developerroundtable.com/Libraries/Misc_Stuff/DynamicData_Demo.sflb.ashx?download=true"&gt;Download&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Dallas Tech Fest: &lt;a title="http://dallastechfest.com/" href="http://dallastechfest.com/"&gt;http://dallastechfest.com/&lt;/a&gt; (while the early bird discount is over, you can still use the discount code DOTNET to get $25 off admission)&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ShawnWeisfeld/aggbug/298.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sweisfeld</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/05/30/austin-code-camp-2009.aspx</guid>
            <pubDate>Sat, 30 May 2009 17:32:19 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/298.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/05/30/austin-code-camp-2009.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/commentRss/298.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/services/trackbacks/298.aspx</trackback:ping>
        </item>
        <item>
            <title>Data GridView Edit columns dialogue doesn’t display all items on load in ASP.NET Dynamic Data Projects</title>
            <link>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/03/09/data-gridview-edit-columns-dialogue-doesn-t-display-all-items.aspx</link>
            <description>&lt;p&gt;NOTE: This is for ASP.NET Dynamic Data ONLY &lt;/p&gt;
&lt;p&gt;Issue opened in Connect &lt;a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=422004"&gt;https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=422004&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When I click on Edit Columns in the GridView smart tag &lt;br /&gt;&lt;img src="http://drowningintechnicaldebt.com/files/folders/759/download.aspx" mce_src="http://drowningintechnicaldebt.com/files/folders/759/download.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;I cannot see all the Available Fields (there is should be a scroll bar here) &lt;br /&gt;&lt;img src="http://drowningintechnicaldebt.com/files/folders/760/download.aspx" mce_src="http://drowningintechnicaldebt.com/files/folders/760/download.aspx" /&gt;&lt;/p&gt;
&lt;p&gt;Workaround:&lt;br /&gt;If you expand an collapse the CommandField option you now get your scroll bar and can now see the DynamicField option. &lt;br /&gt;&lt;img src="http://drowningintechnicaldebt.com/files/folders/761/download.aspx" mce_src="http://drowningintechnicaldebt.com/files/folders/761/download.aspx" /&gt;&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ShawnWeisfeld/aggbug/282.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sweisfeld</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/03/09/data-gridview-edit-columns-dialogue-doesn-t-display-all-items.aspx</guid>
            <pubDate>Tue, 10 Mar 2009 01:08:00 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/282.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/03/09/data-gridview-edit-columns-dialogue-doesn-t-display-all-items.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/commentRss/282.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/services/trackbacks/282.aspx</trackback:ping>
        </item>
        <item>
            <title>What do your error messages reveal?</title>
            <link>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/03/09/what-do-your-error-messages-reveal.aspx</link>
            <description>&lt;p mce_keep="true"&gt;I know that most of you all know this already, but I figured it was worth a blog post since I just saw this from &lt;a href="http://www.autosite.com/"&gt;http://www.autosite.com&lt;/a&gt;. I got this very informative error message back when using their site earlier. . . &lt;/p&gt;
&lt;p mce_keep="true"&gt;Query Of Queries runtime error.&lt;br /&gt;Expected type STRING but encountered type NULL on the left of the LIKE condition  &lt;br /&gt;The error occurred in D:\INETPUB\wwwroot\content\Research\kbb\act_valueReport.cfm: line 74 &lt;br /&gt;Called from D:\INETPUB\WWWROOT\content\Research\kbb\index.cfm: line 21&lt;br /&gt;72 : &lt;br /&gt;73 :  &amp;lt;cfmodule template="mod_kbbtable.cfm" width="#kbbModTableWidth#"&amp;gt;&lt;br /&gt;74 :  &amp;lt;cfquery dbtype="query" name="qEquip"&amp;gt;&lt;br /&gt;75 :  SELECT * FROM valueReport.Equipments WHERE GroupCode LIKE 'M' ORDER BY DisplayOrder&lt;br /&gt;76 :  &amp;lt;/cfquery&amp;gt;&lt;/p&gt;
&lt;p mce_keep="true"&gt;While it is important for us as developers to log this type of information, there is NO reason for us to show it to our customers. Now I know table names, physical paths, and other good stuff. In your asp.net applicaitons make sure you set your customer errors to “On” (&lt;a href="http://msdn.microsoft.com/en-us/library/h0hfz6fc.aspx"&gt;http://msdn.microsoft.com/en-us/library/h0hfz6fc.aspx&lt;/a&gt;). You also want to make sure that you have logging so that you as the developer can triage errors. &lt;/p&gt;
&lt;p mce_keep="true"&gt;Oh and here is a BONUS TIP: Don’t use Select *, in most cases you don’t need all the columns and there is no reason to have the DB send them all back. . . . &lt;/p&gt;
&lt;p mce_keep="true"&gt;Let’s start a campaign to call out any website that we see on the internet that doesn’t properly hide their dirty laundry. &lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ShawnWeisfeld/aggbug/281.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sweisfeld</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/03/09/what-do-your-error-messages-reveal.aspx</guid>
            <pubDate>Mon, 09 Mar 2009 17:46:00 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/281.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/03/09/what-do-your-error-messages-reveal.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/commentRss/281.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/services/trackbacks/281.aspx</trackback:ping>
        </item>
        <item>
            <title>A review of Professional DotNetNuke 5: Open Source Web Application Framework for ASP.NET from Wrox</title>
            <link>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/03/01/a-review-of-professional-dotnetnuke-5-open-source-web-application.aspx</link>
            <description>&lt;p&gt;A few weeks ago I got a copy of Professional DotNetNuke 5: Open Source Web Application Framework for ASP.NET (&lt;a href="http://www.amazon.com/Professional-DotNetNuke-Application-Framework-ASP-NET/dp/0470438703/ref=pd_bbs_sr_1?ie=UTF8&amp;amp;s=books&amp;amp;qid=1235867832&amp;amp;sr=8-1"&gt;http://www.amazon.com/Professional-DotNetNuke-Application-Framework-ASP-NET/dp/0470438703/ref=pd_bbs_sr_1?ie=UTF8&amp;amp;s=books&amp;amp;qid=1235867832&amp;amp;sr=8-1&lt;/a&gt;). Figured since I had been to presentations by 3 of the 5 authors I just had to have the book. Brian Scarbeau, Stan Schultes and Ryan Morgan are avid speakers in the Florida .NET community and knowing them I knew this book was going to be a good read. A cross country flight from Dallas Texas to Seattle Washington provided the perfect opportunity to concentrate on reading a new book. &lt;/p&gt;
&lt;p&gt;While waiting for my plane to take off I made it through the first chapter of the book written by the father of DotNetNuke Shaun Walker. This chapter talks about the history of where DNN came from and trials and tribulations that Shaun and his team had giving birth to what we know today. I think that anyone that is interested in starting an open source product should spend a few minutes and learn from the lessons that Shaun learned in the creation of DNN, especially if you are trying to build an open source product that sits on the very not open source Windows platform. &lt;/p&gt;
&lt;p&gt;The next few chapters of the book provide information on just about everything that administrator/end-user would need to know in order to go from an empty hosting account to having a DNN site. This includes installation, an overview of the modules and how to administer the lot. The next chunk of the book talks about the architecture of DNN. For years I have been telling developers looking for reference architectures to look at products like DNN. This set of chapters not only includes information on how the DNN team did what they did, but perhaps more importantly WHY they did it that way. For me knowing the why behind these types of decisions allows me to leverage the lessons learned by other developers and apply that to my applications, even non-DNN applications. The ability to learn from the experience/knowledge/mistakes of others makes us all better developers. The last chunk of the book is the how to information that you need to extend DNN. They cover modules, skinning, and distribution. &lt;/p&gt;
&lt;p&gt;This book provides a good overview of all the major components in the DNN products. It covers the architecture of the DNN infrastructure and how to extend it with your own custom modules and skins. This book provides the developer and the administrator what they need to get their feet wet with DNN, and as an added bonus you get a great narrative on the birth of an open source software package.&lt;/p&gt;
&lt;p&gt;BTW: At the time I wrote this DNN was the second most popular download on codeplex with just fewer than 20,000 downloads in the last 7 days. The only thing that beat it was a plug-in for World of Warcraft.  &lt;/p&gt;
&lt;p&gt;Oh and when my family needed a website for their small business guess what they got? (&lt;a href="http://www.apickygourmet.com/"&gt;http://www.apickygourmet.com&lt;/a&gt;)&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ShawnWeisfeld/aggbug/280.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sweisfeld</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/03/01/a-review-of-professional-dotnetnuke-5-open-source-web-application.aspx</guid>
            <pubDate>Sun, 01 Mar 2009 07:12:00 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/280.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2009/03/01/a-review-of-professional-dotnetnuke-5-open-source-web-application.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/commentRss/280.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/services/trackbacks/280.aspx</trackback:ping>
        </item>
        <item>
            <title>ASP.NET charting controls</title>
            <link>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/12/05/asp-net-charting-controls.aspx</link>
            <description>&lt;p mce_keep="true"&gt;Microsoft released a set of controls called the ASP.NET charting controls. I don’t know if they licensed this from Dundas, however in one of my projects I was able to replace Dundas with this in about 30 min. Most of the class names are the same. Oh and they are FREE!!!!! The only caveat is that you have to be using .NET 3.5.&lt;/p&gt;
&lt;p mce_keep="true"&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ShawnWeisfeld/aggbug/274.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sweisfeld</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/12/05/asp-net-charting-controls.aspx</guid>
            <pubDate>Fri, 05 Dec 2008 19:04:00 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/274.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/12/05/asp-net-charting-controls.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/commentRss/274.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/services/trackbacks/274.aspx</trackback:ping>
        </item>
        <item>
            <title>Microsoft Web Platform Installer</title>
            <link>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/11/04/microsoft-web-platform-installer.aspx</link>
            <description>While I was not able to attend PDC, Microsoft did good by the community and has provided free recordings of many of the sessions (&lt;a href="http://www.microsoftpdc.com/"&gt;http://www.microsoftpdc.com&lt;/a&gt;). While this is cool and has some great content, the purpose of this blog post is to talk about the Microsoft Web Platform Installer (&lt;a href="http://www.microsoft.com/web/channel/products/WebPlatformInstaller.aspx"&gt;http://www.microsoft.com/web/channel/products/WebPlatformInstaller.aspx&lt;/a&gt;). This tool allows for single deployment model for all the bits and pieces needed to put together a clean PC image for a developer use (i.e. VS.NET, SQL SVR, and IIS). IMHO this is a great idea and Microsoft is only scratching the surface of what they could  do in this space. Currently the tool works for the express editions, which is good for the hobbyist and more importantly at schools. With my experiences teaching .NET at the University anything that helps bring students into a working development environment faster and easier is goodness. However this will become much more valuable when it gets pushed into the enterprise environment. Currently one of the most frustrating jobs that I have my day job is helping team members with the setup of development machines. Anything that MSFT can do to stream line and reduce errors in the process of installing the entire suite of development tools is much appreciated.&lt;img src="http://www.drowningintechnicaldebt.com/ShawnWeisfeld/aggbug/270.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sweisfeld</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/11/04/microsoft-web-platform-installer.aspx</guid>
            <pubDate>Tue, 04 Nov 2008 07:39:00 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/270.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/11/04/microsoft-web-platform-installer.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/commentRss/270.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/services/trackbacks/270.aspx</trackback:ping>
        </item>
        <item>
            <title>Silverlight Deep Zoom (aka SeaDragon)</title>
            <link>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/06/04/silverlight-deep-zoom-aka-seadragon.aspx</link>
            <description>&lt;p&gt;In my second in the series of TechEd Questions I have a good one. Unfortunately it had nothing to do with C#, but that doesn’t diminish its cool factor. &lt;/p&gt;
&lt;p&gt;The attendee, lets call her Suzie, volunteered to help organization working with an artist that recently passed away catalogue his work on the internet. She wanted a good way to post high resolution images on the web allowing the public to enjoy this persons artistic contribution. The first thing that jumped to mind with the Hard Rock Demo from Mix (&lt;a href="http://memorabilia.hardrock.com/"&gt;http://memorabilia.hardrock.com&lt;/a&gt;) you have got to check this out! You can see the scratches on the guitars. Scott Hanselman has a great blog post with a how to if you want to create your own deep zoom images (&lt;a href="http://www.hanselman.com/blog/DeepZoomSeadragonSilverlight2MultiScaleImagesAtMix.aspx"&gt;http://www.hanselman.com/blog/DeepZoomSeadragonSilverlight2MultiScaleImagesAtMix.aspx&lt;/a&gt;). Remember to note that this technology is only as good as the original image so you will need good HighRes images to start with.    &lt;br /&gt;&lt;/p&gt;
&lt;p mce_keep="true"&gt; &lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ShawnWeisfeld/aggbug/251.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sweisfeld</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/06/04/silverlight-deep-zoom-aka-seadragon.aspx</guid>
            <pubDate>Wed, 04 Jun 2008 17:03:00 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/251.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/06/04/silverlight-deep-zoom-aka-seadragon.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/commentRss/251.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/services/trackbacks/251.aspx</trackback:ping>
        </item>
        <item>
            <title>Building a solution with many projects is SLOWWWWWWW</title>
            <link>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/06/04/building-a-solution-with-many-projects-is-slowwwwwww.aspx</link>
            <description>&lt;p&gt;This week I am attending TechEd in Orlando FL and I was honored to be requested to work the C# booth by the MVP and C# teams. I got many great questions from attendees and I thought I would post some of the more interesting ones. So here goes. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;An attendee, let’s call him Bob, came up and said that his builds were very slow. After some chatting Bob told me that he has a huge number of projects in his solution all “joined” together using project references. This is a convent feature of Visual Studio that provides for “cascading” builds. By that I mean if you change some code in a business library when VS does the build it will build that library first, copy the dll into any projects that reference it, then build those projects. This is very convent but as Bob noted when he changes one line of code in a method it causes the entire project to rebuild. This is not a big deal if the project is small and the builds are quick but if the project is large this could be a very painful experience. So we tossed around some things I would classify as workarounds like for example writing some post build steps that would move dll’s around and the like. But in my opinion the best solution is a properly architected solution. To that end I pointed Bob to an article put together by the P&amp;amp;P group at Microsoft that provides guidance for the architecture of large application with many projects and how to break them up into manageable chunks. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Structuring Projects and Solutions &lt;br /&gt;&lt;a href="http://www.codeplex.com/VSTSGuidance/Wiki/View.aspx?title=Chapter%203%20-%20Structuring%20Projects%20and%20Solutions%20in%20Source%20Control"&gt;http://www.codeplex.com/VSTSGuidance/Wiki/View.aspx?title=Chapter%203%20-%20Structuring%20Projects%20and%20Solutions%20in%20Source%20Control&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p mce_keep="true"&gt; &lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ShawnWeisfeld/aggbug/250.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sweisfeld</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/06/04/building-a-solution-with-many-projects-is-slowwwwwww.aspx</guid>
            <pubDate>Wed, 04 Jun 2008 16:47:00 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/250.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2008/06/04/building-a-solution-with-many-projects-is-slowwwwwww.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/commentRss/250.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/services/trackbacks/250.aspx</trackback:ping>
        </item>
        <item>
            <title>Unable to connect to the remote server</title>
            <link>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2007/12/03/unable-to-connect-to-the-remote-server.aspx</link>
            <description>&lt;p mce_keep="true"&gt;When attempting to call a webservice that lives outside my corperate firewall I was getting the following error:&lt;/p&gt;
&lt;p mce_keep="true"&gt;System.Net.WebException was unhandled by user code&lt;br /&gt;  Message="Unable to connect to the remote server"&lt;br /&gt;  Source="System"&lt;br /&gt;  StackTrace:&lt;br /&gt;       at System.Net.HttpWebRequest.GetRequestStream()&lt;br /&gt;       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)&lt;/p&gt;
&lt;p mce_keep="true"&gt;After some research I stumbled across this post by Rick Strahl&lt;br /&gt;&lt;a href="http://west-wind.com/weblog/posts/3871.aspx" mce_href="http://west-wind.com/weblog/posts/3871.aspx"&gt;http://west-wind.com/weblog/posts/3871.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p mce_keep="true"&gt;but my problem was a little bit different. In his case he desired to disable to the automatic proxy detection, but I needed to wire in the script that my corperate IT department requires that we use. Easy enough just add the following to the web.config&lt;/p&gt;
&lt;p mce_keep="true"&gt; &amp;lt;system.net&amp;gt;&lt;br /&gt;  &amp;lt;defaultProxy&amp;gt;&lt;br /&gt;   &amp;lt;proxy scriptLocation ="url to script here" /&amp;gt;&lt;br /&gt;  &amp;lt;/defaultProxy&amp;gt;&lt;br /&gt; &amp;lt;/system.net&amp;gt;&lt;/p&gt;
&lt;p mce_keep="true"&gt;I think the cause of my problem was the same as Ricks. Everything works fine when using a console application running as me, but when I put the same method call in a web app runing as network service it appears that he doesnt have enough permissions to get the script location from the registry. &lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ShawnWeisfeld/aggbug/220.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sweisfeld</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2007/12/03/unable-to-connect-to-the-remote-server.aspx</guid>
            <pubDate>Tue, 04 Dec 2007 04:28:00 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/220.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2007/12/03/unable-to-connect-to-the-remote-server.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/commentRss/220.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/services/trackbacks/220.aspx</trackback:ping>
        </item>
        <item>
            <title>Central Florida Tech Fair</title>
            <link>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2007/10/07/central-florida-tech-fair.aspx</link>
            <description>&lt;p class="MsoNormal" style="MARGIN: 0in 0in 10pt"&gt;&lt;font face="Calibri" size="3"&gt;Here you can download my presentations from the CFL Tech Fair.&lt;/font&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN: 0in 0in 10pt"&gt;&lt;a href="http://onetug.net/Documents/CFL_Presentations.zip"&gt;http://onetug.net/Documents/CFL_Presentations.zip&lt;/a&gt;&lt;/p&gt;&lt;img src="http://www.drowningintechnicaldebt.com/ShawnWeisfeld/aggbug/212.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>sweisfeld</dc:creator>
            <guid>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2007/10/07/central-florida-tech-fair.aspx</guid>
            <pubDate>Sun, 07 Oct 2007 17:59:00 GMT</pubDate>
            <wfw:comment>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/212.aspx</wfw:comment>
            <comments>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/archive/2007/10/07/central-florida-tech-fair.aspx#feedback</comments>
            <wfw:commentRss>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/comments/commentRss/212.aspx</wfw:commentRss>
            <trackback:ping>http://www.drowningintechnicaldebt.com/ShawnWeisfeld/services/trackbacks/212.aspx</trackback:ping>
        </item>
    </channel>
</rss>