使用服务帐户从共享点站点下载.xml文件时出现401错误 [英] Getting 401 Error while Downloading the .xml file from Share point site using service account

查看:55
本文介绍了使用服务帐户从共享点站点下载.xml文件时出现401错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们得到远程服务器返回错误:(401)未经授权.使用Client.DownloadFile(FileUrl,@path)从共享点下载.xml文件时出错;代码.

We getting the remote server returned an error: (401) Unauthorized. error while download the .xml file from share point using Client.DownloadFile(FileUrl, @path); code.

在过去几年中运行良好.我们正在使用服务帐户和pwd下载.xml文件

on the above code was working fine from past years. we are using the services account and pwd for download the .xml file 

请帮助我们

推荐答案

此处是有关故障排除的建议.

转到SharePoint网站的网站操作"->网站权限"->检查权限",以确认网站的服务帐户权限.

检查服务帐户密码是否已过期.

最好的问候,

Lee


这篇关于使用服务帐户从共享点站点下载.xml文件时出现401错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆