Dynamic compression

Stimulsoft Reports.WEB discussion
Post Reply
jpverdu
Posts: 32
Joined: Thu Mar 18, 2010 3:12 pm

Dynamic compression

Post by jpverdu »

Hi,

We have purchased ultimate version of your soft, and we use web report in production context.

Some weeks ago we encountered an issue with the word "Demo" written accross a blank page on existant reports. Something like a demo version instead of a production version.

You tell us to stop dynamic pages compression , and the problem was solved.

But we have lost the benefits of dynamic compreesion for the whole application, and our customers complain about poor performance, for the whole application.

Is there another way to solve the problem of "Demo" ? Where is the cache of the swf object, that we could specify not be compressed ?

Thanks by advance
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Dynamic compression

Post by Vladimir »

Hello,

You can disable compression for specific pages in your web application. Please try to follow the steps listed on the Microsoft documentation site:

http://www.microsoft.com/technet/prodte ... x?mfr=true

This method should disable data compression only for the Designer.Web:
To disable static compression for only a single directory, first enable global static compression (if it is disabled) and then disable static compression at that directory. For example, to enable static compression for a directory at http://www.contoso.com/Home/StyleSheets, perform the following steps:

1.Enable global static compression by executing the following command at a command prompt:
adsutil set w3svc/filters/compression/parameters/HcDoStaticCompression true

2.Disable static compression at this directory by executing the following command at a command prompt:
adsutil set w3svc/1/root/Home/StyleSheets/DoStaticCompression false
Thank you.
jpverdu
Posts: 32
Joined: Thu Mar 18, 2010 3:12 pm

Dynamic compression

Post by jpverdu »

thank you for the response

but what is the directory we should place instead of "Stylesheets" in the sample ?

there's no directory "Designer.Web" ...
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Dynamic compression

Post by Vladimir »

Hello,

Here we mean a Web application directory. For example, if you have a designer start page Designer.aspx, located in a \webapp\designer directory, you will need to disable compression for that subdirectory.

Thank you.
jpverdu
Posts: 32
Joined: Thu Mar 18, 2010 3:12 pm

Dynamic compression

Post by jpverdu »

Hi,

I have a little idea for a solution. I created a directory named "Stimulsoft" where I put my show_report.aspx page (the page that contains the report designer.

I activate dynamic compression for the whole site, except on this directory. It works, the only remaining problem is that I can't load the fr.xml language file, which is located in the Localization directory.

How can I do that ?
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Dynamic compression

Post by Vladimir »

Hello,

For this you need to specify the localization directory relative to the viewer or designer page. To do this, please set the LocalizationDirectory property of StiWebViewerFx or StiWebDesigner component.

Thank you.
jpverdu
Posts: 32
Joined: Thu Mar 18, 2010 3:12 pm

Dynamic compression

Post by jpverdu »

Hi,

the problem is solved

thank u
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Dynamic compression

Post by Andrew »

Hello,

Great!

Have a nice day!
Thank you.
Post Reply