SSRS ReportViewer problems with XML embedded data source

前端 未结 3 842
北荒
北荒 2021-01-26 03:41

I have C# (WPF) application where I want to display a SSRS report in the ReportViewer control. The local report file has XML datasource embedded in it. The report is displayed c

3条回答
  •  死守一世寂寞
    2021-01-26 04:21

    I am not sure from what you have stated if the data source has specified credentials.

    This part here:

    
                XML
                
              
    

    Generally speaking with SQL data sources when reports fail to view for others or from applications it is due to the hosting server assuming a different credential than your IDE building the application. It does not know if my name is Brett, that my credentials are running it when calling it remotely. When you specify the credentials on the server hosting the report you can usually get around this. You go into the server hosting the report, I assume you are doing this as you have an 'rdl' report versus an rdlc report. Find the datasource, click properties, change setting to be 'use these credentials'. Supply credentials that you know work.

    This may fix the issue. I am not certain with Sharepoint connections and XML connections but this is common with viewing issues with SQL Server connections.

提交回复
热议问题