Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Agent cannot access to domain folders

Posted on 2003-11-25
3
Medium Priority
?
212 Views
Last Modified: 2010-04-22
Hi All,

I am having this problem in R6 not in R5. THis is an auto agent to pull files from folder. The workstation where the files are located is in domain as for the domino server is not in domain. When i tried to run manually it can work but set to auto-schedule it can't. Error msg is file not found. i have checked the file is located in that folder. Initially it was Permission denied then i set my agent to share and allow others to view and run .The following is my code

Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As Notesdocument
Dim form As NotesForm
Dim rtitem As NotesRichTextItem
Dim object As NotesEmbeddedObject
Dim m As String
Dim d As String

Set db = session.CurrentDatabase
Set doc = db.CreateDocument
Set form = db.Getform("Document")
Set doc = New NotesDocument( db )
Set rtitem = New NotesRichTextItem( doc, "Body" )

m = "x:\Oep-hq\Daily Sales Performance for NSOs without Cost & GP.xls"
n = "x:\Oep-hq\ErrFile\Daily Sales Performance NSC and NSO Err file.txt"
Print "............"Left(Cstr(Filedatetime(n)),8) " " Cstr(Today)
doc.Date = Today
doc.Form = "Document"
doc.Categories = "Daily Accumulated Sales Performance for NSOs Without Cost & GP"
doc.Index = "BPR Report"
doc.Country = "[OEP-SG]"
doc.From = "Dwhadmin Oepis"
'doc.Authors =
'doc.Readers = "[OEP-HQ]"
doc.Subject = "Daily Accumulated Sales Performance for NSOs without Cost & GP"
Call doc.Save(True,True)

What is the problem?Is it the domain? Then why R5 work? Is it R6 have higher security?Or is there anything i need to set ?

Pang
0
Comment
Question by:Horse
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Accepted Solution

by:
CRAK earned 2000 total points
ID: 9823129
My guess would be that the R5 server does, and the R6 server does NOT have access to the drive, share, folder or file.
That would mean that this is an OS-administrator issue rather than a developper one: it works in R5 (checked it), so the code is ok.

(Why assign "doc" twice? And why not "print <statement> & <statement>", using "&" as concatenation operator to make the codeeasier to read?)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question