Support Request: "An error occured while trying to read your card"

Reproduction

I use an Omnikey 3121 with a smartcard we bought from you (testkit).
I use the testscript found in the SiteKiosk Help (SmartCard ScriptAPI) to do the reading of the carddata.


When inserting the card, about 1 time in 10 I get a dialog box in the middle of the screen "An error occured while trying to read your card". (see attached screenshot)
Indeed, the data does not get loaded by the script. When the error does not appear, the data gets read.


1° Is there a way to block the display of that dialog? I don't want my users to see it.
2° Do you have any ideas why I get so many bad reads? It is definitely not the card or the cardreader. I have tried a replacement for both.

Description

(btw; Platform is Windows 7, but could not select that in dropdown list)

Answer: (2)

Re: "An error occured while trying to read your card" 2/25/2011 1:42 PM
Hello,

SiteKiosk is just using the corresponding Windows API to read the card and generally there is no known issue.
Regarding your description it can apply to any timing issue but also to a problem with the card reader, driver for the card reader.
(It might also apply to the issue that on Windows 7 there is a plug & play function for SmartCards that you might disable)

To hide the dialog you can edit the SkinDef XML of the skin you are using.

Example IE Skin:
“IESkindef.xml” at “...\SiteKiosk\Skins\IESkin”

Edit the line:

<dialog id="acos-readerror" width="473" height="122" topmostwindow="true" titlebar="true" scrollbars="false" border="true" sysmenu="false">SiteCash\html\ACOSCard\ErrorReadingCard.htm</dialog>


Change it to

<dialog id="acos-readerror" width="0" height="0" topmostwindow="true" titlebar="true" scrollbars="false" border="true" sysmenu="false">SiteCash\html\ACOSCard\ErrorReadingCard.htm</dialog>


Regards,
Michael Olbrich
Re: "An error occured while trying to read your card" 2/25/2011 2:47 PM
ok thank you for this information. I will see what I can do with adjusting the dialog.
My Account
Login
Language (Tickets):