on 2014 Aug 12 10:13 AM
Hi All,
I am trying to save generated PDF file in a particular location like C:/Documents and Settings/FolderName/My Documents/test.png.
But Its givinhg following error.
[ERROR] [Image_Saver_0]ImageSaver: Access to the file path /C:/Documents and Settings/FolderName/My Documents/test.png is not allowed .
I am Using Image Saver action block.
To this passing PDF_Document output as Input to "Encoded image" of Image saver action block.
passing path as above in "Path" of Image saver action block.
MII version :14.0 SP4.
Can anybody suggest me how to give path to store PDF files in a particular location.
Thanks&Regards,
Rajee .
Request clarification before answering.
Hi,
Please check the System Properties administration screen. You might be having Default Path property set to 'MII'. In case you don't need it, please clear the value of this property.
After that please run your transaction.
Anushree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajee,
This appears to be a Windows folder permissions issue.
Recommend you create a new folder (i.e. c:\PDFDocs or something similar), not identified with any specific user and not in any special folders like Documents and Settings, or Users., Add Everyone - Full Control to the folder permissions, and then try to save your document in that new folder. If that works, then you will need to add the local MII Service user name (SAPServicexxxx) - Full Control to the folder permissions, and any other local or domain users that will need to access this folder, if you do not want to continue to use the Everyone permissions.
Regards, Steve
Hello Rajje, Just want to make sure, Are you trying to store your pdf in server C:\ folder or your local machine ?
If it is in server you are trying to store, you should be able to use C:\New folder\test.txt as long as Folder you mentioned in your path is created in C: before you use that in your transaction.
Hope this helps.
Thanks
Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Hari,
Thanks for your reply.
I am trying to save currently on my local machine.
I also tried as suggested by Raman ,but its not working.
If I am trying to save in server machine, I am getting different error like
"
Folder name "Temp" is already created in this machine.
Path I am giving like "\\01hw601622\temporaryshare\Temp\test.png" in my Image saver action block.
My transaction is like this.
Kindly suggest me if I am wrong.
Regards,
Rajee Vuta.
You can save files in shared location too using MII . I am saving xml and txt files in shared location . I suspect that your folder location not shared properly ..
I believe, MII uses network/local user account which was used while installing MII server to access this path at run time. make sure that shared folder is accessible to that account as well...
Hope this helps !
Thanks
Hari
If the files are created in a scheduled transaction which runs under the system account, you don't have access to network with it. Try specifying a named (domain) user to access network locations. Make sure that domain user has access to MII (LDAP driven).
You'll have issues with the security people if you save data on network drives (which can be or not there) depending on the data you want to export. Save the file instead, in the PROJECT/WEB folder in the Netweaver web space and offer a link for download to the user when required. Clean up the files periodically when they're not used for long periods of time. (i.e. clean up everything older than 1 month)
Another option is to enable a FTP daemon on your PC and use the FTP PUT action block to write it there (as long as the your computer is up and running).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.