Hi,

I have the following error when writing to a smartcard:
"com.gemplus.opencard.service.gpk.GPKException: ISO error (67 00):
Incorrect Range or address range error." 

The exception occurs when I try the following code: 
   CardRequest cr = new CardRequest
(CardRequest.ANYCARD,null,FileAccessCardService.class);
   SmartCard sm = SmartCard.waitForCard (cr);
   FileAccessCardService facs =
(FileAccessCardService)sm.getCardService(FileAccessCardService.class,true);
   CardFile root = new CardFile(facs);  // ** exception here

I have no problems reading from the card. My setup is as follows:
- Terminal: GemPC410
- Card: MPCOS (of some type)
- OCF: 1.2
- OS: WindowsNT
- Java: 1.2.2
- (CardServices and CardTerminals drivers are the latest versions from
Gemplus)

Regards,
-- 
Domenic Catania                                 
ADI Limited - Information Systems, Software & Services
(IS3)                             
Phone:  +61 8 9333 8816   
Fax:    +61 8 9333 8889
Mobile: +61 0412 868 854
Email:  [EMAIL PROTECTED]
--


---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
!                           [EMAIL PROTECTED]
! containing the word
!                           unsubscribe 
! in the body.

Reply via email to