Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User sriky27's Avatar
    Join Date
    Dec 2005
    Posts
    1,236
    Hi,

    I am getting -46 error in RConnection open. I know that it is KErrPermissionDenied but I have the required capability NetworkControl. Could anyone tell me what is wrong with the call or when it can occur any possible hint.

    Thanks in Advance,
    Sriky

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,672
    its NetworkServices you propably would need.

  3. #3
    Registered User sriky27's Avatar
    Join Date
    Dec 2005
    Posts
    1,236
    Hi,

    I have that capability too.

    Regards,
    Sriky

  4. #4
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Re-check. In some rare occasions capabilities may not reach the output .exe files.
    You can check your actual capabilities via
    petran -dump s your.exe

  5. #5
    Registered User sriky27's Avatar
    Join Date
    Dec 2005
    Posts
    1,236
    Hi wizard_hu,

    I have checked cross checked I couldn't find any mistake with capabilities. One thing I have forgot to mention is I am trying to open a connection already opened by passing the connection name. Could there be any possible situation which could cause -46 other the capabilites.

    regards,
    Sriky

  6. #6
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    I have never tried that. A thing you can still check is doing this in the emulator and checking Epocwind.out (http://wiki.forum.nokia.com/index.php/Epocwind.out) if it contains some warnings about an additional missing capability.

  7. #7
    Registered User sriky27's Avatar
    Join Date
    Dec 2005
    Posts
    1,236
    Hi wizard_hu,

    I will check that and let you know.

    Regards,
    Sriky

Similar Threads

  1. RConnection::Open gettings stuck in loop
    By arun_stmicro in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-09-06, 13:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved