×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    7

    Error -46 (KErrPermissionDenied) for https transactions on Symbian^3 (N8) devices.

    Hi,
    I've got an application that works great on all Symbian devices except the new S^3 ones (N8, C6-01, C7-00). The problem I'm having also recreates in this official sample:
    http://www.forum.nokia.com/info/sw.n...I_Example.html
    And in the official example called "WebClient" which ships with the Symbian^3 SDK.

    The problem is that when after submitting an http transaction with an "https" url (RHTTPTransaction's SubmitL) the callback (MHFRunL()) is called with an error of -46. The problem only happens for "https://" (secure) url's and not for regular "http://" url's.

    Since the problem happens on all Symbian^3 devices (although not on the Symbian^3 simulator), and also with official sample code (not only my code). It seems like there's some undocumented compatibility break.

    Has anyone else encountered this? Is there any workaround/fix. There must be a way to do HTTPS transactions on S^3.

    - Yoav.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,170

    Re: Error -46 (KErrPermissionDenied) for https transactions on Symbian^3 (N8) devices

    interesting, basically you get -46 if the process does not have enough capabilities. I did not notice anything documenting any capability change issues with Symbian^3. Anyway, if you can, you could try adding all capabilities you have, and seeing whether you could figure out that way on which capability would be required in there.

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    7

    Re: Error -46 (KErrPermissionDenied) for https transactions on Symbian^3 (N8) devices

    Thanks,
    After going over each capability I found the culprit: ReadUserData
    Once ReadUserData was added HTTPS transactions started to work. Kind of annoying though that this wasn't documented anywhere.
    - Yoav.

  4. #4
    Regular Contributor
    Join Date
    Jul 2009
    Posts
    125

    Re: Error -46 (KErrPermissionDenied) for https transactions on Symbian^3 (N8) devices

    Quote Originally Posted by yoav_steinberg View Post
    Thanks,
    After going over each capability I found the culprit: ReadUserData
    Once ReadUserData was added HTTPS transactions started to work. Kind of annoying though that this wasn't documented anywhere.
    - Yoav.
    Thanks yoav_steinberg, you saved my day. Same problem happens whenever i use csecuresocket.
    Y still this is not officially documented?.
    Regards,
    manjusg

Similar Threads

  1. Replies: 1
    Last Post: 2010-05-07, 10:18
  2. Replies: 3
    Last Post: 2010-03-04, 19:29
  3. DialNewCall returns KErrPermissionDenied(-46)
    By yuenfatt in forum Symbian
    Replies: 9
    Last Post: 2008-12-05, 14:51
  4. SymbianError: Errno -46 KErrPermissionDenied
    By paul.haenel in forum Symbian
    Replies: 7
    Last Post: 2008-10-13, 10:59
  5. SymbianError: Errno -46 KErrPermissionDenied
    By paul.haenel in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 2
    Last Post: 2008-10-13, 09:46

Posting Permissions

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