BODS connectivity towards sharepoint

Hi again Guys,

I’m wondering if it’s possible to read a flat file that is stored on a Sharepoint server directly using the UNC path.

Right now i’m getting an error that “either the path or permissions” are not correct.

But i’m also wondering if it’s even possible to access it directly by using a format configured with the UNC path. I’m doubting if we can do this as the files are stored inside a database and not really on a disk somewhere.

I hope someone has experience with this. :hb:

kind regards
Laurens


lverstraeten :belgium: (BOB member since 2006-11-02)

Yes, you can, if your DI job server is running on Windows.

SharePoint allows access to document libraries through UNC paths. So if your document library was:

http://sharepoint/mydoc/library

the UNC equivalent is usually
\sharepoint\mydoc\library

and you can use that in your BODI job. The caveat is that Windows authentication is required, so whatever user your BODI services are running under (on the job server) needs permissions to that sharepoint library. And they should be in the same domain etc.


dnewton :us: (BOB member since 2004-01-30)

Thx dnewton

For the information. Right now i’m still getting the following error when i try to access the file from the BO server.

“Cannot open file <\Path\file.txt>. Please check its path and permissions.”

When i log on from a different location, as i cant log in on the BO server, i can access the files using the user specified on the job service.

I’m guessing it’s a network issue then. I’ve done a firewall change request asking to open port 445 to allow windows sharing between both servers. Is there anything else i need to think about?

Kind regards
Laurens


lverstraeten :belgium: (BOB member since 2006-11-02)

Just for the books, if the jobserver is running with a different account, there is still an option:

https://wiki.sdn.sap.com/wiki/display/BOBJ/Shared+Directory+access


Werner Daehn :de: (BOB member since 2004-12-17)

Hello Werner,

I tried this approach allready in the past, but did not succeed.

I think they don’t allow the mapping of a network drive or i’m facing network issues.

kind regards
Laurens


lverstraeten :belgium: (BOB member since 2006-11-02)

Above command is no mapping-a-drive, it is logging in into the server so you have permission to read from the UNC share.


Werner Daehn :de: (BOB member since 2004-12-17)

@ lverstraeten
How did you solve this issue.We are now facing the same issue.

Werner , pls let know if you have any idea how the issue got solved


SuCheri (BOB member since 2011-11-18)

All,

i mapped a sharepoint path to a mapped drive on my BODS server. Now when i login to my BODS dataflow , and point to this file and mapped drive , i can preview data . But when i run the job , i get “Check Path and Permissions” error.
I am able to access the path from run prompt also on the server.


basy2005 (BOB member since 2013-02-13)

I’d take a guess that your user account for Designer does have access to the mapped drive, but the service account that the job server uses to run jobs does not.


Nemesis :australia: (BOB member since 2004-06-09)