Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS SQL Server 2008 - SQL ReportExecutionService Culture

$
0
0

Hi,

I am not able to generate report in different culture other than en-US even when the current thread culture is set to a different like de-DE

 

    SqlReportExecutionService.ExecutionHeaderValue = execHeader;

            execInfo = SqlReportExecutionService.LoadReport(reportPath, historyID);

            SqlReportExecutionService.SetExecutionParameters(Parameters, System.Threading.Thread.CurrentThread.CurrentCulture.Name);

            string SessionId = SqlReportExecutionService.ExecutionHeaderValue.ExecutionID;

            SQLReportExecutionService.Warning[] warnings = null;

            String[] StreamIds = null;

            return SqlReportExecutionService.Render(Format, DeviceInfo, out Extension, out MimeType, out Encoding, out warnings, out StreamIds);

In the above code System.Threading.Thread.CurrentThread.CurrentCulture.Name is de-DE still the report renders in en-US. If i use the report viewer control in the application it is rendering and exporting in de-DE but when i use the execution service ReportExecution2005.asmx Render method it is not generating in current culture.

Any workarounds for this issue.

Thanks,

Sudhakar


Developer

Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>