FTP - Issue "Invalid FTP handle"

Hi,
I have a problem during the FTP process from SAP to another server. When I run the program in GUI mode mannually the file is getting written on the 3rd party server but when I schedule the program the FTP is getting failed with the error message "Invalid FTP handle".
Pleae guide me how to resolve this and to schedule a FTP program.
Thanks,
Sarath.C

Hi,
The below program is to create file on FTP server by taking the data from internal table
To see whether the file is created on the FTP server
use the function module FTP_SERVER_TO_R3.
Check the below code.
You write a same program with the function module FTP_SERVER_TO_R3 instead of
FTP_R3_TO_SERVER to check the existence of the file which is already created.
tables: t777a.                        "Building Addresses
Internal Table for  Building table.
data: begin of it_t777a occurs 0,
        build like t777a-build,       "Building
        stext like t777a-stext,       "Object Name
        cname like t777a-cname,       "Address Supplement (c/o)
        ort01 like t777a-ort01,       "City
        pstlz like t777a-pstlz,       "Postal Code
        regio like t777a-regio,       "Region (State, Province, County)
      end of it_t777a.
Internal Table for taking all fields of the above table in one line
separated by u2018|u2019(pipe).
data: begin of it_text occurs 0,
      text(131),
      end of it_text.
Constants: c_key  type i value 26101957,
           c_dest   type rfcdes-rfcdest value 'SAPFTPA'.
data: g_dhdl type i,      "Handle
      g_dlen type i,      "pass word length
      g_dpwd(30).         "For storing password
Selection Screen Starts
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE TEXT-001.
parameters: p_user(30) default 't777a'          obligatory,
            p_pwd(30)  default 't777a'          obligatory,
            p_host(64) default 'XXX.XXX.XX.XXX' obligatory.
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE TEXT-002.
parameters: p_file like rlgrap-filename default 't777a_feed.txt'.
SELECTION-SCREEN END OF BLOCK blk2.
Password not visible.
at Selection-screen output.
  loop at screen.
    if screen-name = 'P_PWD'.
      screen-invisible = '1'.
      modify screen.
    endif.
  endloop.
g_dpwd  = p_pwd.
Start of selection
start-of-selection.
To fetch the data records from the table T777A.
  select build stext cname ort01 pstlz regio
         from t777a
         into table it_t777a.
Sort the internal table by build.
  if not it_t777a[] is initial.
    sort it_t777a by build.
  endif.
Concatenate all the fields of above internal table records in one line
separated by u2018|u2019(pipe).
  loop at it_t777a.
    concatenate it_t777a-build it_t777a-stext it_t777a-cname
                it_t777a-ort01 it_t777a-pstlz it_t777a-regio
                into it_text-text separated by '|'.
    append it_text.
    clear it_text.
  endloop.
To get the length of the password.
  g_dlen = strlen( g_dpwd ).
Below Function module is used to Encrypt the Password.
  CALL FUNCTION 'HTTP_SCRAMBLE'
    EXPORTING
      SOURCE      = g_dpwd          "Actual password
      SOURCELEN   = g_dlen
      KEY         = c_key
    IMPORTING
      DESTINATION = g_dpwd.         "Encyrpted Password
*Connects to the FTP Server as specified by user.
  Call function 'SAPGUI_PROGRESS_INDICATOR'
    EXPORTING
      text = 'Connecting to FTP Server'.
Below function module is used to connect the FTP Server.
It Accepts only Encrypted Passwords.
This Function module will provide a handle to perform different
operations on the FTP Server via FTP Commands.
  call function 'FTP_CONNECT'
    EXPORTING
      user            = p_user
      password        = g_dpwd
      host            = p_host
      rfc_destination = c_dest
    IMPORTING
      handle          = g_dhdl
     EXCEPTIONS
        NOT_CONNECTED.
  if sy-subrc ne 0.
    format color col_negative.
    write:/ 'Error in Connection'.
  else.
    write:/ 'FTP Connection is opened '.
  endif.
**Transferring the data from internal table to FTP Server.
  CALL FUNCTION 'FTP_R3_TO_SERVER'
    EXPORTING
      HANDLE         = g_dhdl
      FNAME          = p_file
      CHARACTER_MODE = 'X'
    TABLES
      TEXT           = it_text
    EXCEPTIONS
      TCPIP_ERROR    = 1
      COMMAND_ERROR  = 2
      DATA_ERROR     = 3
      OTHERS         = 4.
  IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ELSE.
    write:/ 'File has created on FTP Server'.
  ENDIF.
Call function 'SAPGUI_PROGRESS_INDICATOR'
    EXPORTING
      text = 'File has created on FTP Server'.
To Disconnect the FTP Server.
  CALL FUNCTION 'FTP_DISCONNECT'
    EXPORTING
      HANDLE = g_dhdl.
To Disconnect the Destination.
  CALL FUNCTION 'RFC_CONNECTION_CLOSE'
    EXPORTING
      destination = c_dest
    EXCEPTIONS
      others      = 1.
Regards,
Kumar Bandanadham

Similar Messages

  • FTP-ing to XE: ORA-31001: Invalid resource handle or path name

    Hi guys,
    Hope you can help me out here. I get a very confusing message during trying to FTP a directory to the /i/ files in XE. The connectiopn works just fine, but when I try to send something to the folder I get the following message:
    ORA-31001: Invalid resource handle or path name "/i/themes/eServices"
    Any thoughts? Thanks!

    I haven't checked the docs, but it does remind me of the PL/SQL steps required to do similar things. Maybe you need to mkdir first (could it be XMKD? See below...)
    C:\>ftp
    ftp> open localhost 2100
    Connected to XYZHOST.mycompany.com.
    220- XYZHOST
    Unauthorised use of this FTP server is prohibited and may be subject to civil an
    d criminal prosecution.
    220 XYZHOST FTP Server (Oracle XML DB/Oracle Database) ready.
    User (XYZHOST.mycompany.com:(none)): sys
    331 pass required for SYS
    Password:
    230 SYS logged in
    ftp> pwd
    257 "/" is current directory.
    ftp> cd i
    250 CWD Command successful
    ftp> pwd
    257 "/i" is current directory.
    ftp> quote help
    214- The following commands are recognized:
    USER PORT RETR MSND* ALLO* DELE SITE* MKD XPWD
    PASS PASV STOR MSOM* REST* CWD SYST XMKD CDUP
    ACCT* TYPE APPE MSAM* RNFR XCWD STAT* RMD XCUP*
    REIN* STRU MLFL* MRSQ* RNTO LIST HELP XRMD STOU
    QUIT MODE MAIL* MRCP* ABOR NLST NOOP PWD
    214 (*'s => unimplemented)
    ftp>

  • More CS6 FTP Issues..??

    I see quite a few threads about problems with FTP in CS6, but nothing specific to what I'm seeing.
    I can setup FTP accounts just fine and the test works as expected.  I can upload files and I don't have problems loading the pages like some have talked about (and what looks like a patch was released for).
    What I am seeing, though, is that if I try to upload groups of files at a time it will often upload 1 or 2 and then just stop.  Then if I view Remote and try to refresh it shows "nothing".  So then I have to disconnect and reconnect, and then it shows everything again.  At this point I can generally upload a group of files...but only once.
    It seems like everytime I upload anything I have to switch to remote and disconnect and connect again to upload something after that.
    Also, the syncing is all messed up.  I'm working on a site where I made a change to my Dreamweaver template, and as such lots of files on the site were updated.  Then I went to sync but everything gave me the red error icon showing that it couldn't figure out which one was newer and I had to manually specify that it should upload my local version for everything to the remote server.
    Then, about 10 min later, I made another change to the template.  I went to sync again, but once again, almost all my files were telling me it couldn't figure out which one was newer and I had to manually specify again. 
    What's strange is that some of the files are working fine and don't seem to have an issue...it just knows those need uploaded.  About 90% of my files, though, are forcing me to manually tell it what it to do every time.
    I see in the "what's new" videos that Adobe apparently made some changes to FTP and say it's a lot faster now becuase it allows for multiple connections.  I was very excited to hear that, but now with all the issues I'm having and the other threads I see about problems with FTP in CS6 I'm almost wishing I wouldn't have upgraded.
    Any information on how I can get this working the way it should be would be greatly appreciated.  Thanks!

    Adobe is working on a variety of FTP issues, and is making available a patch. You can contact the Dreamweaver team directly to get a copy of the patch: http://forums.adobe.com/message/4541472#4541472.

  • Dreamweaver CS6 FTP Issues

    i have created a site in dreamweaver and as far as i am aware the site works great, i have hosting and webspace with 1and1 and have connected to their servers via ftp, i have to manually upload the site and cannot seem to get the webpages themselves to upload, only the *images* folder and *scripts* upload successfully, i have tried everything i can to resolve this but have had no luck whatso ever, any help would be much appreciated, thanks

    May be you can try steps suggested in the troubleshooting document. Most of the points mentioned there are also applicable on DW CS6.
    helpx.adobe.com/dreamweaver/kb/troubleshoot-ftp-issues-dreamweaver-cs5.html
    --Bhawna

  • Publish site / FTP issues arggg

    Long time fan of Apple. Purchased iweb09 last week and built a site for my small business. <Edited by Host>
    Well I have tried but I can’t resolve the following issues:
    (1) FTP Server Test Connection returns OK. But when I try to load the site I always get the following error message “*There was an error communicating with the FTP Server. Try again or check with your service provider”* How can I resolve?
    Regardless of this the site actually loads – but IWeb does not recognize this as a successful upload so all the left-hand page titles stay red...
    (2) The site that has loaded on this basis - has some problems when viewed in Microsoft Explorer
    - some of the Stroke / Lines are not appearing
    - some of text overlaps – I realize that you can’t control other internet browsers – but would like to optimse for Explorer
    Thanks for any help - cheers

    Welcome to the Apple Discussions. Roddy has posted tips for optimizing for IE in several threads:
    http://www.iwebformusicians.com/WebMusic/iWebandInternetExplorer.html
    http://discussions.apple.com/thread.jspa?messageID=9375447#9375447
    http://www.iwebformusicians.com/WebMusic/iWebTips.html
    http://discussions.apple.com/thread.jspa?threadID=1837981&tstart=0
    If you're using the built in ftp client of iWeb you might try using the free CyberDuck after publishing to a folder on the desktop first. Many have had better luck with it.
    OT

  • FTP Issues - AirPort Extreme 802.11 AC

    Starting a few weeks ago, I have not been able to connect to any of my outbound FTP servers from any device on my AirPort network. I have verified with my ISP, Comcast that they are not blocking port 21 now. I can access these servers perfectly fine on any other network. The Extreme has software version 7.7.1, my cable modem is the Motorola SB6141 and I am using FileZilla on Windows 8. Help would be greatly appreciated.

    Your experience tells you Apple have no idea what they are doing.
    1. They have not released an update to windows for ages.. even with Win8 now out for more than a year.
    2. Apple do not use FTP.. FTP is not a supported protocol on the TC or AE.. therefore it is out of sight and out of mind. It is also not a secure protocol so to some extent they are justified.
    3. They provide one method of remote access which is propriety.. which requires you to sign into the Apple world. And use iCloud and BTMM ensuring you remain in the Apple camp.
    I've spent 400 on Apple AirPorts over time and feel like Apple should fix this issue, considering how even the cheapest routers support FTP and it is a well used protocol.
    I am sure they will fix it.. when is the problem.. since it is not a protocol Apple needs or uses.. they don't mind and you don't mattter.
    Buy a  alternative router.. bridge the AE and it can do all your wireless and become a shiny white switch with the ports orientated the wrong way.. at least until the next firmware comes out and you can give that one a try.

  • DREAMWEAVER CS4 - FTP issues

    I loaded Snow Leopard onto a new imac last week.
    Since loading SL I have not been about to access remote ftp's using Dreamweaver which I have used for years I now get 'permission errors', 'password incorrect' etc.
    I also have an older mac here running Tiger and CS3 - no issue accessing ftp's.
    The problem I think is Snow leopard interfering with Dreamweaver.
    Does anyone have any suggestions other than removing SL and reinstalling Panther.

    Hi midnight in oz;
    I think there is something wrong with the data you have provided for us.
    It is impossible to install Snow Leopard on a G5 iMac as listed in your profile.
    Also if your iMac is new one, you will not be able install Panther on it.
    Could you please provide us with the correct information so that we might be able to help you?
    Allan
    Message was edited by: Allan Eckert

  • Dreamweaver CS3 (9) maxed CPU slow performance and FTP issues.

    Dreamweaver CS3 (9) maxed CPU slow performance and FTP
    issues.
    Never mind...I found it.
    Of course I have all the firewall, worm, scanning, phishing
    filtering, full time protect, and everything else turned off when I
    am working on a remote/testing site however I found the Symantec
    antivirus email scan being enabled (doesn't it just interact with
    my email program?) was getting in the way of DW9 ftp operations,
    causing some lagging that was putting DW9 into an unstable mode
    during and immediately after (10 seconds) ftp operations.
    The CPU still spikes to 99% during ftp functions but DW9
    works even though it's likely taxed to the max but when I turn off
    email scan DW9 returned to a functioning state during ftp and
    remote file view. Whatever it takes huh?
    PS: email scanning only never effected DW8.02
    My System Info: properly configured (as in: everything works
    or I fix it) Toshiba - XP pro SP2 – Pentium 4 - 2.3GHz
    – 1.5 GB ram – Intel extreme graphics card 64 MB ram
    – Apache 2.2 server – PHP 5 – MySQL 5 -
    phpMyAdmin – Dreamweaver 8.02 – Interakt Kollection
    3.7.1 – Dreamwweaver 9 - DeVtoolbox – Flash –
    GoLive - Photoshop - ImageReady – Illustrator – Acrobat
    – CuteFTP – Putty SSH - blabla...)

    Thanks for the response. I managed to Google the 'nobody' account and found the explanation.
    As you say, I assumed the 'syslogd' process had to do with system logs. I did check the console and couldn't find anything of particular interest in the logs.
    I'll continue to monitor but if anyone has any further suggestions please post.
    One thing that might also have an impact... my available drive space is now down to less than 5gb (runs anywhere between 1gb and 5gb free depending on what I'm running). I know this causes problems for Parallels as it keeps moaning at me, but would it cause any problems with OSX?
    Thanks again,
    Tom

  • Invalid File Handle - Windows 7 clients talking to Mac OS 10.5.8  server

    Hello
    I have a file-sharing volume setup under 10.5.8 server - however with the addition of Window 7 clients i'm noticing lots of error whilst trying to copy to or from that volume {setup under SMB and AFP} via a windows machine...
    My Mac OS clients report no issues
    My windows clients report the '' Invalid File Handle''
    any fixes?
    many thanks in advance!

    http://www.laurentnomine.com/2009/09/invalid-file-handle-when-copying-files-from -os-x-leopard-10-5-to-vista7/

  • Invalid menu handle response

    When I try to download anything and then open it, I get an "invalid menu handle" response how do I fix this?

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in Troubleshoot Firefox issues using Safe Mode to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    Don't make any changes on the Safe mode start window.
    https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    Use "Disable all add-ons" on the Troubleshoot Firefox issues using Safe Mode start window to disable all extensions.
    Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    See also:
    Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems

  • Invalid OCI Handle when storing Blob in Oracle 11g with OCCI

    Hi,
    I'm getting Invalid OCI Handle ORA-32102 while execute the following code:
    try
                   env=Environment::createEnvironment(Environment::OBJECT);
                   connPool = env->createConnectionPool(userName, password,
                             database, minConn, maxConn, incrConn);
                   conn=connPool->createConnection(userName,password);
                   Blob blobRequest(conn);
                   blobRequest.open(OCCI_LOB_WRITEONLY);
                   unsigned int bytesReqWritten = blobRequest.write((unsigned int)bytesOut, req_buffer, (unsigned int)bytesOut);
                   cout << "Request bytes written "<< bytesReqWritten << endl;
                   blobRequest.close();
                   Blob blobResponse(conn);
                   blobResponse.open(OCCI_LOB_WRITEONLY);
                   unsigned int bytesRespWritten = blobResponse.write((unsigned int)bytesAckOut, resp_buffer, (unsigned int)bytesAckOut);
                   cout << "Response bytes written "<< bytesRespWritten << endl;
                   blobResponse.close();
                   stmt = conn->createStatement("BEGIN STORE_REQUEST(:1,:2); END;");
                   stmt->setBlob(1,blobRequest); <------------------------- Blob here
                   stmt->setBlob(2,blobResponse); <------------------------- Blob here
                   stmt->executeUpdate();
    catch(SQLException &e)
                   cout << "Error in Constructor Call " << endl;
                   cout << "Error Number: " << e.getErrorCode() << endl;
                   cout << e.getMessage() << endl;
         conn->terminateStatement(stmt);
         connPool->terminateConnection (conn);
         env->terminateConnectionPool (connPool);
         Environment::terminateEnvironment(env);
    Anyone can help me? Please.
    Kind Regards, denis

    Hi,
    The correct code for insert blobs must be writed like this:
    try
    env=Environment::createEnvironment(Environment::OBJECT);
    connPool = env->createConnectionPool(userName, password,
    database, minConn, maxConn, incrConn);
    conn=connPool->createConnection(userName,password);
    //1. First insert empty blobs in tables...
    Blob blobRequest;
    blobRequest.setEmpty(conn);
    Blob blobResponse;
    blobResponse.setEmpty(conn);
    stmt = conn->createStatement("BEGIN STORE_REQUEST(:1,:2); END;");
    stmt->setBlob(1,blobRequest);
    stmt->setBlob(2,blobResponse);
    stmt->executeUpdate();
    //2.Select Blobs for update and commit
    stmt2 = conn->createStatement("SELECT REQUEST,RESPONSE FROM STORE WHERE ID=:ID FOR UPDATE");
    stmt2->setString(1,id.c_str());
    ResultSet *rs = stmt2->executeQuery();
    if(rs->next())
    blobRequest = rs->getBlob(1);
    blobRequest.write((unsigned int)bytesOut, req_buffer, (unsigned int)bytesOut);
    blobResponse = rs->getBlob(2);
    blobResponse.write((unsigned int)bytesAckOut, resp_buffer, (unsigned int)bytesAckOut);
    conn->commit();
    else
    conn->rollback();
    catch(SQLException &e)
    cout << "Error in Constructor Call " << endl;
    cout << "Error Number: " << e.getErrorCode() << endl;
    cout << e.getMessage() << endl;
    stmt2->closeResultSet(rs);
    conn->terminateStatement(stmt);
    conn->terminateStatement(stmt2);
    connPool->terminateConnection (conn);
    env->terminateConnectionPool (connPool);
    Environment::terminateEnvironment(env);

  • Email attachment download shows "invalid menu handle"

    I click on an email attachment, the download box appears in top left corner and starts downloading then a rectangular box appears in middle of screen saying "invalid menu handle" and download won't open.

    Not the same thing. Google "Microsoft Installer Cleanup Utility". The first hit will be what you need (on the Microsoft site).

  • Invalid File Handle Windows 7 with Novell Client 2 SP1

    Hello!
    I have a user on Windows who gets "invalid file handle" when saving files in
    WordPerfect and possibly Adobe as well. He thinks it mostly occurs when he
    has multiple files open and has saved one open file to a different
    directory. Then if he goes to save another file in it's same directory, he
    gets the error. I hope this makes sense. Would anyone have any idea if it
    does make sense?
    Thanks!

    Maybe that was once the intention by novell, but I assure you that you
    will have no trouble finding a lot of people/exemples that proves the
    opposite...
    Yeah, you can set the server-side settings which do have an impact,
    on win7 stations = blue screen if ON. But to say that it overrules the
    client setting....No way....
    We have had every single server EVER setup with Netware with
    filecaching OFF and OpLocks2 off and changing the client side setting
    DO make a direct difference, mostly bad but in the case of Win7, file
    caching on seems to be a requirement since Win7 can't handle any open
    files in a good way withouth it. It simply states "file not found" if
    file caching = off. If file caching = on, then the client will receive
    the message that the file is busy and can be opened in read-only.
    And, again, have file caching = on AND changing the server also to ON
    is NOT a good idea, at least not for us, since we got blue screens all
    over within a couple of min's when testing that setting and those
    disapperad just a fast when setting it to off again on the server.
    On Wed, 10 Mar 2010 07:04:55 GMT, PetervdM
    <[email protected]> wrote:
    >maybe not necessary.
    >the client side setting of the file caching setting is overruled by the
    >server side setting: if the server setting is set to OFF, the client
    >will NOT cache files residing on THAT server.
    >the same holds for the file commit setting. if it is set to OFF on the
    >server, the setting on the client side will be irrelevant, it has to be
    >ON on both sides to work.
    >so i've set all servers file caching off, and file commit on, and all W7
    >clients file caching on, and file commit on.
    >
    >no pain here!
    >
    >please read anders' post dated sep 24th, 2007 for the official statement
    >from Novell:
    >http://forums.novell.com/novell-prod...le-commit.html
    >
    >
    >> You've come to the same conclusion as we have;
    >>
    >> Historicaly; File caching OFF was a MUST.
    >>
    >> With Windows 7, we find that more or less HAVE TO use file caching,
    >> despite it's problems.
    >>
    >>>
    >>> Any other suggestions?

  • Invalid OCI handle when creating a Blob

    I have an application that talks to an Oracle 11gR2 database. I am using the OCCI C++ library. I can call SPs with no problem when they do not contain a Blob. Now I need to pass in a Blob to a SP and I am getting an ORA-32102: invalid OCI handle exception thrown when I call blob->open(OCCI_LOB_WRITEONLY). This same style of code works when I call a SP that does not have a Blob parameter so naturally I am confused. What could be wrong with this?
    Thanks,
    Aaron
    FYI, Here's the code segment in question
    Statement *statement;    
    try {
         // create the connection
         statement = myconnection->createStatement();
         // create the start timestamp
         // create the end timestamp
         // create the blob of data
         blob = new Blob(myconnection);
         blob->open(OCCI_LOB_WRITEONLY);  // <---------------------------------------- here the exception ORA-32102 is thrown
         blob->write(packSize,(uint8_t*)dataBlock,dataBlockSize);
         blob->close();
         // create statement and set input parameters
         statement->setSQL("BEGIN network_analysis.update_network_ip(:1,:2,:3,:4,:5); END;");
         statement->setInt(1,dbconnect->networkMetricId);
         statement->setTimestamp(2,startTime);
         statement->setTimestamp(3,endTime);
         statement->setBlob(4,*blob); // setBlob 2nd parameter is a reference
         statement->setInt(5,numEntries);
         statement->executeUpdate();
    } catch (SQLException &e) {
         FATALF("%s",e.what());
    myconnection->terminateStatement(statement); // free resource
    delete blob;Edited by: user8859202 on Dec 16, 2009 12:16 PM

    Update, I found the answer which is streams must be used. The setBinaryStreamMode is used and after executeUpdate, I update the stream.

  • OCCI Error -  ORA-32102: invalid OCI handle

    Hi,
    I'm completely new to OCCI and Linux and trying to run the simple OCCI program given in oracle site (http://www.oracle.com/technology/tech/oci/occi/occibasic.html) to connect a remote Oracle DB server.
    #include <iostream>
    #include <occi.h>
    using namespace std;
    using namespace oracle::occi;
    int main()
    Environment* env = Environment::createEnvironment();
    Connection* conn = env->createConnection("testdb", "testdb", "192.168.10.118:1521/ORADB"); // user, password, url
    Statement* stmt = conn->createStatement();
    stmt->setSQL("INSERT into FRUITS (fruit, amt) VALUES ('apple', 10)");
    stmt->executeUpdate();
    conn->terminateStatement(stmt);
    env->terminateConnection(conn);
    Environment::terminateEnvironment(env);
    return 0;
    When I try to run it after compilation it gives the following error.
    ORA-32102: invalid OCI handle
    The error should be in the line: Connection* conn = env->createConnection("testdb", "testdb", "192.168.10.118:1521/ORADB");
    I could track it by placing a cout<< there.
    Why this is and how can I handle this error? Please post your experience.
    Thanks

    Hi,
    I found the reason. It may due to the permission level of the user "testdb". When I tried with a different user it worked!
    Thanks

Maybe you are looking for

  • Can't find printer driver in menu

    I have a MacBook running 10.4.8 that I am trying to set up to print to an HP Deskjet 5150. Supposedly, the drivers for the Deskjet 5100 series are included with Tiger. However, when I go to add the printer, I can't select the 5100 series driver from

  • JAVA Mapping

    Hi, I have worked on Graphical mapping and XSLT Mapping. I want to do some scenarios using Java mapping. Can anyone give the detailed steps to work on Java Mapping. What are the softwares needed and their configurations. Also I want to know whether N

  • Same algorithm in function and procedure then which one will better?

    Why pl sql function is better to computes a value instead of procedure? If I apply same algorithm in function and procedure then which one will perform better?

  • Uninstalling Previous versions of components

    I have presently upgraded my Photoshop to CS4, but my other Adobe products (Dreamweaver, Premiere pro, Encore) are CS3 At this moment Bridge CS4 has been installed alongside Bridge CS3 My question is, can I uninstall Bridge CS3 since I will no longer

  • Sync manager err

    Hey guys, I have a Zen Microphoto 8G and am using MediaSource to manage my music. Whenever I sync my player, it always takes a long time and then says "errors encountered". It also sometimes takes several sync attempts to get all of my playlists and