webMethods

 View Only
Expand all | Collapse all

Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

  • 1.  Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 02:18 AM

    Hi Team,

    While using StringtoFile service getting this error - Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file,

    But i have added directory path in C:\SoftwareAG\IntegrationServer\packages\WmPublic\config and restarted the IS, still facing same issue. Can some one help on this issue.


    #webMethods
    #webMethods-io-B2B


  • 2.  RE: Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 02:23 AM

    Hi @JayaBharath ,

    Can you Double check if your Installation directory is actually what you stated above or something like below

    C:\SoftwareAG\IntegrationServer\instances\default\packages\WmPublic\config

    If so then you may try updating the Config in this path.

    If your installation directory is what you state then please confirm if you had Reloaded the WmPublic Pkg. If yes then check as per your OS ( Windows or Unix ) if for File Path Backward or Forward Slash is correct


    #webMethods
    #webMethods-io-B2B


  • 3.  RE: Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 02:25 AM

    Hi @Kailash_Mishra

    Yeah added in both the directories which you mentioned as well


    #webMethods-io-B2B
    #webMethods


  • 4.  RE: Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 02:26 AM

    Please check if you are passing directory path and not file.

    Incorrect path - C:\SoftwareAG\Test\fileDir
    Correct path - C:\SoftwareAG\Test\fileDir\

    Also it needs to be update inside instances packages only.

    Thanks,
    Yogesh


    #webMethods-io-B2B
    #webMethods


  • 5.  RE: Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 02:34 AM

    Hi @Yogesh_Bhandari

    I have passed like this C:\SoftwareAG\Test\fileDir*


    #webMethods
    #webMethods-io-B2B


  • 6.  RE: Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 02:35 AM

    C:\SoftwareAG\Test\fileDir*;

    Can you try by adding ; at the end followed by a Pkg Reload and see


    #webMethods-io-B2B
    #webMethods


  • 7.  RE: Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 02:27 AM

    If your installation directory is what you state then please confirm if you had Reloaded the WmPublic Pkg. If yes then check as per your OS ( Windows or Unix ) if for File Path Backward () or Forward Slash (/) is correct

    also each entry (path) must be separated via semi-colon ; as per syntax

    So even if you only 1 entry in your fileAccessCtrl then that path must end with ; I belief and the wM Public pkg must be reloaded for the change to take effect

    https://documentation.softwareag.com/webmethods/deployer/wdy10-15/webhelp/wdy-webhelp/index.html#page/wdy-webhelp/re-file_access_control_configuration.html


    #webMethods
    #webMethods-io-B2B


  • 8.  RE: Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 02:37 AM

    Hi @Kailash_Mishra

    I have used backward slash, let me change to forward and see


    #webMethods
    #webMethods-io-B2B


  • 9.  RE: Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 02:40 AM

    okay you may try with both slashes and in both formats and see if either works

    C:\SoftwareAG\Test\fileDir*;
    C:\SoftwareAG\Test\fileDir\;
    C:/SoftwareAG/Test/fileDir
    ;
    C:/SoftwareAG/Test/fileDir/*;


    #webMethods
    #webMethods-io-B2B


  • 10.  RE: Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 02:41 AM

    Hi @Kailash_Mishra @Yogesh_Bhandari

    Its working fine now by using forward slash and then reloaded the package.

    Thank you both of you


    #webMethods-io-B2B
    #webMethods


  • 11.  RE: Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 07:37 AM

    Hi,

    generally, the forward slash should be working independent of OS.
    Please specify your wM version for further assistance.

    Regards,
    Holger


    #webMethods-io-B2B
    #webMethods


  • 12.  RE: Specified path is not on the [allowedWritePaths] allowed list in the fileAccessControl configuration file

    Posted Tue September 17, 2024 12:07 PM

    Please provide the config file as well. You can mask if there is any unrelated/confidential information there. Telling how you implemented hardly ever helps.


    #webMethods
    #webMethods-io-B2B