none
How To solve fix "A data source instance has not been supplied for the data souce" RRS feed

  • General discussion

  •  

    Hi All

     

    Allot of people are complaining about the Following error and how to solve it : “A data source instance has not been supplied for the data source “<DataSet_TableName>”” 

     

    There is lots of examples on how to work around it, but the simplest way to stop the error is to Reset the ReportViewer

     

    ReportViewer1.Reset

     

    Use this command before you load/display new reports using the report viewer. There are many reasons why this error occurs. The attach example will show you a very simple and effective way of loading and displaying different reports on a report viewer.

     

    In the example I used SQL Compact 3.5, but it does not matter which database source you use the code is the very same. This is written in VB but if you want me to convert it to C just post

     

    Details:

     

    Website of Upload

     

    1: Logon to www.backupearth.com

     

    2: Click the Login link: "To access the File Retrieval
    Area please  Login here
     "

    3: Enter the username and password as below

    Username: microsoftsupport1721@na.na

    Password: letmein

     

    4: Download: 353000083MicrosoftReportViewerErrorFix.zip 

     

    Kind Regards

     

    John Galvin

     

     

     

    Tuesday, May 13, 2008 3:21 PM