×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213

    Manage -5120 Error Code

    Hello guys,

    Sometimes i received this error code for HTTP requests i have made, searching the SDK help, i got some documentation for this error:

    Code:
    HttpExampleClient.exe reports error -5120 
    
    This error indicates that the URL cannot be resolved to an IP address.
    This is usually caused by a problem with DNS; either the location of the DNS server is incorrectly specified or there is no DNS server. 
    
    If using a statically allocated DNS address, 
    check that the value in your comms database's LANService table is correct for
    your network.
    Trying to check my URL from an Internet Browser,, it is successfully working.
    Trying to ping on this URL, it is working also.

    I have no idea actually, but i wonder if someone can help me, Any guidelines or suggestions would be greatly appreciated
    Regards,
    Leonard

  2. #2
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213

    Re: Manage -5120 Error Code

    Pending.....
    Regards,
    Leonard

  3. #3
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: Manage -5120 Error Code

    Hi,

    Windows reports that there is an IP address conflict
    The likely cause is that the (static) IP address of your emulator is the same as that of your computer. This will not occur if your IP addresses are dynamically allocated.

    The solution is to ensure that the emulator is allocated a unique IP address in the LANService table of the comms database configuration file.


    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  4. #4
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213

    Re: Manage -5120 Error Code

    Quote Originally Posted by mateen_maldar View Post
    Hi,

    Windows reports that there is an IP address conflict
    The likely cause is that the (static) IP address of your emulator is the same as that of your computer. This will not occur if your IP addresses are dynamically allocated.

    The solution is to ensure that the emulator is allocated a unique IP address in the LANService table of the comms database configuration file.


    Regards,
    Mateen Maldar

    Thanks Mateen Malder for your reply,

    Well, if you got this error description from the SDK, for the sake of luck, this documentation was for another Error Code!

    Last point, i got this error when i test my application on the real device not on the emulator


    Any help will be greatly appreciated.
    Last edited by amerzannouneh; 2008-09-25 at 04:33.
    Regards,
    Leonard

  5. #5
    Super Contributor
    Join Date
    Aug 2005
    Location
    india
    Posts
    2,078

    Re: Manage -5120 Error Code

    Hi,

    I think the problem is that IP is that the ip retrieval from the device as you told has some problem, might be a c32 problem. Can you try formatting your phone and try again with your application, if it is a testing hardware..

    I'm interested to have proper configuration to the hardware..

    Regards,
    Mateen Maldar
    "Whatever the mind can conceive and believe, the mind can achieve"

  6. #6
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Jordan
    Posts
    213

    Re: Manage -5120 Error Code

    Hello Guys,

    I am still facing this error code until now, i am not able to find any solution for this.


    Any help would be greatly appreciated.
    Regards,
    Leonard

  7. #7
    Nokia Developer Champion
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346

    Re: Manage -5120 Error Code

    1. if you in intranet, do you config emulator http proxy.

    2. please paste your url and code.
    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

Similar Threads

  1. Symbian OS Error = -5120 in Nokia 6600
    By ramender_mall in forum Mobile Java General
    Replies: 2
    Last Post: 2010-09-14, 13:51
  2. Develop PC app to send SMS and manage phonebook
    By mdm in forum General Development Questions
    Replies: 8
    Last Post: 2007-09-14, 18:43
  3. symbian OS error: 33 and 5120 in http Request
    By corej2me in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-08-17, 13:40
  4. Is Descriptor to manage all the memory?
    By wuxiang00 in forum Symbian
    Replies: 4
    Last Post: 2004-09-13, 11:42
  5. use SDK2.1 to manage 2 device - How to?
    By kuncon in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2004-05-21, 14:08

Posting Permissions

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