×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Sep 2010
    Posts
    32

    After Download , getting "Operation Failed" ERROR

    Hi.
    I have developed an application in j2me. It works fine , and I uploaded on the server which is Windows IIS server. When I going to download this application, the download starts but after completion of download it shows the ERROR like "Öperation Failed" and application not saved on phone.

    Can anybody tell me that why I am getting this error.

    My .jad file contains :


    MIDlet-1: Theme, /logo/UltraMobile.png, mainClass
    MIDlet-Description: All in one Theme.
    MIDlet-Icon: /logo/UltraMobile.png
    MIDlet-Info-URL: http://www.ultrapockettv.com/
    MIDlet-Install-Notify: http://www.ultrapockettv.com/
    MIDlet-Jar-Size: 178043
    MIDlet-Jar-URL: Theme.jar
    MIDlet-Name: Theme
    MIDlet-Permissions: javax.microedition.io.Connector.file.read,javax.microedition.io.Connector.file.write
    MIDlet-Vendor: Ultra Mobile Technology PVT. LTD
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0

    Does any parameter required or not ?
    Help me.

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,561

    Re: After Download , getting "Operation Failed" ERROR

    Which phone model are you trying to install the app on?

    Does the app install on that phone if you download/copy it to the phone directly from the development PC?

    Have you configured your web server to send the correct MIME headers for jad and jar file types?

  3. #3
    Registered User
    Join Date
    Sep 2010
    Posts
    32

    Re: After Download , getting "Operation Failed" ERROR

    My phone model is Nokia 3110c .
    Yes I copied that application to my mobile by PC scuite and works fine.
    No.

    But I have Idea to add MIME type using PHP

    I created a small code to change header contents. The code is :

    <html>
    <?php
    header("Content-Type: text/vnd.sun.j2me.app-descriptor");
    header("Content-Type: application/java-archive");
    ?>
    <head>
    <title>Download</title>
    </head>
    <body>
    <a href="http://www.mysite.com/Theme.jad"> All in One Theme <br>
    <a href="http://www.mysite.com/Housie.jar"> Housie Game <br>
    </body>
    </html>

    This code is not tested yet..
    But I will try..

    can you tell me that is it correct code ?

    reply..

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: After Download , getting "Operation Failed" ERROR

    Yep, the MIME type information missing could be a possible reason. There is likely a place to change that for your Web server (somewhere in settings) so you do not need to add those lines in your php code.

    Also

  5. #5
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,561

    Re: After Download , getting "Operation Failed" ERROR

    That code won't work, as the header will not be sent when the .jad link is clicked; only when the PHP page where you put the links are, which won't help.

    You need to write a PHP module that sends the headers, and then also opens, reads and sends the .jad file contents, too. Or configure IIS to send the correct headers for jad and jar files (easier that way).

  6. #6
    Registered User
    Join Date
    Sep 2010
    Posts
    32

    Re: After Download , getting "Operation Failed" ERROR

    So How I write the PHP module ?
    can you help me ?

  7. #7
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: After Download , getting "Operation Failed" ERROR


Similar Threads

  1. After Download, "operation failed" Error
    By Vivek0914 in forum Symbian
    Replies: 2
    Last Post: 2010-11-30, 07:36
  2. WML - Error "Operation failed" / "your application is too large"
    By crajesh_2985 in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2009-10-06, 12:31
  3. Nokia PC Suite "Operation Failed"
    By ykhadarbasha in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2004-04-12, 11:48
  4. Problem "Operation Failed "
    By ykhadarbasha in forum General Development Questions
    Replies: 0
    Last Post: 2004-04-09, 12:52

Posting Permissions

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