Web preview

Stimulsoft Reports.WEB discussion
jozed
Posts: 2
Joined: Mon Oct 03, 2011 12:26 am
Location: Slovenia

Web preview

Post by jozed »

Why web preview show message: "To view this page ensure that Adobe Flash Player version 10.2.0 or greater is installed."
I'm sure that Adobe Flash Player version 11 is installed.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Web preview

Post by HighAley »

Hello.
jozed wrote:Why web preview show message: "To view this page ensure that Adobe Flash Player version 10.2.0 or greater is installed."
I'm sure that Adobe Flash Player version 11 is installed.
What operation system do you use? 32-bit or 64-bit?

Thank you.
pdt1704
Posts: 60
Joined: Tue Nov 15, 2011 9:12 pm

Web preview

Post by pdt1704 »

Hi, I have issue the same, my operating is 64 bit, Please help.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Web preview

Post by Vladimir »

Hello,

Please specify which browser are you using? Is the error reproduced on any browser?

Thank you.
pdt1704
Posts: 60
Joined: Tue Nov 15, 2011 9:12 pm

Web preview

Post by pdt1704 »

Hi,
I used browser IE8, I try test with FireFox and see issue same.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Web preview

Post by Vladimir »

Hello,

We could not reproduce the problem on .NET 4.0 framework.
The attached archive contains our test project.

Thank you.
Attachments
1942.Sample.part2.rar
(799.08 KiB) Downloaded 817 times
1941.Sample.part1.rar
(2.86 MiB) Downloaded 738 times
dsaddan
Posts: 3
Joined: Mon Sep 03, 2012 1:01 pm

Re: Web preview

Post by dsaddan »

I have the same problem. Here is my configuration:
Windows 7 64-bit
Browsers:
  • Chrom, IE 9
Visual Studio 10

I tested yoyr sample project which is based on MVC 3 and is called
C:\Program Files (x86)\Stimulsoft Reports.Web for MVC 2012.1 Trial\Samples\MvcViewerFx (Razor)
The sample works OK (= the reports are displayed OK).

I then created an MVC 4 project which is based on this sample. Here are the steps:
1. Created a new MVC 4 Internet project.

2. Adde references to
  • Stimulsoft.Base, Stimulsoft.Report, Stimulsoft.Report.Mvc
located in C:\Program Files (x86)\Stimulsoft Reports.Web for MVC 2012.1 Trial\Bin

3. Added <system.web>, <compilation>, <assemblies>
<add assembly="Stimulsoft.Base, ...
<add assembly="Stimulsoft.Report, ...
<add assembly="Stimulsoft.Report.Mvc, ..
</assemblies>,</compilation>, </system.web>
to web.config

4. Copied the Content/Reports, Contenr/Localization, HomeControllwe and Views/Home/Index.cshtml from the original project to me new project.

5. I then complied and testes the new project. It displayed "To view this page ensure that Adobe Flash Player 10.2 or greater is installed."

My project is attached.

Please advise.

Dror
Attachments
Screen capture of an MVC4 project based on the sample - The report is not displayed
Screen capture of an MVC4 project based on the sample - The report is not displayed
03092012_162138.png (90.5 KiB) Viewed 4912 times
Screen capture of the original sample - report is displaued OK
Screen capture of the original sample - report is displaued OK
03092012_162153.png (98.39 KiB) Viewed 4912 times
MvcApplication3.7z
The MVC 4 project based on Stimulsoft Reports.Web for MVC 2012.1 Trial\Samples\MvcViewerFx (Razor)
(6.07 MiB) Downloaded 501 times
dsaddan
Posts: 3
Joined: Mon Sep 03, 2012 1:01 pm

Re: Web preview

Post by dsaddan »

I tested the sample and it works OK.
However, it is based on MVC3 and not MVC4.
The problem seems to be with MVC4. Please see my other post earlier today in this thred.
Dror
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Web preview

Post by Vladimir »

Hello,

Please add the following code to the head section on the Site.Master page:

Code: Select all

<%= Html.StiMvcViewerFxRenderScripts() %>
Thank you.
dsaddan
Posts: 3
Joined: Mon Sep 03, 2012 1:01 pm

Re: Web preview

Post by dsaddan »

There is no site.master in an MVC project. I guess you meant _Layout.cshtml. Indeed it works:

@using Stimulsoft.Report.Mvc;
<!DOCTYPE html>
<html>
<head>
<title>@ViewBag.Title</title>
<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
@Html.StiMvcViewerFxRenderScripts()
</head>

Thanks for your help.

Dror
Post Reply