Upgrading to 2016.1 (Major version)

Stimulsoft Reports.WEB discussion
Post Reply
victorinable
Posts: 152
Joined: Mon Aug 03, 2015 9:28 am

Upgrading to 2016.1 (Major version)

Post by victorinable »

Hi,

I'm upgrading your product from 2015.2 to 2016.1. I'm wondering if the upgrade is totally transparent or if I should adapt some parts of the project to make it working fine.

I'm using StiMvcMobileDesigner and StiMvcViewer.

Thanks in advance. ;)
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Re: Upgrading to 2016.1 (Major version)

Post by Jan »

Hello,

All code should compile from the box without any restrictions. All reports should work as aspected.
Please contact us if you face any problem with upgrading.

Thank you.
victorinable
Posts: 152
Joined: Mon Aug 03, 2015 9:28 am

Re: Upgrading to 2016.1 (Major version)

Post by victorinable »

Hi Jan,

Thanks for the quick response.

I installed the new executables and I upgraded the dlls's and it seemed that all was running fine. But I have 2 problems.

When I execute reports that has a Oracle connection, it dos not recover any data. Report is executed but it seems that the connection is not working fine. Should I adapt any configuration on the reports? The other problem is that I cannot execute the Designer, I getn error [StiMobileDesigner is not defined].

With version 2015.2 everything is working fine.

Thanks in advance.
victorinable
Posts: 152
Joined: Mon Aug 03, 2015 9:28 am

Re: Upgrading to 2016.1 (Major version)

Post by victorinable »

Hi Jan,

Sorry for missing that, but the problem is that is not founding the DesignerEvnet on the controller. It seems that is not parsing well the url but, this has not changed on my upgrade. This is my configurations

2015.2:
Dim options As StiMvcMobileDesignerOptions = New StiMvcMobileDesignerOptions
options.Localization = ViewData("localization")
options.ActionGetReportTemplate = "GetReportEdit"
options.ActionSaveReportTemplate = "SaveReportEdit"
options.ActionGetReportSnapshot = "GetReportSnapshotEdit"
options.ActionGetNewReportData = "GetNewReportDataEdit"
options.ActionDesignerEvent = "DesignerEvent"
options.ActionExitDesigner = "ExitDesigner"
options.ServerRelativeUrls = True
options.ServerCacheMode = StiDesignerCacheMode.Session
options.InterfaceType = StiInterfaceType.Auto
options.Controller = "repreports.mvc/dummy"
options.ShowDictionary = True
options.ShowFileMenuOpen = False
options.ShowFileMenuExit = False
options.ShowFileMenuClose = False
options.ShowTooltips = False
options.ShowCrossTab = False
options.ShowChart = True
options.ShowFileMenuNew = False
options.ShowPreviewButton = True
options.Theme = StiTheme.Office2013
options.Width = Unit.Percentage(100)
options.Height = Unit.Pixel(700)


2016.1

Dim options As StiMvcMobileDesignerOptions = New StiMvcMobileDesignerOptions
options.Localization = ViewData("localization")
options.ActionGetReportTemplate = "GetReportEdit"
options.ActionSaveReportTemplate = "SaveReportEdit"
options.ActionGetReportSnapshot = "GetReportSnapshotEdit"
options.ActionGetNewReportData = "GetNewReportDataEdit"
options.ActionDesignerEvent = "DesignerEvent"
options.ActionExitDesigner = "ExitDesigner"
options.ServerRelativeUrls = True
options.ServerCacheMode = StiDesignerCacheMode.Session
options.InterfaceType = StiInterfaceType.Auto
options.Controller = "repreports.mvc/dummy"
options.ShowDictionary = True
options.ShowFileMenuOpen = False
options.ShowFileMenuExit = False
options.ShowFileMenuClose = False
options.ShowTooltips = False
options.ShowCrossTab = False
options.ShowChart = True
options.ShowFileMenuNew = False
options.ShowPreviewButton = True
options.Theme = StiTheme.Office2013
options.Width = Unit.Percentage(100)
options.Height = Unit.Pixel(700)


As you see, they are exactly the same. Doy you have any clue why this is not working with the newer version?

Thanks in advance.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Upgrading to 2016.1 (Major version)

Post by Alex K. »

Hello,

Can you please send us a simple project which reproduce the issue for analysis.

Thank you.
victorinable
Posts: 152
Joined: Mon Aug 03, 2015 9:28 am

Re: Upgrading to 2016.1 (Major version)

Post by victorinable »

Hi Aleksey,

Thanks for the help. I made a sample project with the same configuration, and I succeed on getting the Editor working. That's weird for me, since both projects has been configured exactly the same, the only difference is that the old project had the previous version installed. May I unregister or delete assemblies for older versions prior to upgrade my project? I can send you what I created as a sample project for you, but the error isn't reproduced, it has been solved. If this is profitable for you, I can send you.

While I'm waiting for your answer, I'll retry to figure out why the upgraded project is failing on building correct request to find actions on the server side.

Thanks for the proactivity.

KR,
victorinable
Posts: 152
Joined: Mon Aug 03, 2015 9:28 am

Re: Upgrading to 2016.1 (Major version)

Post by victorinable »

Hi again,

I debugged everythig again, and the problem came to the surface relatively quickly. I guess it's something related to my project configuration, as it's relatively "old" and the routing configuration is a little bit tricky.

So, you can consider this issue as solved. Many thanks for the brilliant and quick support.

KR,
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Upgrading to 2016.1 (Major version)

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply