The following code generate error Error 101 unable to open file
Dim fileNum As Integer
fileNum% = Freefile()
Open “/Data/testfile.html” For Output As fileNum%
Any one know the reason
The following code generate error Error 101 unable to open file
Dim fileNum As Integer
fileNum% = Freefile()
Open “/Data/testfile.html” For Output As fileNum%
Any one know the reason
Subject: Resolved!
I am having the same problem now that I am on Windows 7, and Lotus 8.5.1. I believe the problem is the Windows 7 with the increased security.
My agent runs on the client station, to create a file in the “Data” directory. I tried changing it a fully qualified path which didn’t make a difference and to a different destination.
I looked at the Security permissions and “Everyone” was set to Full Control on the Data directory, so that didn’t help.
I know it’s a permission thing, so I enabled the “Run Program As Administrator” in the properties of notes.exe , and my agent works like a charm
Hope that Helps
Tina
Subject: try using the full file path
My guess is the leading slash. Try using the full file path to see if the error goes away
Subject: Enure write access to file and folder
If the code is in an agent running on the server, you must ensure that the signer of the agent has write access to the folder /Data/ on the Domino server.
If the code is run directly by the user (e.g. using a button in a form or view), ensure that the user must have write access to the /Data/ folder on the local PC.
Subject: Access Issue
/Data is actually under the root folder and contains my mail folder too therefore i created a new folder to under it named ‘TestFolder’ and put the 777 permision on it and modified the code as below
Open “/Data/TestFolder/testfile.html” For Output As fileNum%
Same error happens.