If you became a customer of the Syncfusion Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion.
For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion for its reporting solutions. Our team will be happy to assist you with any questions you may have.
Thank you for choosing Syncfusion for your reporting needs.
I have an issue, if I am trying to read an RDLC to a byte array through a domain service and then convert the bytes back to a stream I am getting an error saying it can't find part of the report. But if I reference the report directly in the silver-light per the example it works.
Here is the code:
Option Compare BinaryOption Infer OnOption Strict OnOption Explicit OnImports System
'TODO: Create methods containing your application logic.
PublicClassTestReportServerInheritsDomainServicePrivateFunction GetServerRootPath() AsStringDim r AsString = HttpContext.Current.Server.MapPath("..")
If r.EndsWith("\") = FalseThen r &= "\"Return r
PublicFunction ReportTest() AsStringDim r AsString = GetServerRootPath() & "Reports\TestReport1.rdlc"Return r
PublicFunction Getreport() AsByte()
Dim b AsByte()
Dim ff AsNew FileFunctions.FileFunctions
b = ff.ReadFileToByte(GetServerRootPath() & "Reports\TestReport1.rdlc")
PartialPublicClassMainPageInheritsUserControlDim test AsNew ReportApp.ReportTest.TestReportServer
EndSubPrivateSub MainPage_Loaded(sender AsObject, e As System.Windows.RoutedEventArgs) HandlesMe.Loaded
'test.ReportTest(AddressOf GetTest, Nothing)
test.Getreport(AddressOf DisplayReort, Nothing)
EndSubPrivateSub GetTest(e AsInvokeOperation(OfString))
EndSubPrivateSub DisplayReort(e AsInvokeOperation(OfByte()))
Dim b AsByte()
b = e.Value
'MessageBox.Show(b.Length.ToString)'s.Write(b, 0, b.Length)'MessageBox.Show(s.Length.ToString)'s = Application.GetResourceStream(New Uri("BarChartDemo;component/TestReport1.rdlc", UriKind.Relative)).StreamDim rdlStream AsStream = Application.GetResourceStream(NewUri("ReportApp;component/TestReport1.rdlc", UriKind.Relative)).Stream
Dim rdlstream1 AsStream
rdlstream1 = NewMemoryStream()
rdlstream1.Write(b, 0, b.Length)
Catch ex AsExceptionMessageBox.Show(ex.ToString)
'MessageBox.Show(b.Length)EndSub Is there any diffrence between stream and Application.GetResourceStream in there encoding.
I would like to keep the RDLC files on the server and read them in as a byte array and then reconstitute the stream.