Page 1 of 1
2012.1 Breaks Project
Posted: Tue Sep 11, 2012 5:18 am
by Ink
Hi,
I have uninstalled 2011 version & installed 2012.1 (just renewed my subscription).
My project now is completely broken, as it is missing references to 2011 version.
Is there an upgrade utitly I need to run my project through?
Also when I run the designer the DEMO water mark is still visible even though I downloaded via registered user location on the website.
Can you please advise?
Jon.
Re: 2012.1 Breaks Project
Posted: Tue Sep 11, 2012 11:52 am
by HighAley
Hello.
Ink wrote:I have uninstalled 2011 version & installed 2012.1 (just renewed my subscription).
My project now is completely broken, as it is missing references to 2011 version.
Is there an upgrade utitly I need to run my project through?
Also when I run the designer the DEMO water mark is still visible even though I downloaded via registered user location on the website.
Please read the How to upgrade to a new version? article in our Knowledge Base.
http://stimulsoft.helpserve.com/index.p ... rticleid=1
If you see Demo watermark it means that there are trial assemblies in your system left.
Thank you.
Re: 2012.1 Breaks Project
Posted: Wed Sep 12, 2012 5:47 am
by Ink
Ok, I have done the recommended steps and my project now loads but I get an error when I come to run my report.
When the proc gets to the final line (Me.stiReportViewer.Report = Report) I get a NullReferenceException. This proc was working fine on the earlier version - the only thing I have changed is upgrading to Stimulsoft 2012.1
Code: Select all
Public Sub ViewReport(ByVal ReportName As String, Optional DataFile As String = "")
Dim Report As StiReport = New StiReport()
Report.Load(ReportPath & "\" & ReportName & ".mrt")
Report.Dictionary.DataSources.Clear()
Report.ReportName = Me.Text
If DataFile = "" Then
DataFile = ReportName
End If
ds.ReadXmlSchema(UserAppData & "\" & DataFile & ".xsd")
ds.ReadXml(UserAppData & "\" & DataFile & ".xml")
Report.Dictionary.ImportXMLSchema(ds)
Report.RegData("Table", ds)
Report.Render()
Me.stiReportViewer.Report = Report
End Sub
Re: 2012.1 Breaks Project
Posted: Wed Sep 12, 2012 6:02 am
by Ink
I have know solved the above by deleting the viewer control from my form and adding it again, but now I have the DEMO watermark!
I noticed that the Stimulsoft Control were not in my toolbox & I had to browse to the 2012.1 directory to pick up the viewer control manually.
Checking the GAC both I have 3 versions of Stimulsoft - 2011.2, 2011.3 & 2012.1 and they will not uninstall from the GAC.
Also if I run the designer it is stamped with DEMO. I downloaded from the Registered users area.
Can you please advise?
Re: 2012.1 Breaks Project
Posted: Wed Sep 12, 2012 9:41 am
by Alex K.
Hello,
Please make following steps:
1. Uninstall SR.
2. Check GAC and if need remove Stimulsoft Assemblies from GAC.
3. Install new version.
4. Update references in your projects.
Thank you.
Re: 2012.1 Breaks Project
Posted: Wed Sep 12, 2012 10:40 am
by Ink
Hi Aleksey,
I have done this. I have unistalled both version of SR, and removed references from GAC. I have installed setup downloaded from registered user area. I have updtaed project references. Project now runs, but I still get DEMO Watermark. I have also removed all files from BIN directory in my project. the only SR files I can now find on my PC are under the installation directory. Please advise?
Thanks,
Jon.
Re: 2012.1 Breaks Project
Posted: Wed Sep 12, 2012 12:21 pm
by Andrew