Unable to delete printers or view advanced network options

Hi,
I'm running 10.9.1 (Mavericks) on my MacBook Pro 13 Retina, and for some time now I've not been able to do a number of actions:
1. I cannot delete printers - I can add them, but not delete them. Clicking the "-" button next to a printer does nothing.
2. I cannot view "Advanced" network preferences... clicking the button does nothing
3. I cannot view "Edit Locations" in network preferences... again clicking the button does nothing
It feels like these preferences would normally bring up a password prompt.
I've tried rebooting, in fact it has been like this for many months. I've tried deleting com.apple.systempreferences.plist from ~/Library/Preferences and that didn't help.
Any advice greatly appreciated! Would prefer to not have to delete my user account to resolve this as I've got things set up quite nicely.
Cheers,
Alasdair

Hi All,
Having searched the forums a bit more, I found this solved my issue:
defaults write NSGlobalDomain NSUseLeopardWindowValues YES
defaults write com.apple.Safari NSUseLeopardWindowValues NO
killall SystemUIServer
This solution was found here:
https://discussions.apple.com/message/23939515#23939515#23939515
https://discussions.apple.com/thread/5484035?start=90&tstart=0

Similar Messages

  • Oracle Advanced Networking Option with Linux

    I want to set up a linux client that works with an Solaris based Oracle 8i EE server using an encrypted connection.
    I have successfully done this with NT clients. However the Linux client responds an "ORA-12657: No algorithms installed"
    Isn't Oracles Advanced Networking Option available for Linux?
    If it is, how do I install it?
    Martin
    null

    Check to see if ANO is linked in with SQL*Plus by running the following:
    cd to oracle_home/bin
    adapters sqlplus
    If after running the adapters command and ANO does not show as being linked in,
    perform the following:
    1. Change directorys to oracle home/sqlplus/lib
    2. Run the following unix command to relink SQL*Plus:
    make -F ins_sqlplus.mk install
    3. Change to oracle home/bin directory.
    4. Re-run "adapters sqlplus" to verify that ANO is now linked in.

  • Advanced Networking Option over Win2K

    I had high hopes for getting Oracle's Kerberos working over Win2K seamlessly, but the Oracle Advanced Networking Option only had information on using Kerberos over UNIX. With Win2K it wasn't apparent where even to begin. I have Enterprise 8i installed and a licensed Advanced Networking CD which I installed on both client and server, but I don't know where to begin to configure Kerberos for Oracle over Win2K. Anybody out there doing this?

    Martin Trzaskalik (guest) wrote:
    : Im am currently evaluating Oracle8 Release 8.0.5.0.0 -
    : Production on Linux.
    : I would like to use encryption for the communication of a
    : remote client with the server.
    : I therefore activated encryption on the client:
    : SQLNET.ENCRYPTION_TYPES_CLIENT= (DES, RC4_40, DES40, RC4_56,
    : RC4_128)
    : SQLNET.ENCRYPTION_CLIENT = required
    : After that any connection to the server failed with:
    : ORA-12657: No algorithms installed
    : So far I have used no sqlnet.ora on the server. So I created
    : one and added:
    : SQLNET.ENCRYPTION_TYPES_SERVER= (DES, RC4_40, DES40, RC4_56,
    : RC4_128)
    : SQLNET.ENCRYPTION_SERVER = requested
    : After that any atempt to connect to the db from any host
    : lead to:
    : ORA-12649: Unknown encryption or data integrity algorithm
    : I think that I have installed the full distribution provided by
    : oracle. So my question is:
    : Are there any encryption algorithm shipped with this
    : distribution, and if so, how do I use them?
    : I should add that I am an Oracle newbie.
    : Martin
    Oracle8 for Linux is at the moment avlaible only in the standard
    version. To use the andvanced networking option you need
    the Enterprise Edition or Oracle8i. At the moment these products
    aren't available for Linux. You'll have to wait for their release.
    Stefan
    null

  • EBS R12.1 with Oracle Advance Security option  - is it certified ?

    Hi,
    Environment details are below:
    EBS R12.1.1
    Oracle database version is 10g R2 (10.2.0.4) .
    OS is Solaris 10
    We are looking for an option of implementing Oracle advanced security option (ASO) .But want to know if its certified with EBS R12.1.1 / 10g R2 database.
    I checked few links but I'm not clear if its certified.
    http://blogs.oracle.com/stevenChan/2008/07/10gr2_10204_certified_with_apps_11i.html
    from the above link i understand its certified on 11i (11.5.10 CU2 only)
    <<Advanced Security Option / Advanced Networking Option (ASO / ANO) (11.5.10.CU2 only)>>
    Dees anyone know about this certification. If you have any pointers please let me know.
    Thanks for your time.
    Note : ASO is certified with 11g database. 11gR1 but I'm looking for 10g R2 (10.2.0.4)
    http://blogs.oracle.com/mt/mt-search.cgi?blog_id=101&tag=EBS%2012&limit=20
    Cheers,
    sbs
    Edited by: sbs on Oct 14, 2009 5:23 PM

    Hi,
    Please see this link.
    10gR2 10.2.0.4 Database Certified with Apps 12
    http://blogs.oracle.com/stevenChan/2008/08/10gr2_10204_database_certified_with_apps_12.html
    Regards,
    Hussein

  • Unable to delete workbooks in Discoverer Viewer

    Hi All,
    I could not find any option in Viewer to delete the workbook created by me. Does that mean, users can only save workbooks but cannot delete them in Viewer?
    Thanks.

    Hi
    RE: Oracle gotta see what mess is created after saving the workbooks in Viewer I agree but you are going to have to take some of the responsibility because you allowed the Viewer users to have access to the save privilege.
    Please see Russ' excellent comments. Russ and I see eye to eye on this and I endorse his comments 100% - you should not allow Viewer users to save - period. Russ and I have over 20 years of experience on Discoverer between us and rarely do our opinions differ by very much. This is not surprising because if there's a right way to do something - there's a right way. Sometimes there's an alternative way but rarely are there two right ways.
    The right way to manage Viewer is to withdraw the save privilege from the Viewer users. This of course would not prevent a Plus user from saving in Viewer but it will stop the mess that you are seeing today. Thus, the solution is not to add the delete functionality but to withdraw the save functionality.
    In my experience, Viewer usage should be high, somewhere between a 70:30 to 90:10 ratio when compared to Plus. Because of this high number of users, it is also vitally important that they get trained well on the Viewer tool. Too many companies fail to invest into Viewer training and they suffer greatly because of it. In a lot of companies they assign the training to one of the Plus users, someone who a) is not a trainer, and b) does not know the Viewer tool inside out and back to front.
    I'm not for one second saying that you are in this situation, just saying that this is what typically happens. The end result though is user dissatisfaction which leads to misuse of the system and ultimately on to disuse of the system, with everyone either going back to their old Excel way of working or being granted access to Plus.
    You're definitely on the right path if you are using Viewer so please keep going. Its a great tool for what it does - viewing of reports. You just need to reel in some of that power.
    Best wishes
    Michael

  • Unable to delete rows from Target.

    Hello everyone,
    I am unable to delete rows from target data store. Here is what I have done.
    Source Oracle 10g - staging 11g - Target Oracle 11g
    I have implemented consistent set CDC on data model in staging and added 2 tables to CDC and turned on the journals . Both tables A and B are joined together via Column E (primary key of table A). Table A is the master table(has foreign key). Table B is child table. Target column consists of all the columns of both table A and B.
    Following is what I am able to do and not to do
    ABLE TO DO. If data is inserted into both or any of journalized tables I can successfully load the same in target by performing following steps. 1. Extend the consistency window at model level. Lock subscriber. Run the interface with any source table marked as Journalized data only. Unlock subscriber and purge journal.
    ABLE TO DO. If data is updated in any of the journalized table, along with the steps mentioned above I can execute two interfaces. In one Interface table A marked as journalized data only Joined with table B and in second interface table B marked as Journalized data only joined to table a.
    NOT ABLE TO DO If data is deleted from one or both tables it shows up as journalized data in JV$D<tablename> marked as D with date and subscriber name but when i run the interface by extending the window , locking subscriber executing both interfaces, unlock subscriber purge journals. no change takes place is Target. After unlocking subscriber step, journalized data gets removed from JV$D view. Please let me know what I am doing wrong here. How can rows delted from source can also be deleted from TARGET?
    NOTE : In the flow table SYNC_JRNL_DELETES is YES
    In moel under jounalized table tab Table have following order Table A folloed by Table B
    Thanks in advance
    Greenwich

    Sorry I still do not get it. when you say "Its a legacy app", are you talking about the VB.NET app ?
    If so then I repeat my self :-) Why not to connecting to the SQL server directly?
    * even if you need information from several databases (for example ACCESS + SQL Server), in most cases, it is much better to connect directly and get each information to the app. Then in your app you can combine the information and analyse it
    [Personal Site] [Blog] [Facebook]
    Access app is the legacy app. 

  • Unable to delete "(no title)" Folder Entry in history sidebar

    Hello. Recently I got a strange issue in my history sidebar on Firefox Ver. 35 beta.
    Today I noticed I have a "(no title)" folder on the history sidebar when I set the sort view to date and site. I tried to delete it by clicking on delete and on forget about this site but it doesn't gets removed.
    I noticed I had this entry in 4 different dates which are in today's history, in last 7 days history, in this month history and on November's history. The rest of the days/months doesn't have such entry.
    I know it has to do with the places.sqlite file since I removed it (previous backup of my profile folder). Obviously the history all of it disappeared (my bookmarks and bookmarks toolbar weren't affected) and the empty history only showed the homepage I have set for Firefox to open when I run the browser.
    I really don't know what triggers this behavior. Other than that everything is working normally. No crashes, no slowdowns, no nothing. Just the "(no title)" issue.
    As you can see on the screenshot, that entry only has the copy, delete and forget about this site options available, the rest are grayed out, as in not available.
    I thought in ask because I was unable to remove that entry. And I don't want to lose my whole history because I have a lot of sites I visit there.
    Maybe adding a way for this kind of entries to be removed would be a nice solution.
    Thank you in advance :)

    If you click on the no title history entry, does it take you to a webpage? And if so, if you looke at the head of the html is there an entry
    <title>HTML Reference</title>
    In the past when an entry like this could not be deleted it was mentioned it may have to do with sync, do you use sync, and if you do a "sync now" does this entry go away?
    Also this was seen with migration of bookmarks, but was resolved. If you have the url of the no title page this may narrow down a reason, but not a work around.

  • Unable to verify the printer on the network

    Hi,
    I have a home IP network with an HP4100N network laser-printer connected via JetDirect card to a powerline device and then to a hub.
    Up until recently, all computers on my network could successfully print to the printer via the JetDirect card and IP (192.168.0.100).
    HOWEVER, my girlfriends MacBook Pro running Mac OX 10.9.5 suddenly stopped printing to the printer and things were just starting to build up in the print queue. The printer continues to print normally for everyone else on Mac and even a Windows 7 machine, eeek!
    Turning the printer on and off a couple of times, resetting the network etc, I then finally deleted the print queue and tried to setup a new connection to the printer again on her computer via the prefs and the IP JetDirect socket option (like I have done on all the other computers).
    When I enter the printer IP address into the Mac Printer & Scanners settings, Mac OS tried to interrogate printer model etc and it comes back with a Generic Postscript Printer profile and not the HP specific one. (Again, every other computer can setup fine at this point!)
    On her computer, when you try and install the printer with the wrong profile (or even the correct one if manually chosen), it eventually says:
    'Unable to verify the printer on your network'.
    Network utility:
    I then tried using the Network Utility to ping the printer from my laptop, this works.
    I tried to ping the printer from her computer, this doesn't work and it times out!
    then...
    I tried pinging her MBP from my MBP and this works. Then I pinged my MBP from her MBP, this works.
    So her computer is on the network, but is not able to see the printer.
    I then hard- IP'd a new IP address on the printer (just to rule this out), setup all the computers to this new printer, all worked well except for her computer, which once again couldn't see the printer. (I can't ping to it either again from her computer, even with the new IP!)
    I think I've tried all the obvious things, updating software, resetting things, turning the firewall off completely....but all to no avail.
    The problem, it seems to me, is with her MBP rather than with the network or the printer (as all other computers can print!).
    So...the million dollar question is... Can anyone tell me what is going on?! How do I get her computer to print to this printer again??
    thanks very much.

    Yeah, I would agree with you completely Greg, but the baffling thing is it just affects this one Mac. How come it routes 'selectively' so to speak? It works for everyone (incl. Windows 7 machine) but not for my GF's MBP... until such a time that it suddenly feels like working again (all by itself by the looks of things).
    You are right in saying that it defo appears to be some kind of routing problem, but I'm having difficulty in finding out where the problem actually is. Is it the router, the printer or her computer? Could it be the firewall on the router blocking it for her and not for others for some reason? If it was the router, you would expect it to tarnish everyone with the same brush, would you not?
    Whilst the HP printer has the static IP manually set up on that side (192.168.0.100), the router hasn't specifically been told that the printer has the .0.100 address hard coded into it I don't think, so there is a possibility for it to be going weird here. I'll need to look at the router config page tonight and just lock that 0.100 address to the MAC HW of the printer. Perhaps that will do the trick, but still wouldn't explain why it's doing it selectively just to that one computer (not even randomly to others on the network).
    I did try the safe boot too. Within that I ran Disk Utility to fix some file permission errors (there were some group permission problems for the new HP software that I had installed on her computer actually, which DU had fixed). Whilst running the utility, it did throw back issues about the EFI partition map being corrupted etc, but that seems to be a separate problem with the disk utility software not being able to run/fix from the disk it is being booted from, even in safe mode. But this is being discussed elsewhere on Apple Forums and I don't think it's connected to the IP problem I'm having.
    Whilst I was doing the Safe Boot thing, I got sidetracked (isn't that always the case when you troubleshoot) and didn't try and set the printer up within that environment, but instead was trying to figure out why I was getting the EFI partition Map errors. It turned into a late night and I had to hit the sack at some point...
    I tried IPP too. Putting the Printers IP into the address field on her computer didn't result in the HP Printer profile being selected when it tried to find the printer, this stayed as Generic PostScript. I didn't explore any further on that occasion to see if I could manually set it all up and print to it or if the set-up would just hang again. I figured if the IP address of the printer isn't visible to the computer (ie. no route to host), then changing to IPP wouldn't work either.
    I'll give these options another go tonight when I get my hands on her computer again.

  • Unable to delete nookmarks

    I am using Safari 1.3.2. When I highlight a
    bookmark and press 'delete' I get the spinning
    colored small ball and I have to force quit
    Safari. Therefore I am now unable to delete
    any bookmark.
    Thanks in advance for any help provided
    which will help me solve this.

    It means that it ignores any change to the Security IDentifier of the object (user object in Active Directory). If you're using Claims-enabled Web Applications, this must be used. For Classic Web Applications, this must be used if during the migration to
    the new domain, sidHistory was not enabled (sidHistory migrates the AB\UserName objectSid value to XY\UserName sidHistory value).
    For more information:
    http://technet.microsoft.com/en-us/library/cc779590(v=WS.10).aspx
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Unable to delete applet.....

    Hi all,
    I am unable to delete one applet which I have loaded in the card.
    There are 2 applets, one is purse and other is loyalty. And am using shareable interface in which loyalty is the server and purse is the client. I can delete the purse applet but i can't delete the loyalty from the card.
    Here is my code : There are in all 3 codes, one is purse, second is loyalty code and third is the shareable interface code. Can some one look at the code and tell me what's wrong in this programs.
    package com.gemplus.examples.loyalty;
    import javacard.framework.*;
    import visa.openplatform.*;
    public class Loyalty extends javacard.framework.Applet implements TestInterface
    static byte points ;
    protected Loyalty(byte[] buffer, short offset, byte length)
    // data offset is used for application specific parameter.
    // initialization with default offset (AID offset).
    short dataOffset = offset;
    if(length > 9) {
    // Install parameter detail. Compliant with OP 2.0.1.
    // | size | content
    // |------|---------------------------
    // | 1 | [AID_Length]
    // | 5-16 | [AID_Bytes]
    // | 1 | [Privilege_Length]
    // | 1-n | [Privilege_Bytes] (normally 1Byte)
    // | 1 | [Application_Proprietary_Length]
    // | 0-m | [Application_Proprietary_Bytes]
    // shift to privilege offset
    dataOffset += (short)(1 + buffer[offset]);
    // finally shift to Application specific offset
    dataOffset += (short)(1 + buffer[dataOffset]);
    // checks wrong data length
    if(buffer[dataOffset] != 4)
    // return received proprietary data length in the reason
    ISOException.throwIt((short)(ISO7816.SW_WRONG_LENGTH + offset + length - dataOffset));
    // go to proprietary data
    dataOffset++;
    // points = 0;
    // register this instance
    register(buffer, (short)(offset + 1), (byte)buffer[offset]);
    * Method installing the applet.
    * @param bArray the array constaining installation parameters
    * @param bOffset the starting offset in bArray
    * @param bLength the length in bytes of the data parameter in bArray
    public static void install(byte[] bArray, short bOffset, byte bLength) throws ISOException
    /* applet instance creation */
    new Loyalty (bArray, bOffset, (byte)bLength);
    * Select method returning true if applet selection is supported.
    * @return boolean status of selection.
    public boolean select()
    /* return status of selection */
    return true;
    * Deselect method.
    public void deselect()
    return;
    public void process(APDU apdu) throws ISOException
              // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
              ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
                   apdu.setIncomingAndReceive();
              byte[] apduBuffer = apdu.getBuffer();
    // writes the balance into the APDU buffer after the APDU command part
              creditPoints((byte)0x00);     
              apduBuffer[5] = (byte)(points >> 8) ;
              apduBuffer[6] = (byte)points ;
    // sends the APDU response
    // switches to output mode
              apdu.setOutgoing() ;
    // 2 bytes to return
              apdu.setOutgoingLength((short)2) ;
    // offset and length of bytes to return in the APDU buffer
              apdu.sendBytes((short)5, (short)2) ;
         public void creditPoints(byte pTobeCredited)
    points += pTobeCredited;
    public Shareable getShareableInterfaceObject(AID client, byte param){
              if(param != (byte)0x00)
                   return null;
         return (this);
    second code is :
    package com.gemplus.examples.oppurse;
    * Imported packages
    import javacard.framework.*;
    import visa.openplatform.*;
    import com.gemplus.examples.loyalty.*;
    public class OPPurse extends javacard.framework.Applet
    // the APDU constants for all the commands.
         private final static byte INS_GET_BALANCE = (byte)0x30 ;
         private final static byte INS_DEBIT      = (byte)0x31 ;
         private final static byte INS_CREDIT      = (byte)0x32 ;
         private final static byte INS_VERIFY_PIN = (byte)0x33 ;
         private final static byte INS_SET_NAME                    = (byte)0x34 ;
         private final static byte INS_GET_NAME                    = (byte)0x35 ;
    // the OP/VOP specific instruction set for mutual authentication
         private final static byte CLA_INIT_UPDATE = (byte)0x80 ;
         private final static byte INS_INIT_UPDATE = (byte)0x50 ;
         private final static byte CLA_EXTERNAL_AUTHENTICATE = (byte)0x84 ;
         private final static byte INS_EXTERNAL_AUTHENTICATE = (byte)0x82 ;
    // the PIN validity flag
    private boolean validPIN = false;
    // SW bytes for PIN Failed condition
         // the last nibble is replaced with the number of remaining tries
         private final static short      SW_PIN_FAILED = (short)0x63C0;
         private final static short SW_FAILED_TO_OBTAIN_SIO = (short)0x63D0;
         private final static short SW_LOYALTY_APP_NOT_EXIST = (short)0x63E0;
    // the illegal amount value for the exceptions.
    private final static short ILLEGAL_AMOUNT = 1;
    // the maximum balance in this purse.
    private static final short maximumBalance = 10000;
    // the current balance in this purse.
    private static short balance;
    /*     byte[] loyaltyAID = new byte[]{ (byte)0xA0,(byte)0x00,(byte)0x00,(byte)0x00,
              (byte)0x19,(byte)0xFF,(byte)0x00,(byte)0x00,
              (byte)0x00,(byte)0x00,(byte)0x00,(byte)0x00,
              (byte)0x00,(byte)0x00,(byte)0x02,(byte)0x02};*/
    /* Security part of declarations */
    // the Security Object necessary to credit the purse
    private ProviderSecurityDomain securityObject = null;
    // the security channel number
    byte secureChannel = (byte)0xFF;
    // the authentication status
    private boolean authenticationDone = false;
    // the secure channel status
    private boolean channelOpened = false;
         private byte[] nameBuffer = new byte[6];
    * Only this class's install method should create the applet object.
    protected OPPurse(byte[] buffer, short offset, byte length)
    // data offset is used for application specific parameter.
    // initialization with default offset (AID offset).
    short dataOffset = offset;
    if(length > 9) {
    // Install parameter detail. Compliant with OP 2.0.1.
    // | size | content
    // |------|---------------------------
    // | 1 | [AID_Length]
    // | 5-16 | [AID_Bytes]
    // | 1 | [Privilege_Length]
    // | 1-n | [Privilege_Bytes] (normally 1Byte)
    // | 1 | [Application_Proprietary_Length]
    // | 0-m | [Application_Proprietary_Bytes]
    // shift to privilege offset
    dataOffset += (short)( 1 + buffer[offset]);
    // finally shift to Application specific offset
    dataOffset += (short)( 1 + buffer[dataOffset]);
    // checks wrong data length
    if(buffer[dataOffset] != 2)
    // return received proprietary data length in the reason
    ISOException.throwIt((short)(ISO7816.SW_WRONG_LENGTH + offset + length - dataOffset));
    // go to proprietary data
    dataOffset++;
    } else {
    // Install parameter compliant with OP 2.0.
    if(length != 2)
    ISOException.throwIt((short)(ISO7816.SW_WRONG_LENGTH + length));
              // retreive the balance value from the APDU buffer
    short value = (short)(((buffer[(short)(dataOffset + 1)]) & 0xFF)
              | ((buffer[dataOffset] & 0xFF) << 8));
    // checks initial balance value
    if(value > maximumBalance)
    ISOException.throwIt(ISO7816.SW_DATA_INVALID);
              // initializes the balance with the APDU buffer contents
    balance = value;
    // register this instance as an installed Applet
    register();
    // ask the system for the Security Object associated to the Applet
    securityObject = OPSystem.getSecurityDomain();
    // applet is personalized and its state can change
    OPSystem.setCardContentState(OPSystem.APPLET_PERSONALIZED);
    // build the new ATR historical bytes
    byte[] newATRHistory = new byte[]
    // put "OPPurse" in historical bytes.
    (byte)0x4F, (byte)0x50, (byte)0x50, (byte)0x75, (byte)0x72, (byte)0x73, (byte)0x65
    // !!! ACTIVATED IF INSTALL PRIVILEGE IS "Default Selected" (0x04). !!!
    // change the default ATR to a personalized's one
    OPSystem.setATRHistBytes(newATRHistory, (short)0, (byte)newATRHistory.length);
    * Method installing the applet.
    * @param installparam the array constaining installation parameters
    * @param offset the starting offset in installparam
    * @param length the length in bytes of the data parameter in installparam
    public static void install(byte[] installparam, short offset, byte length )
    throws ISOException
    // applet instance creation with the initial balance
    new OPPurse(installparam, offset, length );
    * Select method returning true if applet selection is supported.
    * @return boolean status of selection.
    public boolean select()
    validPIN = false;
    // reset security if used.
    // In case of reset deselect is not called
    reset_security();
    // return status of selection
    return true;
    * Deselect method.
    public void deselect()
    // reset security if used.
    reset_security();
    return;
    * Method processing an incoming APDU.
    * @see APDU
    * @param apdu the incoming APDU
    * @exception ISOException with the response bytes defined by ISO 7816-4
    public void process(APDU apdu) throws ISOException
    // get the APDU buffer
    // the APDU data is available in 'apduBuffer'
    byte[] apduBuffer = apdu.getBuffer();
    // the "try" is mandatory because the debit method
    // can throw a javacard.framework.UserException
    try
         switch(apduBuffer[ISO7816.OFFSET_INS])
    case INS_VERIFY_PIN :
         verifyPIN(apdu);
    break ;
    case INS_GET_BALANCE :
         getBalance(apdu) ;
    break ;
    case INS_DEBIT :
         debit(apdu) ;
    break ;
                        case INS_SET_NAME :
                             setName(apdu);
                        break;
                        case INS_GET_NAME :
                             getName(apdu);
                        break ;
    case INS_CREDIT :
         credit(apdu) ;
    break ;
    case INS_INIT_UPDATE :
    if(apduBuffer[ISO7816.OFFSET_CLA] == CLA_INIT_UPDATE)
    // call initialize/update security method
         init_update(apdu) ;
    else
    // wrong CLA received
    ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    break ;
    case INS_EXTERNAL_AUTHENTICATE :
    if(apduBuffer[ISO7816.OFFSET_CLA] == CLA_EXTERNAL_AUTHENTICATE)
    // call external/authenticate security method
         external_authenticate(apdu) ;
    else
    // wrong CLA received
    ISOException.throwIt(ISO7816.SW_CLA_NOT_SUPPORTED);
    break ;
    case ISO7816.INS_SELECT :
    break ;
    default :
    // The INS code is not supported by the dispatcher
         ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED) ;
    break ;
         }     // end of the switch
    } // end of the try
              catch(UserException e)
    // translates the UserException in an ISOException.
              if(e.getReason() == ILLEGAL_AMOUNT)
    throw new ISOException ( ISO7816.SW_DATA_INVALID ) ;
    //- P R I V A T E M E T H O D S -
         * Handles Verify Pin APDU.
         * @param apdu APDU object
         private void verifyPIN(APDU apdu)
    // get APDU data
              apdu.setIncomingAndReceive();
    // get APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
    // check that the PIN is not blocked
    if(OPSystem.getTriesRemaining() == 0)
    OPSystem.setCardContentState(OPSystem.APPLET_BLOCKED);
    // Pin format for OP specification
    // |type(2),length|nible(1),nible(2)|nible(3),nible(4)|...|nible(n-1),nible(n)|
    // get Pin length
    byte length = (byte)(apduBuffer[ISO7816.OFFSET_LC] & 0x0F);
    // pad the PIN ASCII value
    for(byte i=length; i<0x0E; i++)
    // only low nibble of padding is used
    apduBuffer[ISO7816.OFFSET_CDATA + i] = 0x3F;
    // fill header TAG
    apduBuffer[0] = (byte)((0x02 << 4) | length);
    // parse ASCII Pin code
    for(byte i=0; i<0x0E; i++)
    // fill bytes with ASCII Pin nibbles
    if((i & 0x01) == 0)
    // high nibble
    apduBuffer[(i >> 1)+1] = (byte)((apduBuffer[ISO7816.OFFSET_CDATA + i] & 0x0F) << 4);
    else
    // low nibble
    apduBuffer[(i >> 1)+1] |= (byte)(apduBuffer[ISO7816.OFFSET_CDATA + i] & 0x0F);
    // verify the received PIN
    // !!! WARNING PIN HAS TO BE INITIALIZED BEFORE USE !!!
    if(OPSystem.verifyPin(apdu, (byte)0))
    // set PIN validity flag
    validPIN = true;
    // if applet state is BLOCKED then restore previous state (PERSONALIZED)
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
    OPSystem.setCardContentState(OPSystem.APPLET_PERSONALIZED);
    return;
         // the last nibble of returned code is the number of remaining tries
              ISOException.throwIt((short)(SW_PIN_FAILED + OPSystem.getTriesRemaining()));
    * Performs the "getBalance" operation on this counter.
    * @param apdu The APDU to process.
    private void getBalance( APDU apdu )
    // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
    // get the APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
    // writes the balance into the APDU buffer after the APDU command part
              apduBuffer[5] = (byte)(balance >> 8) ;
              apduBuffer[6] = (byte)balance ;
    // sends the APDU response
    // switches to output mode
              apdu.setOutgoing() ;
    // 2 bytes to return
              apdu.setOutgoingLength((short)2) ;
    // offset and length of bytes to return in the APDU buffer
              apdu.sendBytes((short)5, (short)2) ;
         private void setName(APDU apdu)
              // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
              // the operation is allowed only if master pin is validated
         if(!validPIN)
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
              byte[] apduBuffer = apdu.getBuffer();
              apdu.setIncomingAndReceive();     
              for(short i=0,k=5;i<6;i++,k++)
                   nameBuffer[i] = apduBuffer[k];
         }//end of setName
         private void getName(APDU apdu)
              // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
                   byte[] apduBuffer = apdu.getBuffer();
                   for(short i=5, k=0;i<11;i++,k++)
                        apduBuffer=nameBuffer[k];
                   apdu.setOutgoing();
                   apdu.setOutgoingLength((short)6);
                   apdu.sendBytes((short)5,(short)6);
         }//end of storeName
    * Performs the "debit" operation on this counter.
    * @param apdu The APDU to process.
    * @exception ISOException If the APDU is invalid.
    * @exception UserException If the amount to debit is invalid.
    private void debit(APDU apdu) throws ISOException, UserException
    // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
    // the operation is allowed only if master pin is validated
         if(!validPIN)
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    // get the APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
         // Gets the length of bytes to recieved from the terminal and receives them
    // If does not receive 4 bytes throws an ISO.SW_WRONG_LENGTH exception
              if(apduBuffer[4] != 2 || apdu.setIncomingAndReceive() != 2)
              ISOException.throwIt(ISO7816.SW_WRONG_LENGTH) ;
              // Reads the debit amount from the APDU buffer
    // Starts at offset 5 in the APDU buffer since the 5 first bytes
    // are used by the APDU command part
              short amount = (short)(((apduBuffer[6]) & (short)0x000000FF)
    | ((apduBuffer[5] << 8 ) & (short)0x0000FF00));
    // tests if the debit is valid
    if((balance >= amount) && (amount > 0))
    // does the debit operation
    balance -= amount ;
    // writes the new balance into the APDU buffer
    // (writes after the debit amount in the APDU buffer)
    apduBuffer[7] = (byte)(balance >> 8) ;
    apduBuffer[8] = (byte)balance ;
    // sends the APDU response
    apdu.setOutgoing() ; // Switches to output mode
    apdu.setOutgoingLength((short)2) ; // 2 bytes to return
    // offset and length of bytes to return in the APDU buffer
    apdu.sendBytes((short)7, (short)2) ;
              /*short points = 10;
    AID loyaltyID = JCSystem.lookupAID(loyaltyAID, (short)0, (byte)loyaltyAID.length);
              if(loyaltyID == null)
                   ISOException.throwIt((short)(SW_LOYALTY_APP_NOT_EXIST));
              TestInterface sio = (TestInterface)(JCSystem.getAppletShareableInterfaceObject(loyaltyID, (byte)0x00));
              if(sio == null)
                   ISOException.throwIt((short)(SW_FAILED_TO_OBTAIN_SIO));
              sio.creditPoints(points);*/
    else
    // throw a UserException with illegal amount as reason
    throw new UserException(ILLEGAL_AMOUNT) ;
    /* byte points = (byte)0x0A;
              //short points = 10;
    AID loyaltyID = JCSystem.lookupAID(loyaltyAID, (short)0, (byte)loyaltyAID.length);
              if(loyaltyID == null)
                   ISOException.throwIt((short)(SW_LOYALTY_APP_NOT_EXIST));
              TestInterface sio = (TestInterface)JCSystem.getAppletShareableInterfaceObject(loyaltyID, (byte)0x00);
              if(sio == null)
                   ISOException.throwIt((short)(SW_FAILED_TO_OBTAIN_SIO));
              sio.creditPoints(points);*/
    * Performs the "credit" operation on this counter. The operation is allowed only
    * if master pin is validated
    * @param apdu The APDU to process.
    * @exception ISOException If the APDU is invalid or if the amount to credit
    * is invalid.
    private void credit(APDU apdu) throws ISOException
    // check valid Applet state
    if(OPSystem.getCardContentState() == OPSystem.APPLET_BLOCKED)
                   ISOException.throwIt(ISO7816.SW_COMMAND_NOT_ALLOWED);
    // the operation is allowed only if master pin is validated and authentication is done
         if (!validPIN || !authenticationDone)
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    // get the APDU buffer
    byte[] apduBuffer = apdu.getBuffer();
              // gets the length of bytes to recieved from the terminal and receives them
    // if does not receive 2 bytes throws an ISO.SW_WRONG_LENGTH exception
              if(apduBuffer[4] != 2 || apdu.setIncomingAndReceive() != 2)
    throw new ISOException(ISO7816.SW_WRONG_LENGTH) ;
              // reads the credit amount from the APDU buffer
    // starts at offset 5 in the APDU buffer since the 5 first bytes
    // are used by the APDU command part
              short amount = (short)(((apduBuffer[6]) & (short)0x000000FF)
    | ((apduBuffer[5] << 8) & (short)0x0000FF00));
    // tests if the credit is valid
    if(((short)(balance + amount) > maximumBalance) || (amount <= (short)0))
    throw new ISOException(ISO7816.SW_DATA_INVALID) ;
    else
    // does the credit operation
    balance += amount ;
    * Performs the "init_update" security operation.
    * @param apdu The APDU to process.
    private void init_update( APDU apdu )
    // receives data
    apdu.setIncomingAndReceive();
    // checks for existing active secure channel
    if(channelOpened)
    // close the openned security channel
    try
    securityObject.closeSecureChannel(secureChannel);
    catch(CardRuntimeException cre2)
    // channel number is invalid. this case is ignored
    // set the channel flag to close
    channelOpened = false;
    try
    // open a new security channel
    secureChannel = securityObject.openSecureChannel(apdu);
    // set the channel flag to open
    channelOpened = true;
    // get expected length
    short expected = apdu.setOutgoing();
    // send authentication result
    // expected length forced to 0x1C
    apdu.setOutgoingLength((byte)0x1C);
    apdu.sendBytes(ISO7816.OFFSET_CDATA, (byte)0x1c);
    catch(CardRuntimeException cre)
    // no available channel or APDU is invalid
    ISOException.throwIt(ISO7816.SW_CONDITIONS_NOT_SATISFIED);
    * Performs the "external_authenticate" security operation.
    * @param apdu The APDU to process.
    private void external_authenticate( APDU apdu )
    // receives data
    apdu.setIncomingAndReceive();
    // checks for existing active secure channel
    if(channelOpened)
    try
    // try to authenticate the client
    securityObject.verifyExternalAuthenticate(secureChannel, apdu);
    // authentication succeed
    authenticationDone = true;
    catch(CardRuntimeException cre)
    // authentication fails
    // set authentication flag to fails
    authenticationDone = false;
    // close the openned security channel
    try {
    securityObject.closeSecureChannel(secureChannel);
    } catch(CardRuntimeException cre2) {
    // channel number is invalid. this case is ignored
    // set the channel flag to close
    channelOpened = false;
    // send authentication result
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    // send authentication result
    ISOException.throwIt(ISO7816.SW_NO_ERROR);
    else
    ISOException.throwIt(ISO7816.SW_SECURITY_STATUS_NOT_SATISFIED);
    * The "reset_security" method close an opened secure channel if exist.
    * @return void.
    public void reset_security()
    // close the secure channel if openned.
    if(secureChannel != (byte)0xFF)
    try
    // close the openned security channel
    securityObject.closeSecureChannel(secureChannel);
    catch(CardRuntimeException cre2)
    // channel number is invalid. this case is ignored
    // reset security parameters
    secureChannel = (byte)0xFF;
    channelOpened = false;
    authenticationDone = false;
    return;
    and the 3rd code is:
    package com.gemplus.examples.loyalty;
    import javacard.framework.Shareable;
    public interface TestInterface extends Shareable
    // public void creditPoints(byte points) ;
              public void creditPoints(byte points) ;
    Thanks in advance......

    Thanks. I know they are not the same thing. A package cannot be deleted if it contains one or more applets.
    I tried to delete by typing in the applet AID first, but it just doesn't work. And of course it doesn't work for package AID.
    Both the package and applet AID are generated in JBuilder, which looks like this, package AID(6D 79 70 61 63 6B 61 67 31),
    applet AID(6D 79 70 61 63 30 30 30 31),
    instance AID(6D 79 70 61 63 30 30 30 31)
    I've tried those three AIDs, it's not working.
    Thanks.

  • Unable to populate the Custom Views on UI for the component BP_FACTSHEET

    Hi All,
    I am working on a requirement on Interaction Center 7.0 .In this i have enhanced the component BP_FACTSHEET and created new Custom views in it. But i am unable to bring those custom views on the UI. As, we know that in this component there is no concept of overview set also.
    So, if anyone has faced the same problem please share your inputs.
    Thanks in advance,
    Thanks and Regards,
    Sharad

    Hi Sarad,
                       First you have to enhance the component BP_FACTSHHET .After that configure ur coustom view in fachsheet id BP_ACCOUNT_FS in SPRO.After that go to component BSP_DLC_FS,where you have to configure the ur view in specfic tiles which is display in web ui for specific to business roll.here you can find the ur fachsheet id and custom view.this component is automatically call when you launch fachsheet in web ui for specific business partner under account tab.
    Thanks
    Vishwas Sahu

  • Windows Server 2012 R2 RDS: RDS Users are unable to delete files from their desktop

    Hello,
    We are working with Windows Server 2012 R2 RDS. We also implemented User Profile Disks. This is all working fine without problems. The only issue I have is that normal users are unable to delete files from their desktop. They are getting a message:
    you'll need administrator permission to delete this file, with the prompt for administrator access.
    They can edit, copy, rename, cut and paste files. But they cannot delete a file from their desktop.
    I checked the security permissions of the files on the desktop (for example a normal self-created PDF file) and the users are owner and have "Full Control" over the files.
    I checked the file permissions and took a look under "Advanced", selecting the specific domain user and checked the "Advanced Permissions" and the user has the "Delete" option checked. So he should be able to delete the
    file.
    I am guessing this is UPD related issue, or something in GPO. But I already unlinked the GPO objects, that I felt could be the source of this problem, but without results.
    Could someone give me a hint on where to look? It's kinda annoying to users, that they can't delete their own files.

    Hello Bria,
    What you should check first, is the NTFS permissions on the User Profile Disk to begin with. See if the user has full control over the items that are in the UPD.
    Also check the GPO's that are enabled for the user and computer account. You can check that by running: gpresult /h <path>\gpresult.html
    There are two GPO settings that could prevent the user from deleting his/her own items: 
    User
    Configuration\\Policies\\Administrative Templates\\Windows Components\\Windows Explorer\
    Hide these specified drives in My Computer
    Prevent access to specified drives in My
    Computer
    There might be other GPO settings, that block deleting items on the UPD, but can't think of any out of my head.
    I can only think NTFS and GPO settings that might prevent the user from deleting items. In my case it was a GPO setting, that I didn't suspect.

  • "unable to delete" file on 6267

    I have a Nokia 6267 S40 phone made for Malaysia and I am in the US.
    I’ve got a file that I cannot delete from the phone memory (no mem card) which seems to be causing problems in other applications. It is a downloaded video file with the extension .3gp.
    When I try to delete it, I get the message “unable to delete” or if I mark it and I try to “delete marked” I get the message “item being used by another application”.
    When I try to open the file, the phone locks up, then I have to remove the battery.
    I am unable to rename the file, I get the message: “unable to rename”.
    If I try to move the file and get message “file in use, unable to move”.
    Sometimes I cannot even open the “gallery,” and get the message “file system is busy”
    Other problems:
    Cannot access the internet, the phone tries, but does not get past “processing data” then if I try to exit, phone locks up.
    Cannot open any applications, however I can open the folders
    Calculator will not open
    Games will not open
    Cannot save a note, will edit but not save, phone locks up if I try to save, same happens with the calander.
    I’ve tried restoring the factory settings, both “settings only” and “restore all.” In both instances this message appears, “Restoring settings. Please wait.” And I wait and wait and wait…and then I remove the battery and try something else.
    The only way I seem to be able to do anything with this particular file is if I am able to open the “gallery,” highlight the file, select options, select use video clip--as contact video then go into that contact and choose to edit—then I can view the video.
    I have tried using PC Suite also, with the same results. When I try to delete from file manager I get this error: “Operation failed. A file or folder you are trying to delete, rename, move or copy is protected from access.”
    Please help.

    It seems that this file got corrupted. An advice: never download and save files into the cellfone memory. Save them in the memory card to avoid these problems.
    If there is a nokia care centre in the USA, better take it now. Or try to upgrade (not a sure thing that fix the problem)
    Sharing is Good!!!
    Nokia5200; Sony Ericsson w710i; Nokia 3250; Nokia 5610XM

  • Unable to delete photos from my ipad2 .

    I am unable to delete photos from my ipad2. I am able to select the photos to delete but when I press the red delete button nothing happens. Is anyone else having this experience? Is there a known problem. Is there a solution?

    You don't say what type of photos - were they taken with the iPad or synced from your computer ?
    Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/wesites etc can be deleted directly on the iPad - either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view. Photos that were synced from your computer are deleted by removing them from where they were synced from and then re-syncing (if you were able to delete them directly on the iPad, then the next time you synced photos they would be put back onto the iPad, unless you remembered to also remove them from your computer).

  • Unable to delete items from recycle bin

    Unable to delete items from my trash, it starts to delete then stops along the way, when i open the trash, its still sat there.

    Relaunch the Finder, then from the Finder menu bar, select
    Finder ▹ Preferences ▹ Advanced
    and uncheck the box marked Empty Trash securely. Hold down the option key and try again to empty the Trash.

Maybe you are looking for