Path file ...

Hi everybody,

My files are located on a server which is not the DI server.
I have connected a network drive on the directory where they are located with the DI services account system (“X:” <–> “\myserver\mydirectory”)
My job uses these files and when I launch my job, I have an error when I specify path file like “X:” and it runs successfully when I specify UNC path (\myserver\mydirectory) …

Is it normal ?
Is it possible to use path file like “X:” ?


Toons :fr: (BOB member since 2009-04-14)

This is a usual case!!!

You say you try to use a map network drive option. Right?

Please try configuring the same Map Network Drive on the Job Server Machine, with the Login with which the DS Service runs up. I have not tried this out.


ganeshxp :us: (BOB member since 2008-07-17)

you will have to add the mapped drive info in DSConfig.txt file on the Job Server machine

check the following post


manoj_d (BOB member since 2009-01-02)

Thanks manoj_d but it seems that is not working … :frowning:

My remote drive is \myserver\DataStore and I want to map X: on it.
Is that syntax is correct :

[MappedNetworkDrives]
LocalDrive1=X:\
RemoteDrive1=\\myserver\DataStore

If my file “test.txt” is located on “\myserver\DataStore”, I can then use X:\test.txt in my job to access it ?


Toons :fr: (BOB member since 2009-04-14)

you also need to ensure the user the DI service on the Job Server is running as has access to that network drive


speed12 (BOB member since 2004-09-27)

Yes, it is what I have done …

Any idea ?


Toons :fr: (BOB member since 2009-04-14)

I contacted the SAP/BO support and they said me that we have to use UNC paths (\myserver\mydirectory) and that we can’t use network mappings (like “X:\mydirectory”) …

:wah:


Toons :fr: (BOB member since 2009-04-14)

this is strange this did worked in the following case

did you restart DI Services ?


manoj_d (BOB member since 2009-01-02)

Yes, I restart DI services but it didn’t work …

Perhaps, I did not set it properly …
I try this, is it correct ? :?:

[MappedNetworkDrives]
LocalDrive1=X:\
RemoteDrive1=\\myserver\mydirectory

(“mydirectory” is a shared directory and the user that launch DI services has access to it)


Toons :fr: (BOB member since 2009-04-14)

check what is the error that is logged in %LINK_DIR%\log\service_eventlog.txt

search for Error mapping localDrive


manoj_d (BOB member since 2009-01-02)

Thanks manoj_d !!!

There was an error on this file. So I tried to modify the mapping in DSConfig.txt like this :

[MappedNetworkDrives]
LocalDrive1=X:
RemoteDrive1=\myserver\mydirectory

And now, it works ! :smiley:
Thank you very much ! :+1:


Toons :fr: (BOB member since 2009-04-14)

I open a new case with support to know if this solution is supported.
I wait for their reply and tell you more soon. :?


Toons :fr: (BOB member since 2009-04-14)

I don’t see a reason why its not supported, its documented in technical Manual, check for “To use mapped drive names in a path” in manual

in the documentation steps are provided to update the DSConfig.txt from Designer, you directly modified the DSConfig.txt, I don’t see any issue with that


manoj_d (BOB member since 2009-01-02)

Exact ! I didn’t see that in documentation. Thanks for your help manoj_d ! :+1:
Well, it’s curious that BO support didn’t guide me to this example … :shock:


Toons :fr: (BOB member since 2009-04-14)