Ananth M 30.Dec.08 04:58 PM a Web browser Domino Designer 7.0.3 FP1; 7.0.3; 7.0.2 FP3; 7.0.2 FP2; 7.0.2 FP1; 7.0.2; 7.0.1 FP1; 7.0.1; 7.0; 6.5.6; 6.5.5 FP3; 6.5.5 FP2; 6.5.5 FP1; 6.5.5 Windows Vista; Windows 2003; Windows 2000; Windows XP; Windows NT; Windows 95; Windows 98
I am getting an error "You are not authorized to perform that operation" at the following line.
set doc = view.getfirstdocument
I am sure its getting the view handle, because when I print the view name (view.name), I am getting the view name. Also, If we use db.getdocumentbyUnid, I am able to get the same document handle resides at fist position in above said view. I am wondering why the script is not able to retrive the first document from view, not only the first document, it does not work out even for getdocumentbykey from view handle. Basically nothing works out to get document handle from view.
This agent is available in lotus notes database and it is not scheduled agent, but being triggered by an activity from LEI server. That LEI activiy just kicks off this agent resides in different server. I am sure there is no issue with the connection between the servers as because its able to get handle of database, view and even document only thorugh database handle(db.getdocumentbyunid), but through view handle. Why is not working for the views? I added the server name in the ACL with the manager access. But no hope. Where could be the problem? Please let me know your thoughts.