Print/Export not working for some urls

Stimulsoft Reports.JS discussion
Post Reply
shweta verma
Posts: 8
Joined: Thu Mar 04, 2021 5:09 am

Print/Export not working for some urls

Post 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.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Print/Export not working for some urls

Post 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.
shweta verma
Posts: 8
Joined: Thu Mar 04, 2021 5:09 am

Re: Print/Export not working for some urls

Post by shweta verma »

Thanks for the reply.
the issue is resolved now
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Print/Export not working for some urls

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply