×

Discussion Board

Page 3 of 3 FirstFirst 123
Results 31 to 44 of 44
  1. #31
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: Unable to execute files for security reasons

    I'm nearly sure that you would not have access to TCB on your application. So just add the ones that you would actually require, and see again what is reported for your process.

  2. #32
    Registered User
    Join Date
    Dec 2006
    Location
    Hyderabad,India
    Posts
    591

    Re: Unable to execute files for security reasons

    i check in emulator:
    mention required capabilities: ProtServ AllFiles WriteDeviceData NetworkServices ReadDeviceData,after that check in epocwind.out that shows:
    *PlatSec* ERROR - Capability check failed - A Message (function number=0x00000005) from Thread SipServer.EXE[101f5d36]0001::SipServer, sent to Server !CentralRepository, was checked by Thread centralrepositorysrv.EXE[10202be9]0001::!CentralRepository and was found to be missing nothing. (An 'always fail' policy check). Additional diagnostic message: CenRep: CServerSession::GetIntL - Attempt made to read a setting
    and after 3-4 line this
    *PlatSec* ERROR - Capability check failed - A Message (function number=0x00000015) from Thread Sip Settings[20000001]0001::Sip Settings, sent to Server SipProfileSrv, was checked by Thread SipProfileSrv.EXE[101f413c]0001::SipProfileSrv and was found to be missing the capabilities: WriteDeviceData NetworkServices . Additional diagnostic message: Checked by CPolicyServer::RunL
    Thanks and Regards
    -Chandan Singh

    ReBirth due to GOD so too much believe in GOD- C Singh

  3. #33
    Registered User
    Join Date
    Dec 2006
    Location
    Hyderabad,India
    Posts
    591

    Re: Unable to execute files for security reasons

    now i check in real device in N79,got same error,i check in y-task their show Capabilities count:0
    Thanks and Regards
    -Chandan Singh

    ReBirth due to GOD so too much believe in GOD- C Singh

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

    Re: Unable to execute files for security reasons

    Assuming that "Sip Settings" is the code you are developing, make sure that it is built properly. You can list the capabilities of a Symbian executable on your PC, visit epoc32\release\GCCE\UREL (or UDEB, the one you are using) from a command line, and petran -dump s your.exe will show the UID-s and capabilities of the executable. It also works with .dll-s if you have some.

  5. #35
    Registered User
    Join Date
    Dec 2006
    Location
    Hyderabad,India
    Posts
    591

    Re: Unable to execute files for security reasons

    i check as u say,here the output:-

    C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\GCCE\UREL>petran -dump h sips
    ettings.exe

    PETRAN - PE file preprocessor V02.01 (Build 576)
    Copyright (c) 1996-2007 Symbian Software Ltd.

    E32ImageFile 'sipsettings.exe'
    V2.00(505) Time Stamp: 00e16c99,c9c7acc0
    EPOC Exe for ARMV5 CPU
    Flags: 1200002a
    Priority Foreground
    Entry points are not called
    Image header is format 2
    Image is compressed using the DEFLATE algorithm
    Uncompressed size 0000f07c
    Image FPU support : Soft VFP
    Pageability : Default
    Secure ID: 20000001
    Vendor ID: 00000000
    Capabilities: 00000000 00000000
    Exception Descriptor Offset: 00002549
    Exception Index Table Base: 000164fc
    Exception Index Table Limit: 00016764
    RO Segment Base: 00008001
    RO Segment Limit: 0000ac24
    Export Description: Size=000, Type=01

    Export description consistent
    Module Version: 10.0
    Imports are ELF-style
    ARM EABI
    Built against EKA2
    Uids: 1000007a 100039ce 20000001 (bcc5e151)
    Header CRC: e1e218bd
    File Size: 0000f07c
    Code Size: 0000e764
    Data Size: 00000000
    Compression: 101f7afc
    Min Heap Size: 00001000
    Max Heap Size: 00100000
    Stack Size: 00002000
    Code link addr: 00008000
    Data link addr: 00400000
    Code reloc offset: 0000ef24
    Data reloc offset: 00000000
    Dll ref table count: 8
    Offset Size Relocs #Relocs
    Code 00009c 00e764 00ef24 00008d +0024ec (entry pnt)
    Data 000000 000000
    Bss 000000
    Import 00e800

    C:\S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\GCCE\UREL>
    Thanks and Regards
    -Chandan Singh

    ReBirth due to GOD so too much believe in GOD- C Singh

  6. #36
    Registered User
    Join Date
    Dec 2006
    Location
    Hyderabad,India
    Posts
    591

    Re: Unable to execute files for security reasons

    wizard_hu where problem is?i paste code that shows after using petran
    Thanks and Regards
    -Chandan Singh

    ReBirth due to GOD so too much believe in GOD- C Singh

  7. #37
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,671

    Re: Unable to execute files for security reasons

    Although 'dump s' gives a more focused output, the UID+capability part is present in this 'dump h' too
    Quote Originally Posted by chandantheracer View Post
    Capabilities: 00000000 00000000
    Currently there are no capabilities added to your code. According to the emulator log in #32, you need to add WriteDeviceData NetworkServices.

  8. #38
    Registered User
    Join Date
    Dec 2006
    Location
    Hyderabad,India
    Posts
    591

    Re: Unable to execute files for security reasons

    but previously i added capabilities in sipsettings.mmp file:

    CAPABILITY ProtServ AllFiles WriteDeviceData NetworkServices ReadDeviceData
    Thanks and Regards
    -Chandan Singh

    ReBirth due to GOD so too much believe in GOD- C Singh

  9. #39
    Registered User
    Join Date
    Dec 2006
    Location
    Hyderabad,India
    Posts
    591

    Re: Unable to execute files for security reasons

    anybody??? capability already added in my sipsettings.mmp file
    Thanks and Regards
    -Chandan Singh

    ReBirth due to GOD so too much believe in GOD- C Singh

  10. #40
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,671

    Re: Unable to execute files for security reasons

    Then the code has not been re-built properly for some reason. You can try the Clean command of Carbide.c++ (in the Project menu). Then build and check the .exe with petran again.
    If it does not help, delete the file (and perhaps the .sis and .sisx files - in order to make sure that they are re-generated). Then build and check the .exe with petran again.
    If it still does not help, check the epoc32\BUILD folder: you will find the path of your project replicated there (so if your project is in \Work\SymbianCPP\MySIPStuff, you will find epoc32\BUILD\WORK\SYMBIANCPP\MYSIPSTUFF folder - in all upper case), containing various temporary files. Deleting them will help, it forces the toolchain to rebuild everything. Which is a bit overkill for changing capabilities, but if nothing else works, it will.

    Are you sure about that you have certification for AllFiles capability?

  11. #41
    Registered User
    Join Date
    Dec 2006
    Location
    Hyderabad,India
    Posts
    591

    Re: Unable to execute files for security reasons

    yes ,but one thing that without any certification,atleast apps execute in emulator platform na,after that need certificate for sigmimg na?
    Thanks and Regards
    -Chandan Singh

    ReBirth due to GOD so too much believe in GOD- C Singh

  12. #42
    Registered User
    Join Date
    Dec 2006
    Location
    Hyderabad,India
    Posts
    591

    Re: Unable to execute files for security reasons

    yes wizard_hu that working fine,profile created.but one problem comes when click on exit emulator quit suddenly not by process,what the problem>???
    Thanks and Regards
    -Chandan Singh

    ReBirth due to GOD so too much believe in GOD- C Singh

  13. #43
    Registered User
    Join Date
    Dec 2006
    Location
    Hyderabad,India
    Posts
    591

    Re: Unable to execute files for security reasons

    emulator exit when i click on app exit without do anything.
    Thanks and Regards
    -Chandan Singh

    ReBirth due to GOD so too much believe in GOD- C Singh

  14. #44
    Registered User
    Join Date
    Dec 2006
    Location
    Hyderabad,India
    Posts
    591

    Re: Unable to execute files for security reasons

    thats working perfectly on real device.
    Thanks and Regards
    -Chandan Singh

    ReBirth due to GOD so too much believe in GOD- C Singh

Similar Threads

  1. Unable to locate .bmp files
    By markfrai in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-05-09, 10:27
  2. Unable to create sis file in Carbide.C++ Express, error with .o files
    By razas in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 7
    Last Post: 2006-04-25, 07:05
  3. Unable to deploy .JAD .JAR files to Nokia 3650
    By cs01rrd4 in forum Mobile Java General
    Replies: 2
    Last Post: 2004-03-15, 15:07
  4. Unable to send files via Bluetooth
    By msingerman in forum Bluetooth Technology
    Replies: 3
    Last Post: 2003-11-19, 14:02
  5. Unable to load files into MIDP default phone
    By alan_stewart in forum Mobile Java General
    Replies: 0
    Last Post: 2003-03-03, 17:49

Posting Permissions

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