This is a migrated thread and some comments may be shown as answers.

Windows Azure, Reporting, Session State

3 Answers 188 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
illya
Top achievements
Rank 1
illya asked on 20 Dec 2013, 01:55 PM
Dear Support,

We are using Telerik Reporting 2010 Q3 in our application which is hosted on Azure as WebRole (1 instance).
We would like to increase amount of instances, but we faced well know issue with the Session State mode. Our current Session State mode "in-proc", but we would like to remove all dependences from that.

After very deep research I have found that Telerik ReportViewer is using Session State, could you explain me in more details how and why?
Does it means that we can not remove all dependences from the Session State, because Telerik ReportViewer still needs to use it?
We do not want to use "out-proc" Session State mode, since Microsoft Cache service still in preview plus due to some other internal reasons!
Is it possible to display Report without ReportViewer, since it is only ReportViewer needs to use Session State?
We are also considering to keep using "in-proc" SessionState if Telerik Reporting allow to do that with Multiple instances.

Please give me answers as soon as you can, because I am fighting with this already few weeks.

Thank you in advance!

Illia.

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 21 Dec 2013, 11:20 AM
Hello Iliya,

We use the session state to preserve the report between postbacks as described in our Design Considerations for Out-proc Session State help article. If you need to avoid using the ASP>NET session state, please take a look at the following forum post by my colleague: Disable ASP.NET session state for reports.

Other approach we can suggest you is to upgrade to the latest available Telerik Reporting version Q3 2013, where we have introduced new HTML5 Report Viewer served by our Reporting REST service. Thus you can avoid issues with session state configurations.

I hope this helps you.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

0
illya
Top achievements
Rank 1
answered on 24 Dec 2013, 12:06 PM

Hello Stef,

Thank you for your response!

I am going to use Telerik Reporting version Q3 2013, but before I would like to understand if it works correctly.
I have downloaded Trial Version and trying to implement your sample from here "http://www.telerik.com/help/reporting/html5-report-viewer-embedding.html", but I found very strange issue. My report displayed in not right format with some strange background, please have a look in attachment.

My code:

<head>
    <title>Telerik HTML5 Report Viewer</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
 
 
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <link href="/Content/kendo/2013.3.1119/kendo.common.min.css" rel="stylesheet" />
    <link href="/Content/kendo/2013.3.1119/kendo.blueopal.min.css" rel="stylesheet" />
    <script src="/Scripts/kendo/2013.3.1119/kendo.all.min.js"></script>
    <link href="/Content/ReportViewer/styles/ReportViewer-7.2.13.1016.css" rel="stylesheet" />
    <script src="/Scripts/ReportViewer/js/ReportViewer-7.2.13.1016.js"></script>
 
    <style>
        #reportViewer1 {
            position: absolute;
            left: 5px;
            right: 5px;
            top: 5px;
            bottom: 5px;
            font-family: 'segoe ui', 'ms sans serif';
            overflow: hidden;
        }
    </style>
</head>
<body>
 
    <div id="reportViewer1" class="k-widget">
    </div>
 
    <script type="text/javascript">
        $("#reportViewer1").telerik_ReportViewer({
            serviceUrl: "/api/reports/",
            templateUrl: '/Content/ReportViewer/templates/telerikReportViewerTemplate.html',
            reportSource: {
                report: "Report1.trdx",
                parameters: {
                    CultureID: "en"
                }
            },
            //viewMode: telerikReportViewer.ViewMode.Interactive
            //scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,
            //scale: 1.0
        });
    </script>
 
</body>
</html>
0
Stef
Telerik team
answered on 24 Dec 2013, 01:34 PM
Hello Illia,

The issue with the script displayed in the viewer is related to the new Browser Link feature in Visual Studio 2013. Test to run the application after disabling Browser Link. You can also upgrade to the latest available Telerik Reporting Q3 2013 internal build version 7.2.13.1216, where we have provided a fix, which does not require you to disable the Browser Link feature in VS2013.

Let us know if you have any further questions.

Regards,
Stef
Telerik

New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.

Tags
General Discussions
Asked by
illya
Top achievements
Rank 1
Answers by
Stef
Telerik team
illya
Top achievements
Rank 1
Share this question
or