×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Nov 2006
    Location
    India
    Posts
    170

    Unhappy Unable to execute files for security reasons

    I am dealing with contacts db & reading IMEI no in my application.I inclided all capabilities which we get with developer cert in .mmp. My app has successfully installed on E61, but when i run it ,it gave me Error Unable to execute files for security reasons. Pl help me out...
    Here are contains of .mmp & .pkg files for your reference.

    //.mmp

    TARGET MyApp.exe
    TARGETTYPE exe
    UID 0x100039CE 0x00272D43

    EPOCSTACKSIZE 0x5000

    macro __S60_BUILD__

    SOURCEPATH ..\src
    SOURCE MyAppApp.cpp
    SOURCE MyAppAppUi.cpp
    SOURCE MyAppDocument.cpp
    SOURCE MyAppContainer.cpp
    SOURCE MyAppEngine.cpp
    SOURCE MyAppContact.cpp
    SOURCE ContactManager.cpp
    SOURCE GlobalFunction.cpp
    ..
    ..

    SOURCEPATH ..\data

    START RESOURCE MyApp.rss
    HEADER
    TARGETPATH \resource\apps
    END //RESOURCE

    START RESOURCE MyApp_reg.rss
    #ifdef WINSCW
    TARGETPATH \private\10003a3f\apps
    #else
    TARGETPATH \private\10003a3f\import\apps
    #endif
    END //RESOURCE



    //USERINCLUDE .
    USERINCLUDE ..\inc

    SYSTEMINCLUDE \epoc32\include

    LIBRARY euser.lib apparc.lib cone.lib eikcore.lib
    LIBRARY eikcoctl.lib avkon.lib
    LIBRARY gdi.lib
    LIBRARY ecom.lib
    LIBRARY estor.lib
    LIBRARY eikdlg.lib
    LIBRARY fbscli.lib
    LIBRARY bafl.lib
    LIBRARY eikctl.lib
    LIBRARY efsrv.lib
    LIBRARY InetProtUtil.lib
    LIBRARY http.lib
    LIBRARY cntmodel.lib
    LIBRARY MediaClientImage.lib
    LIBRARY HLPLCH.LIB ws32.lib
    LIBRARY Etel3rdParty.lib


    LANG SC 01

    VENDORID 0

    CAPABILITY ReadUserData WriteUserData NetworkServices ReadDeviceData WriteDeviceData Location LocalServices SwEvent UserEnvironment TrustedUI SurroundingsDD ProtServ PowerMgmt

    // End of File


    //.pkg


    ;
    ; Installation file for MyApp application
    ;
    ;Languages
    &EN
    ;
    ; UID is the app's UID
    ;
    #{"MyApp"}, (0x00272D43), 1, 0, 0
    %{"Vendor-EN"}

    ;Unique Vendor name
    :"ABC"

    ;
    ;Supports Series 60 v 3.0
    ;This line indicates that this installation is for the Series 60 platform v2.0
    ;This line must appear _exactly_ as shown below in the sis file
    ;If this line is missing or incorrect, the sis file will not be able
    ;to be installed on Series 60 v2.0 platforms
    [0x101F7961], 0, 0, 0, {"S60ProductID"}


    "\Symbian\9.2\S60_3rd_FP1\Epoc32\release\GCCE\UREL\MyApp.exe"-"!:\sys\bin\MyApp.exe"
    "\Symbian\9.2\S60_3rd_FP1\Epoc32\Data\z\resource\apps\MyApp.RSC"-"!:\resource\apps\MyApp.rsc"

    "\Symbian\9.2\S60_3rd_FP1\Epoc32\Data\z\private\10003a3f\import\apps\MyApp_reg.RSC"-"!:\private\10003a3f\import\apps\MyApp_reg.RSC"
    "\MyApp\S60\IMAGES\BITMAPFRAMES\AppGifFrames.mbm"-"!:\resource\apps\AppGifFrames.mbm"
    "\MyApp\S60\IMAGES\AppImages.mbm"-"!:\resource\apps\AppImages.mbm"
    "\MyApp\S60\help\MyApp.hlp"-"!:\resource\help\MyApp.hlp"

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

    Re: Unable to execute files for security reasons

    2 ideas, although neither of them is sure:
    - your UID (0x00272D43) is from protected range, you might try one from the unprotected range (eg. 0xA0272D43 or 0xE0272D43)
    - sometimes it is a good idea to delete all intermediate files created by the toolchain (mainly in epoc32\build), since capability changes in the .mmp are neglected occasionally (there are other threads about this issue, try to searc them)

Similar Threads

  1. Unable to execute files for security reasons
    By bnvaikos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 43
    Last Post: 2010-08-30, 06:54
  2. 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
  3. Unable to send files via Bluetooth
    By msingerman in forum Bluetooth Technology
    Replies: 3
    Last Post: 2003-11-19, 14:02
  4. 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
  •  
×