How to access shared path from server

Hi,

I want to access files from the shared path and should send as an attachments. If i access manually its working fine.

I scheduled the agent, and signed with some authorised id.

the following error message is logged:

Error ( 4179 )Disk i/o is a restricted operation

Its clear that… it doesn’t have access to that below path. How can i send credentials which have access for this drive.

where i need to write that code or is there any alternate way to access those files.

path is some:

\199.00.000.01\ems hc\9.EMS Adminstration\

and code is:

Call MailBody.AppendText(ConfigDoc.FCON_MailBody(0))

Call MailBody.AddNewLine(2)

Dim object As NotesEmbeddedObject

Set object = MailBody.EmbedObject(EMBED_ATTACHMENT, "", Path+Cstr(Trim(doc.FCRF_EMailAddress(0)))+".pdf")

Call MailBody.AddNewLine(4)

Call maildoc.Send(False)

Thanks,

Kiran

Subject: How to access shared path from server

Has your agent a Runtime security level of 3 (“Allow restricted operations…”) ?

Subject: RE: How to access shared path from server

yah Thierry… But still same error…That configured shared drive is not accessible by all…

is this stopping the agent?? or agent reads the documents if required authentication alsp??

Thanks for your help…

Kiran

Subject: RE: How to access shared path from server

likely reason this is not working.

When I user run the agent it is using the mapped drive of the USER, this works because the use is logged in and the drive is mapped. The problem is that when the server is running it the mapped drive does not exist - this is where network HBA come into play to allow a authenticated drive mapped across the network.

You can try and put the full path to the share in the code ie \servername\path etc and have the security set to Annon full control. This would mean that server can just dump what it was etc.

Subject: RE: How to access shared path from server

make sure the server that domino is running on has access to the share on the destination server. the server that domino is running on should have a domain acct and that needs to be granted access to the share in order to authenticate.