×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    1,236

    -46 error in RConnection::Open

    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 Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: -46 error in RConnection::Open

    its NetworkServices you propably would need.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    1,236

    Re: -46 error in RConnection::Open

    Hi,

    I have that capability too.

    Regards,
    Sriky

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: -46 error in RConnection::Open

    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
    Join Date
    Dec 2005
    Posts
    1,236

    Re: -46 error in RConnection::Open

    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
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: -46 error in RConnection::Open

    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
    Join Date
    Dec 2005
    Posts
    1,236

    Re: -46 error in RConnection::Open

    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
  •  
×