- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-08-23 04:56 PM
Hi
I am trying to send an email with an attachment but I am getting the following error.
The folder in question was created by Blue Prism in the same process using the Utility File management create directory. So there should be no security checks on it, only the standard ones .
Does BP require a special user to be added so that it can access folders?
Thank you
------------------------------
Rachael Sherry
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-09-23 07:54 AM
Hi @RSHERRY
Please check the length of your attachment name, if it is greater than 64 characters including spaces this might result in the error that you've shared also I cannot see any extension in the filename which might be causing the issue.
------------------------------
Babjee Vangipurapu
Senior RPA Developer
Wonderbotz
India
------------------------------
Senior RPA Developer
India
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-08-23 11:00 PM
Hi Rachael Sherry,
Are you able to create the file with the same name by manually navigating the path ?
------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"
Harish Mogulluri
Lead developer
America/New_York TX
------------------------------
If I answered your query. Please mark it as the Best Answer
Harish Mogulluri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-08-23 11:03 PM
According to File.Delete Method...
An UnauthorizedAccessException
means one of 4 things:
- The caller does not have the required permission.
- The file is an executable file that is in use.
- Path is a directory.
- Path specified a read-only file.
Reference from stack overflow(https://stackoverflow.com/questions/8821410/why-is-access-to-the-path-denied)
------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"
Harish Mogulluri
Lead developer
America/New_York TX
------------------------------
If I answered your query. Please mark it as the Best Answer
Harish Mogulluri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-09-23 07:54 AM
Hi @RSHERRY
Please check the length of your attachment name, if it is greater than 64 characters including spaces this might result in the error that you've shared also I cannot see any extension in the filename which might be causing the issue.
------------------------------
Babjee Vangipurapu
Senior RPA Developer
Wonderbotz
India
------------------------------
Senior RPA Developer
India
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-09-23 09:56 AM
Copy the same path and try to open it manually and check whether your able to access it. Based on the outcome we will proceed further.
------------------------------
Best Regards,
Devendran Venkatesh
RPA - Technical Architect |
Riyadh 11413, Kingdom of Saudi Arabia
Phone. +966-556784162
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-09-23 08:44 AM
Hi Babjee , well spotted that was exactly what the error was . I had left out the file extension .
The email has now sent with the attachment.
Thanks 🙂
------------------------------
Rachael Sherry
------------------------------
