Support Request: Getting error -2146697209 when trying to download and open a PDF

Description

We have the same issue, Getting error -2146697209 when trying to download and open a PDF. The PDF in our case is genareted bij www.ingbank.nl by makiing a selection in the bank account en triing to print this to PDF using a button from whithin the site. Functionaly works outsite Sitekiosk on de same pc. Any ideas? Most of the forum we tried allready.

Other problem sites: banks, tax, work; all https sites with authentication needed.

Answer: (5)

Re: Getting error -2146697209 when trying to download and open a PDF 9/10/2015 3:16 PM
Hello,

The error code “-2146697209“ is from IE Webbrowser Control that the SiteKiosk Browser does use:
https://msdn.microsoft.com/en-us/library/aa768365%28v=vs.85%29.aspx
Also see: http://www.provisio.com/en-US/CustomerSupportCenter/ArticleDetails.aspx?ArticleID=565



I have checked your SiteKiosk configuration and it seems that you updated from an older SiteKiosk configuration as the SiteKiosk Player for PDF is still activated.
You should deactivate it first.

To disable the SiteKiosk Player for PDF:
- Open the SiteKiosk configuration file (…\SiteKiosk\Config\YourConfig.skcfg) with an editor (e.g. Notepad) and search for the line

<filter enabled="true" player="pdf" content="application/pdf" action="2"/>

- Then change the value from true to false

<filter enabled="false" player="pdf" content="application/pdf" action="2"/>

Note that on Windows systems with UAC activated you may need to start the Notepad application as Administrator (right mouse click-->Run as administrator) to get enough access rights for saving the changes.


As we are in contact now I deleted the other post here:
http://www.provisio.com/CustomerSupportCenter/ArticleDetails.aspx?ArticleID=19593
Please contact us only once about the same issue.


Here some further information about SiteKiosk and PDF:
https://www.provisio.com/en-US/CustomerSupportCenter/ArticleDetails.aspx?ArticleID=18223

Regards,
Michael Olbrich
Re: Getting error -2146697209 when trying to download and open a PDF 9/11/2015 12:10 PM
Even with the option <filter enabled="false" player="pdf" content="application/pdf" action="2" /> we stil get the same error message when trying to download and open a PDF.
Re: Getting error -2146697209 when trying to download and open a PDF 9/11/2015 12:15 PM
Hello,

In that case you should enable the IE Download for that URL.
Please see item 3 at this FAQ:
https://www.provisio.com/en-US/CustomerSupportCenter/ArticleDetails.aspx?ArticleID=18223
-->3. If it still doesn’t work or you want….

Regards,
Michael OLbrich
Re: Getting error -2146697209 when trying to download and open a PDF 9/11/2015 3:06 PM
That's looks like the solution, thanks!

Configuring Sitekiosk:
File Manager & Downloads
Checking Permit downloads from specified URLs only

Entering in de CONFIG by Notepad:

<msdownloaddlg-urls>
<url>*://*.*/*</url>
</msdownloaddlg-urls>
Re: Getting error -2146697209 when trying to download and open a PDF 9/11/2015 3:17 PM
Hello,

Thank you for your feedback.

If you want to allow the IE download dialog on that banking page only you even you can use:

<msdownloaddlg-urls>
      <url>https://bankieren.mijn.ing.nl//*</url>
</msdownloaddlg-urls>

On other URLs the SiteKiosk download manager still will be used then.

Regards,
Michael Olbrich
My Account
Login
Language (Tickets):