locked
Problem with creating a local report in Visual Studio 2010 RRS feed

  • Question

  • User-740453238 posted

    I am having trouble with Local Report Viewer.  can' use data source.  Here are my steps.

    1).  Create new aspx page

    2).  Created Dataset and can see data

    3).  Created report .rdlc file

    4).  Put Local Report Viewer on ASPX Page

    5).  Changed Choose Report to look at report.rdlc file

    6).  Put ObjectDataSource on aspx page and configured.

    7).  Clicked on  Choose Data Source of report viewer and I get the following.  Sorry I can't load a picture.  The following is a pop up box.  It will not allow me to choose a data source.

    ______________________________________________________________________________________   

                                                    Choose Data Sources

    Choose Instances for Data Source used in the report.

    Report Data Source    Data Source Instance

                                                                       OK           Cancel

    ___________________________________________________________________________________

    Sunday, February 22, 2015 8:30 AM

All replies

  • User1759999623 posted

    Go to the ObjectDataSource and select Configure Data Source.  This should create a tableadapter for your ObjectDataSource.

    Sunday, February 22, 2015 4:15 PM
  • User-740453238 posted

    Tried that!  It did not help.  Any other ideas.

    Mike

    Sunday, February 22, 2015 9:31 PM
  • User1711366110 posted


    Tried that!  It did not help.  Any other ideas.
    Mike

      As per your case, you can try the step by step process based on the following link :
    http://tech.just4sharing.com/Pages/ASP/How-to-do-a-simple-RDLC-report-using-Visual-Studio.aspx

    --
    with regards,
    Edwin

    Monday, February 23, 2015 2:52 AM
  • User1759999623 posted

    Do you have a data source?  Did you add a dataset to your report?  If you don't have the dataset already in the report, then you will need to build the dataset manually.

    Monday, February 23, 2015 2:17 PM
  • User-740453238 posted

    I'm not sure what  you mean.  I added a dataset before creating the report.  But when I click on Choose Data source of the report viewer it does not show the dataset.

    Tuesday, February 24, 2015 2:58 AM
  • User1759999623 posted

    I'm having some issues using VS 2010.  Have you considered upgrading to a newer version of Visual Studio?  Visual Studio Community 2013 is free and is essentially VS Pro 2013.

    Tuesday, February 24, 2015 4:01 AM