#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2002
    Posts
    0
    Rep Power
    0

    connecting to a mapped drive


    Hi, I am using interbase database and java server pages. I understand that you can access Interbase over a mapped drive if you have interbase installed also on that drive. I am trying to connect using the following lines of code:

    Class.forName("interbase.interclient.Driver");
    Connection con=DriverManager.getConnection("jdbc:interbase://Diarmuid/E:/Wdesign.gdb","SYSDBA","masterkey");

    Yet I have the following error:

    javax.servlet.ServletException: [interclient] Communication error: A socket exception occurred while trying to establish a socket connection to server Diarmuid.
    The message of the SocketException is "Connection refused: connect".
  2. #2
  3. SwollenMember
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Location
    the master control
    Posts
    264
    Rep Power
    14
    does the user running this program have access to the server (file system)?
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2002
    Posts
    0
    Rep Power
    0
    Yes, I found somewhere that this could be a problem with interserver so I am going to re-install it and see if this helps.
  6. #4

IMN logo majestic logo threadwatch logo seochat tools logo