Web Resouces not found (missing)

Stimulsoft Reports.WEB discussion
Post Reply
billd
Posts: 10
Joined: Wed Feb 20, 2013 11:56 pm

Web Resouces not found (missing)

Post by billd »

Hi,
I've tried to create a report with a variable requested from user and it displays a form at the top of the report and works fine but the button images are missing (check the attachments).

I've also tried to run StiMvcViewerFx and I get an error: Microsoft JScript runtime error: 'swfobject' is undefined
The highlighted line in the cshtml file(dynamic): swfobject.embedSWF("/WebResource.axd?......
On the displayed page: To view this page ensure that Adobe Flash Player 10.2 or greater is installed.

I've checked the browser. Flash version 11.6.602.171 is installed and Enabled.

The build is 2013.1.1511.0. I had the same issues with the previous build that comes with the installation package.

Thank you,
Bill
Attachments
submit_button.png
submit_button.png (11.5 KiB) Viewed 3339 times
DDB_button.gif
DDB_button.gif (12.45 KiB) Viewed 3339 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Web Resouces not found (missing)

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Can you please send us a sample project which reproduces the issue for analysis.

Thank you.
billd
Posts: 10
Joined: Wed Feb 20, 2013 11:56 pm

Re: Web Resouces not found (missing)

Post by billd »

Hi Aleksey,
Here is the project.
The other issue is the opacity/transparancy of all drop-down boxes. You can't see the values well. It must be also related to the same problem.
Also, in IE9 the 'All Products' checkbox is not selected on the first run. I've tried to delete cache but it didn't help.

Thank you,
B.
Attachments
TestResult.zip
(11.78 MiB) Downloaded 234 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Web Resouces not found (missing)

Post by Alex K. »

Hello,

We check your project.
Please place the MvcViewer scripts @Html.Stimulsoft().RenderMvcViewerScripts() to the <head> section in the _Layout.cshtml file.

Thank you.
billd
Posts: 10
Joined: Wed Feb 20, 2013 11:56 pm

Re: Web Resouces not found (missing)

Post by billd »

Hi Aleksey,

Thank you for your reply. Moving the script line to the Layout header solved the image not showing problem.

What about the flash issue?

If I run the same project, change code on the cshtml page to display @Html.Stimulsoft().StiMvcViewerFx object and return a StiMvcViewerFx from the controller, I'm still getting the error: 'Microsoft JScript runtime error: 'swfobject' is undefined'. I've tried it in IE9, FF19 and Chrome 25.

Kind Regards,
B.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Web Resouces not found (missing)

Post by HighAley »

Hello.

We need some time to prepare an answer for you.

Thank you.
billd
Posts: 10
Joined: Wed Feb 20, 2013 11:56 pm

Re: Web Resouces not found (missing)

Post by billd »

Thank you Aleksey.

Sorry for being too pushy. I thought the flash issue slips through the cracks.

I really appriciate your help and fast responses.

Kind Regards,
B.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Web Resouces not found (missing)

Post by Alex K. »

Hello,

For MvcViewerFx you need other scripts, for this please place the following code to the <head> section in _Layout.cshtml file
@Html.Stimulsoft().RenderMvcViewerFxScripts()

Thank you.
billd
Posts: 10
Joined: Wed Feb 20, 2013 11:56 pm

Re: Web Resouces not found (missing)

Post by billd »

Thanks Aleksey.

It works now.

Kind Regards,
B.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Web Resouces not found (missing)

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