I have a user has Edit permission only.
When user try to create the workflow, it will show "urlOfFile Parameter name".
After I try to save few times, it will show "Access is denied".
When user try to update the workflow, it will show "Access is denied".
I would like to know how to solve this problem? Thanks!
Solved! Go to Solution.
HRESULT: 0x80070005 (E_ACCESSDENIED) is a fairly cut and dry error message returned from SharePoint. Plainly said the user context attempting this operation does not have sufficient rights to perform the actions being executed during publish. ULS logs are going to be your best option to see what call stack you are receiving this error from to determine what rights are missing.
The lack of permissions is most likely why they received the initial error "UrlOfFile Parameter name" to begin with and following the steps in my blog allowed the real reason for the error to bubble up.