Invalid Path for target file, check if connector is deployed correctly

Hi all,
I've got a tricky problem over here: we are using OMB scripts for generating simple extract mappings that just copy data from an oracle source table to a flat file on a directory. Up untill now ( with version 11.1 ) this did not pose any troubles, but now we are using 11.2 for the first time and we don't get the mappings to execute. Generating, validating and deploying all works fine, only executing fails with the error: "Invalid Path for target file, check if connector is deployed correctly". It ends to rapidly, so I'm assuming the problem lies in the repository and not on the database itself.
I'm pretty sure all locations are defined as needed, flat file operator in the mapping has correct location, the flat file module has the same location,...
I tried almost everything: recreate oracle module, recreate flat file module, unregister and recreate db location, unregister and recreate dir location, recreate mapping and flat file, export/import...
The strange thing is, I was able to execute a mapping once. Although it ended with an error (due to a function in the mapping), it created the file correctly. After that I needed to update the directory path of the target location and from then on, I always got the error above, and I don't see a good reason.
Any suggestions??
Tnx,
Michel

That error is displayed when the generated code fails to execute with one of the following database errors;
UTL_FILE.INVALID_PATH
UTL_FILE.INVALID_OPERATION
UTL_FILE.INVALID_FILEHANDLE
So its worth checking the generated code for that map and searching for the code around UTL_FILE.FOPEN and seeing what the path and the file name in the code are. Maybe the file is created with permissions such that it can be created but not then re-written and its an OS permissions thing (such as UMASK settings).
Cheers
David

Similar Messages

  • INVALID PATH FOR TARGET FILE - 11g

    I had several mappings that's need to run almost all of my mappings got this same error,
    OWB Owner: owb_rpo_ev04
    User Owner: owb_rpu_ev04
    h2. "INVALID PATH FOR TARGET FILE, CHECK IF CONNECTOR IS DEPLOYED CORRECTLY"
    -Flat File Location has been indicated
    -Locations has been deployed
    -Files Location has been deployed
    -Physical Location has been created
    Two mappings is working prefectly without any error, but to several mappings the one with Flat Files Location are the one with the error when executing. I already grant permission owb_rpu_ev04 to UTL_FILE. I even create a synonym for UTL_FILE the i can used "ECT_FILE"
    Files are in FTP,
    h2. partial script
    OUTPUT_FILE ECT_FILE.file_type;
    FILENAME VARCHAR2(50);
    FILEPATH VARCHAR2(50);
    email_subject VARCHAR2(200);
    email_body_hdr VARCHAR2(10000);
    crlf VARCHAR2(2) := chr(13)||chr(10);
    OWB_FAILURE_RUN EXCEPTION;
    PRAGMA EXCEPTION_INIT (OWB_FAILURE_RUN,-20000);
    PROCEDURE CHK_EXECUTION (EXEC_FLAG IN NUMBER) AS
    BEGIN
    IF EXEC_FLAG = 3 OR EXEC_FLAG = 4 THEN
    RAISE OWB_FAILURE_RUN;
    END IF;
    END;
    BEGIN
    FILEPATH := 'ECTDM_EV04_OUTFILE_DIR';
    -- ECTBusiness.csv
    ECT_RUN_BATCH_MAP1 ( 'PLSQL', 'ECTDM_IN_M_BUSINESS_L1', 'OWB_RPU_EV04_LOCATION', 'ERROR_DETAILS', 0, EXEC_FLAG, 'A','DM');
    CHK_EXECUTION (EXEC_FLAG);
    Edited by: ellenore on Apr 26, 2012 5:52 AM
    Edited by: ellenore on Apr 26, 2012 6:03 AM

    That error is displayed when the generated code fails to execute with one of the following database errors;
    UTL_FILE.INVALID_PATH
    UTL_FILE.INVALID_OPERATION
    UTL_FILE.INVALID_FILEHANDLE
    So its worth checking the generated code for that map and searching for the code around UTL_FILE.FOPEN and seeing what the path and the file name in the code are. Maybe the file is created with permissions such that it can be created but not then re-written and its an OS permissions thing (such as UMASK settings).
    Cheers
    David

  • How to create search path for the file on the desktop..

    hello experts..
          I have used gui_upload module to upload the data from flatfile to the internal table, in that how can i create search path for the file selection in the selection screen, also please help me the code to update the ztable.
    thanks

    HI
      If iam not wrong you want to select a file from a location that you don't know so if this is ur problem then use the function module
    F4_FILENAME
    this FM helps to locate and select the desired file from the system.
    Sample code that you can check is
    How to get windows filename
    PARAMETERS: lv_file LIKE rlgrap-filename.
    Method 1
        CALL FUNCTION u2019KD_GET_FILENAME_ON_F4u2019
        EXPORTING
        MASK = u2019,.txt,.*u2019
        STATIC = u2019Xu2019
        CHANGING
        FILE_NAME = LV_FILE.
    Method 2
    CALL FUNCTION u2019F4_FILENAMEu2019
    EXPORTING
             program_name = syst-cprog
             dynpro_number = syst-dynnr
             field_name  = u2019 u2019
         IMPORTING
             file_name   = LV_FILE.
    Regards
    Pavan

  • Program not compiling giving Error : Invalid path, "C:\Program Files\Java--

    I am using jcreator where i am getting this error while compiling
    Error : Invalid path, "C:\Program Files\Java\j2re1.4.2_05\bin\javac.exe" -classpath "C:\Program Files\Xinox Software\JCreatorV3LE\MyProjects\zeroCode\classes" -d C:\Program" Files\Xinox "Software\JCreatorV3LE\MyProjects\zeroCode\classes C:\Program" Files\Xinox Software\JCreatorV3LE\MyProjects\zeroCode\src\BasicServiceLister.java
    Instead of that same program is compiling in textpad/eclipse easily.
    Please tell me what should i do to set what.
    present settings are:
    User Variable:
    classpath C:\Program Files\Xinox JCreatorV3LE\MyProjects\zeroCode\ classes
    Java_HOme: C:\Program Files\Java\j2re1.4.2_05\bin\javac.exe
    Path:C:\Program Files\Java\j2re1.4.2_05\bin
    Classpath is System Variables:
    C:\Program Files\Xinox Software\JCreatorV3LE\MyProjects\zeroCode\ classes
    Path :C:\Program Files\Java\j2re1.4.2_05\bin
    wher i really need to modify the settings:
    May be thorugh command prompt.
    I never did. windowds environment varaibles i can set.
    Thanks
    Vijendra

    ... -d C:\Program" Files\Xinox "Software\JCreatorV3LE\MyProjects\zeroCode\classes ...
    Looks like you are typing in things wrong with the double quotes.

  • :-)  How can we change the default file path for Bank file ( dmee ) ?

    Hi All,
    We encounter a problem.
    Electronic bank file ( created after a F110 run ) are created, in an automatic way to the DIR_TEMP directory. ( On the SAP server )
    How can we change the default file path for Bank files ( dmee ) ?
    We'd like to specify another path.
    Thx for your help.
    Erwan

    Hello,
    Make sure that you have created the directory in transaction code AL11 with the help of basis consultants.
    You can link your PC directory to the application server.
    You can maintain the path whether your file needs to get saved in OBPM4 against your DMEE structure example GB_BACS etc.
    If you do not maintain any path in OBPM4, then the file gets saved to temporary directory. If you give the directory path name in OBPM4, then the file gets saved to that directory with numbers 0001, 0002, 0003 etc till it reaches 9999 and reset from the beginning.
    If you give the path as well as file name as ABCD, then the file gets generated to that directory folder with ABCD0001, ABCD0002, ABCD0003 etc. till it reaches ABCD9999 and reset from the beginning.
    Hope this solves your problem.
    Regards,
    Ravi

  • The specified file or folder name is too long,the url path for all files and folders

    The specified file or folder name is too long,the url path for all files and folders must be 260 character or less
    can we increase this limit?
    MCTS,ITIL

    Hi,
    As I understand, you want to increase the length of URL path in SharePoint 2010.
    Per my knowledge, this limit cannot be increased. SharePoint limits URL length because all relative URL links are stored in the clear forms on the SharePoint content DB and often this links are used as primary keys to link one table with another. Fields
    which are used to store these links (for instance tp_DirName from the AllUserData table) allow storing only 256 characters.
    There are several ways that you can resolve or mitigate URL length problems in the SharePoint Server 2010 environment. The following list provides suggestions:
    1. Upgrade all the end-user browsers to Internet Explorer 8, which has a longer URL length limit.
    2. Use shorter names for sites, folders, and documents and control the depth of the site and folder structures to reduce the lengths of URLs.
    3. If possible or allowed, use ASCII names for sites, folders, and documents. This will avoid situations where the URL will be lengthened by being encoded.
    4. To reduce the risk that the SharePoint Server 2010 end-users will encounter problems because of URL length limitations, we recommend that you apply the following effective limits in the deployment:
    256 Unicode (UTF-16) Code units - the effective file path length limitation, including a domain/server name
    128 Unicode (UTF-16) Code units - the path component length limitation
    More reference:
    http://technet.microsoft.com/en-us/library/ff919564(v=office.14).aspx
    http://sharepointknowledgebase.blogspot.in/2013/04/url-path-length-restrictions-in.html#.VKJN53BJA
    Best regards,
    Sara Fan

  • How to get a list of file paths for all files used in a project

    I have a project in Premiere Pro CC which has a large number of bins.  A sequence in one of these bins uses files from other bins.  I am trying to find the locations of all each of the files used  in the project.
    1)  Obviously I can select each clip in the timeline and show in finder, but there a lot of clips
    2) The video usage associated with each file in the project would help.  However
               1.  I haven't found a way to display only clips that have video useage if all of the bins have not been expanded.
              2.  Video usage  shows usage for all sequences, so one would have to manually check the pull down for each file to see if it is used in the sequence in question.
    3) I tried exporting the project to final cut pro xml.  The path url gives me the information that I need.  For some reason, however, when I do the export only one clip's information is there, not the information for all of the other clips in the project.
    4) I tired an export for speedgrade and all of the file names are there.  However the paths are not. 
    Basically I want to find all of the files in the project and relocate them to a specific folder for that project.  There's got to be a way to do this but I'm not seeing it ....

    Thanks for the suggestion concerning the file path.  And certainly it would have been nice to have done this before beginning.  However this is a project that has been around for quite a while, and the files have been moved into different bins.  And now the project sequence is being revised.
    So the problem is, worded slightly differently, how can I search all of the bins for the files that are used just by this sequence, ignoring the files which are used by other sequences?  Or, how can I get a list of the file paths of the files that are used in the sequence?

  • F4 help to give desktop path for retrieving file name

    Hi Guys,
    I want a big help from u people, I worked on module pool programming and in that i had written some BDC also in that. Now my concern is i need to give F4 help path for the user to goto Desktop and pick the file from his PC.He will goto transaction and then only he can run the Report.
    Now i had tried this
    at selection-screen on value-request for p_filename.
    v_mask = ',Tab Delimited (.txt),.txt.'.
    CALL FUNCTION 'WS_FILENAME_GET'
      EXPORTING
        DEF_FILENAME     = ' '
        DEF_PATH         = ' '
        MASK             = v_mask
        TITLE            = ' '
      IMPORTING
        FILENAME         = p_filename
      EXCEPTIONS
        INV_WINSYS       = 1
        NO_BATCH         = 2
        SELECTION_CANCEL = 3
        SELECTION_ERROR  = 4
        OTHERS           = 5.
    but in at selection screen i need to give parameters or select-options... which is not there as u know bcoz its a module pool programming.....
    Can u pls help me out its urgent!!!!!!!!
    Rewards will be definite....

    Hi Abdul,
    Refer demo program DEMO_DYNPRO_F4_HELP_MODULE in SE38.
    Check Flow Logic by double clicking on the screen 100.
    PROCESS BEFORE OUTPUT.
      MODULE INIT.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
    PROCESS ON VALUE-REQUEST.
      FIELD CARRIER MODULE VALUE_CARRIER.
      FIELD CONNECTION MODULE VALUE_CONNECTION.
    <b>Reward points if it helps.</b>
    Regards,
    Amit Mishra
    Message was edited by: Amit Mishra

  • F4 Help to get the path for a File source directory

    There are numerous function modules for browsing a particular file in desktop and getting the file path (including the fine name)  , like F4_FILENAME , KD_GET_FILENAME_ON_F4 , WS_FILENAME_GET etc. But can anyone tell me how to fetch only the directory path to the field were the F4 help is given. Actually the filename has to come in some other field in the selection screen. Is there separate funtion modules for these OR will changing parameters in the above function modules work?
    Pls Help....
    Also are there function modules for providing F4 help for getting the path to a file in application directory?

    Try this method CL_GUI_FRONTEND_SERVICES.
    It is a Global CLASS which is having different methods for different purposes
    see the documentation of it and use the methods of it
    see
    CL CL_GUI_FRONTEND_SERVICES
    Short Text
    Frontend Services
    Functionality
    The class CL_GUI_FRONTEND_SERVICES contains static methods for the following areas:
    File functions
    Directory functions
    Registry
    Environment
    Write to / read from clipboard
    Upload / download files
    Execute programs / open documents
    Query functions, such as Windows directory, Windows version, and so on
    Standard dialogs (open, save, directory selection)
    Example
    Determine the temp directory on your PC:
    DATA: TEMP_DIR TYPE STRING.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GET_TEMP_DIRECTORY
    CHANGING
    TEMP_DIR = TEMP_DIR
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2.
    IF SY-SUBRC 0.
    Error handling
    ENDIF.
    flush to send previous call to frontend
    CALL METHOD CL_GUI_CFW=>FLUSH
    EXCEPTIONS
    CNTL_SYSTEM_ERROR = 1
    CNTL_ERROR = 2
    OTHERS = 3.
    IF SY-SUBRC 0.
    Error handling
    ENDIF.
    WRITE: / 'Temporary directory is:', TEMP_DIR.
    Notes
    The class CL_GUI_FRONTEND_SERVICES is based on the Control Framework. See the documentation for more information, in particular on CL_GUI_CFW=>FLUSH which must be called after many CL_GUI_FRONTEND_SERVICES methods.
    Migration Information
    The old file transfer model was based on function modules of the function group GRAP. The old features have been replaced by the class CL_GUI_FRONTEND_SERVICES. The following list contains the old function modules (italic) and the new methods (bold) that replace them:
    CLPB_EXPORT
    CLIPBOARD_EXPORT
    CLPB_IMPORT
    CLIPBOARD_IMPORT
    DOWNLOAD
    GUI_DOWNLOAD, dialog replaced by FILE_SAVE_DIALOG
    PROFILE_GET
    No replacement, use REGISTRY_* methods instead
    PROFILE_SET
    No replacement, use REGISTRY_* methods instead
    REGISTRY_GET
    REGISTRY_GET_VALUE, REGISTRY_GET_DWORD_VALUE
    REGISTRY_SET
    REGISTRY_SET_VALUE, REGISTRY_SET_DWORD_VALUE
    UPLOAD
    GUI_UPLOAD, dialog replaced by FILE_OPEN_DIALOG
    WS_DDE
    Obsolete: This function is no longer supported.
    SET_DOWNLOAD_AUTHORITY
    Obsolete: This function is no longer supported.
    WS_DOWNLOAD
    GUI_DOWNLOAD
    WS_DOWNLOAD_WAN
    Obsolete: This function is no longer supported.
    WS_EXCEL
    Obsolete: This function is no longer supported.
    WS_EXECUTE
    EXECUTE
    WS_FILENAME_GET
    FILE_SAVE_DIALOG, FILE_OPEN_DIALOG
    WS_FILE_ATTRIB
    FILE_SET_ATTRIBUTES, FILE_GET_ATTRIBUTES
    WS_FILE_COPY
    FILE_COPY
    WS_FILE_DELETE
    FILE_DELETE
    WS_MSG
    Obsolete: This function is no longer supported.
    WS_QUERY
    CD (current directory)
    DIRECTORY_GET_CURRENT
    EN (read/write environment)
    ENVIRONMENT_GET_VARIABLE
    ENVIRONMENT_SET_VARIABLE
    FL (determine file length)
    FILE_GET_SIZE
    FE (check if file exists)
    FILE_EXIST
    DE (check if directory exists)
    DIRECTORY_EXIST
    WS (determine Windows system)
    GET_PLATFORM
    OS (operating system)
    GET_PLATFORM
    WS_UPLDL_PATH
    Obsolete: This function is no longer supported.
    WS_UPLOAD
    GUI_UPLOAD
    WS_VOLUME_GET
    Obsolete: This function is no longer supported.
    Reward points if useful.

  • Invalid path for Microsoft Word

    I had set a path for Microsoft Word as below c:
    serverip\B1_SHR\WordDocs\English, but I still get the "invalid path error".
    Please advice

    Hi,
    I have set the path like this following and nothing happened:
    C:\Program Files\SAP\SAP Business One\WordDocs\English\
    but when I try to use the path like you are using:
    C:\Program Files\SAP\SAP Business One\B1_SHR\WordDocs\
    I've got the same error message with you.
    So, one of the solution is to avoid using the folder B1_SHR. The path should be used different since every users will not probably export their file in one folder.
    Although you find that there is excldocs folder in the B1_SHR and you success to export to excel , it won't be available there but it will available in this path:
    C:\Program Files\SAP\SAP Business One\ExclDocs\
    rgds,

  • Onedrive for Business: file checker

    Hi to all,
    I've used
    filechecker tools for checking the naming compatibility for a set of files ready to be uploded on onedrive for bussiness.
    Using filechecker on network path (like \\server\folde) on folder that contains 400 files and 62 subfolders, the tools analyzes each file 12/24 times; last entry of csv file, reports "0 issues discovered parsing 5600 files."
    Why the counters of file are wrong?
    Thanks in advance.

    Hi Yuri Corio. The link you provide to the file checker tools has a comment section at the bottom. You may have better luck posting a question to the developer of the tool there.
    Myles Jeffery | Thinkscape Limited
    Map network drives to OneDrive for Business and SharePoint Online document libraries - Reliably
    Try Our File Share Migration Tool for OneDrive for Business and SharePoint Online Office 365

  • Variable subsitution for target file names

    Hi All,
    I am using variable subsitution for dynamic file names. I am using the multimapping for multiple files in the target.So i coluld not able to use the dynamic configuration for file names. Now i want to replace all the spaces in the filename to underscore.
    For example
    My payload filed value "file name in the target file".
    Now my filename  "file_name_in_the_target_file".
    How to achieve this using Variable subsitution.
    Regards,
    Ramalakshmi.G

    Use replaceString Function.
    file name
    Constant (" ")               --> replaceString -------> TargetField
    Constant ("_")
    Regards
    Ramesh

  • Using relative path for in file/ftp adapter

    Hi All,
    How to have a relative path for file/ ftp adapter's inbound/outbound operation?
    Example: Consider $ORA_HOME = /home/oracle --> This environment variable can be different on different machines
    i want to drop a file in to $ORA_HOME/folder1/folder2 (Or poll for a file).
    <partnerLinkBinding name="FTP">
    <property name="wsdlLocation">FTP.wsdl</property>
    <property name="out_dir" type="LogicalDirectory">What do i write here???</property>
    <property name="retryInterval">60</property>
    </partnerLinkBinding>
    if i cant configure this in partner link section or in activation agent sction, how else do i achieve this?
    i am using 10.1.3.* version.
    Thanks in advance.
    Roshan.

    You can achive it using the deployment scripts if the directory is changing on the basis of the environment
    If you want to change at run time than you can use the jca properties to set using the variables at runtime.
    Regards,
    Ajay

  • Relative Path for JSP Files

    I use Liferay Portal. It has a defined directory structure for all portlets and expects files to be in their proper locations. One of these is that it expects all .jsp files to be in the /webroot/html directory.
    The problem is that all references in the struts-config.xml to .jsp files are assumed to be relative to the /html directory. So if, for instance, I set the path as /test/test.jsp then Liferay looks for the file in /html/test/test.jsp. But NitroX requires the full path, including the /html.
    I've gotten this to work on another competing product - in that product I set the Web Root to be the /html directory and it works great. That product allows you to set the path of the struts-config.xml separately. Is there any way to do something similar with NitroX? I tried changing the webroot in the .m7project file manually but it doesn't like it. It seems to insist that the struts-config.xml file is in the webroot.
    Thanks.

    NitroX currently supports only a war directory structure. When a project is created, the Web Application Root directory is computed as the directory containing the WEB-INF folder (which should contain the web.xml file).
    All web app resources (JSP files, image, css files, etc) are expected to be under the Web Application Root directory (at any nested directory level).
    We will enhance this behavior in the future to support arbitrary directory structures.

  • Not able to access local path for script file

    Hi All,
    I am integration my application (built in Asp.Net/Vb.Net) with InDesign Server CS4.
    InDesignServer is installed on separte machine other than the machine on which application is running.
    All of the scripts and indd files are placed on the machine (on which application is running):
    When I send SOAP request to the InDesign Server from my application. I get following error:
    "Cannot find the folder for the script "C:\ Path of the Script (.jsx)"
    Please let me know how to manage this error.
    It would be great if I get following doubts clerified:
    1. Is it required to put network-path for the script files when InDesign Server is running on different machine and client machine is on other machine?
    Kind Regards...
    Prashant

    I get the same error, I'd like to know if anybody can help me here??

Maybe you are looking for