Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User calderion's Avatar
    Join Date
    Mar 2003
    Posts
    2
    I have a problem with my ASP coding, i'm trying to generate a COD file using ASP, can anybody help me pls?
    When i load this file to my 7210, it always generate "unsupported file format" - i already put the MIME type on the server and the wap gateway. TIA

    <%Response.Buffer=True%>

    <%
    Response.ContentType = "text/x-co-desc"
    response.write "COD-Name: test "
    response.write "COD-URL: http://wap.s.com/"
    response.write "COD-Size: 5554"
    response.write "COD-Type: audio/midi"
    response.write "COD-Install-Notify: http://wap.s.com/"
    response.write "COD-Next-URL-at-Error: http://wap.s.com/"
    response.write "COD-Next-URL: http://localhost/cdownload/gencod.wml"
    response.write "COD-Description: "
    response.write "COD-Vendor: test"
    response.write "COD-Price: 2000"

    %>

  2. #2
    Registered User carlofeltes's Avatar
    Join Date
    Mar 2003
    Posts
    11
    Hello

    the problem is, that the file extension must be .cod, otherwise Nokia Phones can't recognize the file. Try to set the ASP.DLL in IIS for processing .cod files (GET,POST,TRACE,..).

    Another solution is to use an upload Component e.g. ASPUpload to push binary Files (Filesystem or SQL2000 or ACCESS - BLOB) to the client browser. with ASPUload you are able to set the filename, fileextension, contentType,... ;

    Be aware of the COD-INSTALL-NOTIFY: http:/.....
    This Link will be pushed by phone itself (when the install process is finished). At this URL a Skript is nessesary that i able to process (GET) parameters like notify.asp?installID=44353432 for transaktion information

    hope that will help you a little bit.. :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved