<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Visual Studio 2010 on Matt Thornton</title>
    <link>http://localhost:1313/tags/visual-studio-2010/</link>
    <description>Recent content in Visual Studio 2010 on Matt Thornton</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Fri, 25 Mar 2011 16:10:06 +0000</lastBuildDate><atom:link href="http://localhost:1313/tags/visual-studio-2010/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Could not load web.config file. The given key was not present in the dictionary.</title>
      <link>http://localhost:1313/tech/sharepoint/could-not-load-web-config-file-the-given-key-was-not-present-in-the-dictionary/</link>
      <pubDate>Fri, 25 Mar 2011 16:10:06 +0000</pubDate>
      
      <guid>http://localhost:1313/tech/sharepoint/could-not-load-web-config-file-the-given-key-was-not-present-in-the-dictionary/</guid>
      
        <description>&lt;p&gt;Quick hint about debugging SharePoint projects in Visual Studio 2010. You may find a bizarre error where deploying projects/solutions is fine, but trying to debug doesn&amp;rsquo;t work. You see an error alert with the text:&lt;/p&gt;
&lt;p&gt;“Could not load the Web.config configuration file. Check the file for any malformed XML elements, and try again. The following error occurred: The given key was not present in the dictionary.”&lt;/p&gt;
&lt;p&gt;Checking the Web.config shows no malformed XML at all. One thing to check into is the configuration of alternate access mappings in Central Administration. For debugging to work, &lt;strong&gt;the Site URL property of your SharePoint project must match the URL of the Default zone for your web application&lt;/strong&gt;.&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>