Website Data Sources empty RRS feed

  • Question

  • I am using vs2008 website project

    When I tried to design a report viewer, I found the website data sources dialog box is empty. I am sure I have several objects created already.

    Then I go to Report menu -> Data Sources... , it gave me an error saying "Could not load file or assmbly.....or one of its dependencies. The system cannot find the file specified."

    I know I removed that referenced dll earlier but even when I add that dll back or remove. Data Sources keep complaining with this dialog box.

    I then try to do from the rdlc xml side. I mimic what my previous rdlc's xml and copy paste over. and try to run it. here is the xml's data source looks like:

        <DataSet Name="FoodCountObject">
            <Field Name="Bureau">
            <Field Name="Worker">
            <Field Name="CaseNumber">
            <Field Name="Name">
            <Field Name="FoodBox">
            <Field Name="MaleBox">
            <Field Name="FemaleBox">
    			<rd:ObjectDataSourceType>ECFAssistance.ReportHelper, ECFAssistance, Version=, Culture=neutral, PublicKeyToken=null</rd:ObjectDataSourceType>
    			<rd:ObjectDataSourceSelectMethodSignature>System.Linq.IQueryable`1[ECFAssistance.FoodCount] GetFoodCount(System.Nullable`1[System.DateTime], System.Nullable`1[System.DateTime])</rd:ObjectDataSourceSelectMethodSignature>

    When I ran it, it complains this:


  • An error occurred during local report processing.
  • The definition of the report 'Main Report' is invalid.
    The data set ‘FoodCountObject’ refers to the data source “DummyDataSource”, which does not exist.
  • can someone help me what's going on here? how to fix it?

Wednesday, April 7, 2010 8:38 PM