title: the type specified in the typename property of objectdatasource could not be found when using a reference to a library
body: <p>I have a website and I use a Library for my Data connections,When I want to fill gridview , I use an objectdatasource:</p>
  
  <pre><code>&lt;asp:ObjectDataSource ID="odsProject" runat="server" EnablePaging="true" TypeName="DMS.Data.ProjectProvider" SelectMethod="Search" SortParameterName="orderby" onselecting="odsProject_Selecting"&gt;
                  &lt;SelectParameters&gt;
                      &lt;asp:Parameter Name="Code" Type="String" /&gt;
                      &lt;asp:Parameter Name="CustomerID" Type="Int32" /&gt;
                      &lt;asp:Parameter Name="Name" Type="String" /&gt;
                      &lt;asp:Parameter Name="CompanyID" Type="Int32" /&gt;
                  &lt;/SelectParameters&gt;
              &lt;/asp:ObjectDataSource&gt;
  </code></pre>
  
  <p>I Reference to my Library in website and config datasourceId of gridview but I get the below error:</p>
  
  <blockquote>
    <p>the type specified in the typename property of objectdatasource could not be found</p>
  </blockquote>
  
  <p>what's wrong with my code? I search and see other posts but nothing help,</p>
  
  <p>thanks a lot</p>