Solved

Agent cannot access to domain folders

Posted on 2003-11-25
3
209 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 500 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

Industry Leaders: 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…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

724 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