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

Stimulsoft Reports.WEB discussion
Post Reply
pier
Posts: 27
Joined: Wed Jun 15, 2011 4:58 pm
Location: Mexico

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

Post 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?
pier
Posts: 27
Joined: Wed Jun 15, 2011 4:58 pm
Location: Mexico

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

Post 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
pier
Posts: 27
Joined: Wed Jun 15, 2011 4:58 pm
Location: Mexico

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

Post by pier »

I solved it. I change the connection in the designer and it worked.
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

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

Post by Andrew »

Hello,

Great! :biggrin:
Post Reply