×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    4

    Cannot execute file due to security reasons using RSockets

    Hi,

    I have an application which is trying to use the RSocketServ and the RSocket classes to establish a socket connection. The code compiles properly on the emulator. However, when installed on the phone it gives a "Cannot execute file due to security reasons" error. I understand I probably am missing out on certain capabilities. I have added the ReadUserData, WriteUserData, ReadDeviceData, WriteDeviceData and NetworkServices capabilities.
    Some help on this would be appreciated.
    Thanks in advance

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

    Re: Cannot execute file due to security reasons using RSockets

    Can you find out which line of code gives the error ?

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Cannot execute file due to security reasons using RSockets

    It also matters what kind of socket you use. Bluetooth requires LocalServices for example.
    In fact what you are asking is not about missing capabilities, but about signing. Read/WriteDeviceData capbilities can not be granted by the user, thus you can not have them with self-signing (so it is not a particular line which fails for you, but the device refuses to execute your application). Check Open-Signed Online on www.symbiansigned.com (if you are already there, get and read the guide from the start page).

Similar Threads

  1. [moved] unable to execute files due to security reasons
    By prateekprithvi in forum Symbian
    Replies: 2
    Last Post: 2008-08-01, 07:21
  2. Problem with pyobfuscate
    By JOM in forum Symbian
    Replies: 3
    Last Post: 2008-06-20, 22:47
  3. Help needed with a 3gp file...
    By joedoe_1981 in forum Streaming and Video
    Replies: 0
    Last Post: 2007-07-18, 18:58

Posting Permissions

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