Blogs

  • Browse Blogs
  • My Blog
  • My Updates

Tags Help

  • View as cloud  | list

Similar Entries

photo

Resynching DAOS refe...

Blog:  Chad Scott
Chad Scott
Updated 
Ratings 1     No Comments 0
photo

Domino Bug: how to r...

Blog:  Jan Schulz
Jan Schulz
Updated 
No Ratings 0     Comments 3
photo

It is a bug - TIMEZO...

Blog:  Domino Diva
Kim Greene
Updated 
No Ratings 0     No Comments 0
photo

Domino server comman...

Blog:  Martin Musil
Martin Musil
Updated 
No Ratings 0     No Comments 0
photo

Fun day tomorrow!

Blog:  Domino Diva
Kim Greene
Updated 
No Ratings 0     Comments 3

Notes Some Frustrations

Blog Authors:  Darren Briaris  

Previous |  Main  | Next

Domino as a service and UNC paths - Ahhhhhhh!

Darren Briaris  |     |  Tags:  domino unc  |  Comments (4)
Hit a problem with an agent  last week that is one of those things that gets very frustrating!

I had written an agent to get some data from a Notes DB, create a CSV and copy the file to our Cognos server to be imported later. Worked fine when run  but failed when the agent was scheduled. After some very frustrating testing worked out that the problem was that the file was being written out to a file identified by a UNC path (i.e. \\server\folder\filename.txt). This doesn't work when the Domino server is run as a service.

Not sure of the best solution... don't really want to map a drive .... ?????

Comments

1 Tim Tripcony      Permalink Darren, is the Domino service running as the "Local System" account? In the past, I've had to set the service to run under the permissions of a Windows account that has access to the target location when running server-based agents that perform network transactions (i.e. writing to a UNC path, issuing SQL transactions, etc.). While this allows Domino to connect under that account's permissions (as long as the agent is set to allow restricted operations and signed by an ID authorized to create restricted agents), the primary downside is that the service can no longer interact with the desktop - in other words, you lose the console window.

2 Jan.Erik Larsen      Permalink You should not map drives while logged in as a user in the OS, because Domino starts up as a service, and these drives are not visible for Domino.

What I do in these situations, is
- create an nMapLDrive.cmd file with a net use command
(net use L: \\server\share /username .....). Put the file in the C:\Lotus\Domino folder.
- create a Program document in the Domino Directory that runs the .cmd file (command: MapLDrive.cmd - without the first letter n) every now and then.

Now you can create agents that operates on the L: drive. Remember to set the agent security level in Agent Properties correct!

3 Martin Humpolec      Permalink We had this problem as well and I think that it was possible to add the rights to the target location to the source machine (running Domino). Then we got the ability to see the console and still be able to connect to other machine.

4 Keith Nolen      Permalink All of the above solutions will work, but I have found is that the best solution is to have Domino write out the file locally to a folder that is networked-shared, then have the consuming application pick it up from there.


Previous |  Main  | Next
Skip to main content link. Accesskey S
IBM Lotus Connections Help Tools About

Tags

A tag is a keyword that is used to categorize an entry. To view the entries with a particular tag, click a tag name or enter a tag in the box.
The tag cloud indicates the frequency of tag use. Popular tags appear darkest. The slider control adjusts how many tags are displayed in the tag cloud.