|119137||May 13,2015 05:51 PM||May 14,2015 04:15 PM||LightSwitch Silverlight||1|
|Reportviewer is working when running lightswitch in developers machine, in localhost. When published to the server the control does not work.||This error may occur due to invalid reportpath set to ReportViewer. We are requesting you to ensure the provided reportpath location.|
|Where should the ReportTemplate folder be located on the server?||If want to store your RDL report in SSRS server, then you can manually create a folder and save your ReportDefinition. If your requirement is to save your report in Server project then you can place under any folder and mention the reportpath to ReportViewer.|
|What is the ReportPath that should be used?||If you want to use local RDLC report then you have to set as show below (ApplicationName.Folder.NameOftheReport).|
You can find our locally installed sample from the following location.
If its SSRS server report then you have to specify relative path to the report located on ReportServer as shown in the below(/FolderName/ReportName).
|What are the properties that should be used for the rdlc file? Embedded or content? Copy Always, etc?||You have to set “Build Action” property as “Embedded Resource” to load the report in Light switch Silverlight ReportViewer.|
|Appreciate any help as the online documentation is very poor.||We have already created task for updating our ReportViewer Online UG documentation. We will let you know once our Online UG documentation updated successfully.|
Our LightSwitch Silverlight ReportViewer extension didn’t have support to Load/View SSRS RDL reports. But we can achieve this by using Silverlight ReportViewer as custom control inside lightswitch screen. We have prepared a sample for you reference and it can be downloaded from below location.
Kindly refer the below table for more details on Reportviewer properties.
|ProcessingMode||Set ProcessingMode property to Remote for SSRS/RDL reports as shown in below code.|
|ReportServerUrl||Gets or sets the URL for the report server as shown in below. Please make sure that the server URL is accessible.|
|ReportServerCredential||Gets or sets the credentials to be used with the report server.|
|ReportServiceURL||You have to specify the ServiceURL to access the ReportServer . In our previous update we have given the sample with WCF Reporting service embedded in application. Set the WCF service URL to the ReportServiceURL property as shown below.|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.