×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    2

    nokia n81 Opening a connection failed:-20

    when i acess file system . a excepion appear
    Opening a connection failed:-20

    how can i solve this question?
    thank you

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

    Re: nokia n81 Opening a connection failed:-20

    Perhaps you can show some code that fails (and be explicit also on which file, including the path, that you are trying to open/access).

    And tell us also at which point in your code the failure/exception is raised, and whether it is on the emulator or an actual device.

  3. #3
    Registered User
    Join Date
    Jun 2008
    Posts
    2

    Re: nokia n81 Opening a connection failed:-20

    Did you find the solution to this problem? Cause im having a very similar one. I get an exception with the message: "opening a connection failed: -5". Im using FileConnection to open a file and write on it but before i get there i get this exception. I think it occours on:
    conn = (FileConnection) Connector.open( "file:///SDCard/newfile.txt" );

    Any ideas???

  4. #4
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Barcelona, Spain
    Posts
    55

    Re: nokia n81 Opening a connection failed:-20

    If you are using symbian phones, you could check the symbian OS errors. They could give you a hint of what is happening

    http://www.newlc.com/Symbian-OS-Error-Codes.html

Similar Threads

  1. Nokia Mobile VPN Client
    By marcyl in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-12-01, 14:47
  2. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46

Posting Permissions

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