Page 1 of 1

is it possible to view non demo reports in the demo viewer?

Posted: Tue Sep 27, 2011 5:23 pm
by pier
We already own the Reports FX PHP version.

We are trying to view our non-demo reports in the Demo Viewer of the Web ASP.NEt version, but we always get this message and a blank report with no error messages.
Stimulsoft Reports - Demo Version
We have copied the xml, xsd, and mrt in the IIS server folders because we couldn't get it to work with external http urls...

Any ideas?

is it possible to view non demo reports in the demo viewer?

Posted: Tue Sep 27, 2011 5:32 pm
by pier
This is the code we are using

Code: Select all

		Dim urlXml as String = "http://mydomain.com/data.xml"
		Dim urlXsd as String = "http://mydomain.com/data.xsd"
		Dim urlReporte as String = "myReport.mrt"
        Dim appDirectory As String = HttpContext.Current.Server.MapPath(String.Empty)
		
		' Prepare data
		Dim dataSet As New DataSet()
		dataSet.ReadXml(urlXml)
		dataSet.ReadXmlSchema(urlXsd)

		' Load report
		Dim report As New StiReport()
		report.Load(appDirectory + "\Reports\" + urlReporte)
		report.RegData(dataSet)

		' View report
		StiWebViewer1.Report = report

is it possible to view non demo reports in the demo viewer?

Posted: Tue Sep 27, 2011 7:06 pm
by pier
I solved it. I change the connection in the designer and it worked.

is it possible to view non demo reports in the demo viewer?

Posted: Tue Sep 27, 2011 10:37 pm
by Andrew
Hello,

Great! :biggrin: