title: SubSonic - Generated Classes have the following error - the type or namespace name does not exist in KimDal
body: <p>Im trying to generate my dal and this works but when i check my code in visual studio 2008 i get this message "the type or namespace name does not exist in KimDal"</p>
  
  <p>Im using sql expreess 2005, full version of vs2008, and i setup a new c# 2.0 website.</p>
  
  <p>I installed the 2.1 installer for subsonic, add added it to my external tools, i added a refernce to the dll which added it and other dlls to my bin folder.</p>
  
  <p>I also addeded references to system.web and system.configuration as i saw somehwere that this resolved someone elses issue.</p>
  
  <p>My config is below, is the error im geting normal within intelisense when i look at the class, or do i need to fix something and how do i fix it.</p>
  
  <pre><code>&lt;configuration&gt;
   &lt;configSections&gt;
    &lt;section name="SubSonicService" type="SubSonic.SubSonicSection, SubSonic" requirePermission="false"/&gt;
   &lt;/configSections&gt;
   &lt;appSettings/&gt;
   &lt;connectionStrings&gt;
    &lt;!-- Development connection string --&gt;
    &lt;add name="kimWebApp" connectionString="Data Source=7NQ384J\SQLExpress;Initial Catalog=kim2;Integrated Security=True"/&gt;
   &lt;/connectionStrings&gt;
   &lt;SubSonicService defaultProvider="kimWebAppProvider"&gt;
    &lt;providers&gt;
     &lt;clear/&gt;
     &lt;add name="kimWebAppProvider" type="SubSonic.SqlDataProvider, SubSonic" connectionStringName="kimWebApp" generatedNamespace="KimDal"/&gt;
    &lt;/providers&gt;
   &lt;/SubSonicService&gt;
   &lt;system.web&gt;
    &lt;!-- 
              Set compilation debug="true" to insert debugging 
              symbols into the compiled page. Because this 
              affects performance, set this value to true only 
              during development.
          --&gt;
    &lt;compilation debug="false" defaultLanguage="c#"&gt;
    &lt;/compilation&gt;
    &lt;!--
              The &lt;authentication&gt; section enables configuration 
              of the security authentication mode used by 
              ASP.NET to identify an incoming user. 
          --&gt;
    &lt;authentication mode="Windows"/&gt;
    &lt;!--
              The &lt;customErrors&gt; section enables configuration 
              of what to do if/when an unhandled error occurs 
              during the execution of a request. Specifically, 
              it enables developers to configure html error pages 
              to be displayed in place of a error stack trace.
  
          &lt;customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"&gt;
              &lt;error statusCode="403" redirect="NoAccess.htm" /&gt;
              &lt;error statusCode="404" redirect="FileNotFound.htm" /&gt;
          &lt;/customErrors&gt;
          --&gt;
   &lt;/system.web&gt;
   &lt;system.codedom&gt;
   &lt;/system.codedom&gt;
   &lt;!-- 
          The system.webServer section is required for running ASP.NET AJAX under Internet
          Information Services 7.0.  It is not necessary for previous version of IIS.
      --&gt;
   &lt;system.webServer&gt;
   &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>