×

Discussion Board

Results 1 to 4 of 4

Thread: CMsvEntry error

  1. #1
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    54

    CMsvEntry error

    Code:
    CMsvStore* inboxStore;
    TRAPD(leave_as_error,  inboxStore= entry->EditStoreL(); );
    leave_as_error: -21 = KErrAccessDenied

    Leave codes
    KErrAccessDenied -Store is locked by another process or the entry is read only


    i wanted to encrypt my sms. This works perfectly on emulator but on device it doesn`t and it leave with error -21

    can someone help?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: CMsvEntry error

    If it works in the emulator, consider checking its logfile (http://wiki.forum.nokia.com/index.php/Epocwind.out) as it may contain some warning messages about your code.

  3. #3
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    54

    Re: CMsvEntry error

    Quote Originally Posted by wizard_hu_ View Post
    If it works in the emulator, consider checking its logfile (http://wiki.forum.nokia.com/index.php/Epocwind.out) as it may contain some warning messages about your code.

    to be honnest i don`t know how to analyze that log file... and also i can`t see error in that file.

    p.s. i have no *PlatSec* errors... i already check that earlier.

    if helps:

    No source available for "Unknown (0xF87144DC)()" -> after i run the program on phone...

  4. #4
    Regular Contributor
    Join Date
    Feb 2009
    Posts
    54

    Re: CMsvEntry error

    Incoming messages have their readonly-flag set.

    so here is the source of error. could anyone help me find a solution to encrypt inbox messages also?

Similar Threads

  1. XMl Parser Implementation for Symbian
    By ittiam in forum Symbian
    Replies: 26
    Last Post: 2009-09-16, 05:26
  2. playing aduio file when call is rejected.
    By santosh_sangewar in forum Symbian
    Replies: 6
    Last Post: 2009-06-12, 11:35
  3. Help with lnk2019 lnk1120 error
    By yuenfatt in forum Symbian
    Replies: 8
    Last Post: 2007-08-24, 08:21
  4. Parsing file content
    By hendrawan.ashari in forum Symbian
    Replies: 7
    Last Post: 2007-03-09, 10:41
  5. My BuilderX (with S60 SDK 2.1.NET MS version) cannot build ARMI UREL
    By danielvidonyi@hotmail.com in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-05-04, 21:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •