Why do I get System.UnauthorizedAccessException Access to the path 'Google.Apis.Auth' is denied

后端 未结 3 2056
误落风尘
误落风尘 2020-12-07 02:37

I have implemented google drive functionality for file management its working fine in local system but whenever i hosted it on Godaddy server it throw following error

<
3条回答
  •  日久生厌
    2020-12-07 02:52

    Root cause of the problem : This issue is generated because after validating authentication request its create directory and token file under in window's user's folder and we have not right's for that folder of Godadday server so it was not working

    Solution : Modified the source code of google apis[filedatasource.cs] for creating that file inside our directory and add reference of it and it will work

提交回复
热议问题