问题描述
我使用 visual studio 2019 构建了一个工作流,该工作流将在多个子站点上运行。
当用户提交新请求时,工作流暂停并返回以下错误。如果我手动运行工作流,用户可以正确地批准和拒绝任务。
RequestorId: 48c91e80-6ca4-efe7-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 401 {"error":{"code":"-2147024891,System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access denied. You do not have permission to perform this action or access this resource."}}} {"transfer-encoding":["chunked"],"X-SharePointHealthscore":["0"],"SPRequestGuid":["48c91e80-6ca4-efe7-b7a6-b9d0cbc8a37b"],"request-id":["48c91e80-6ca4-efe7-b7a6-b9d0cbc8a37b"],"x-frame-options"
数据库日志
Attempt 6 of the HTTP request to 'http://sharepoin/subsite1/_vti_bin/client.svc/web/lists/getbyid(guid'4cb6274d-8016-48ee-bbcd-5172a4c5e36c')/Items(1)' Failed with response '401'.
Attempt 1 of the HTTP request to 'http://sharepoin/subsite1/_vti_bin/client.svc/site/ReadOnly' Failed with response '401'
当我运行工作流程手册时它可以正常工作,否则会暂停。
我做了很多变通方法,但仍然像 grant permission contribute on task list for the rquestor
一样失败。在 IIS 应用程序池 security toked service
上,我启用了 Load user profile = true
。
但是还是不行。有什么帮助吗?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)