Page 1 of 1

Print/Export not working for some urls

Posted: Thu Mar 04, 2021 5:17 am
by shweta verma
Hello,

We are using Stimulsoft for print/export report.
but we have 2 types of URL in our application. i.e.,
http://localhost/mymachine.web/demo#/myworkspace and http://localhost/mymachine.web/#/myworkspace

so what I observed is print/export working with http://localhost/mymachine.web/#/myworkspace this url and whenever try to Print/Export report using http://localhost/mymachine.web/demo#/myworkspace this URL it refreshes the screen and change the url to http://localhost/mymachine.web/#/myworkspace and then it works.

I speculate that due to recently added changes in web.config could be the reason.
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By" />
<remove name="X-XSS-Protection" />
<remove name="X-Frame-Options" />
<remove name="X-Content-Type-Options" />
<remove name="Cache-Control" />
<add name="X-Frame-Options" value="SAMEORIGIN" />
<add name="X-XSS-Protection" value="1; mode=block"></add>
<add name="X-Content-Type-Options" value="nosniff" />
<add name="Cache-Control" value="no-store" />
<add name="Content-Security-Policy" value="default-src 'none'; frame-src 'self'; img-src 'self' data: blob: 'unsafe-inline'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; connect-src 'self' blob:;font-src 'self' https://fonts.gstatic.com; style-src-elem 'self' 'unsafe-inline' https://fonts.googleapis.com" />
</customHeaders>
</httpProtocol>



However no error in console and on networks tab.
Please let me know how to make the Print/Export working for both the URLs.

Re: Print/Export not working for some urls

Posted: Fri Mar 05, 2021 9:55 pm
by HighAley
Hello, Shweta.

Sorry, I don't see how this issue is related to our product.
Are you sure that the issue is on our side?
Could you send us a sample that will let us reproduce the issue?

Thank you.

Re: Print/Export not working for some urls

Posted: Wed May 19, 2021 6:12 am
by shweta verma
Thanks for the reply.
the issue is resolved now

Re: Print/Export not working for some urls

Posted: Wed May 19, 2021 11:29 am
by Lech Kulikowski
Hello,

You are welcome.