双11狂欢大促

盲盒赢 定制羽绒服

开启惊喜盲盒,抽取你的专属好礼

— 惊喜奖品抢先看 —

通过webservices访问接口时出现异常,被阻止。。。

Jelena景 Jelena景 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我做了一个数据对接程序,在访问服务器上的接口时,出现了下面的异常:
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.UnauthorizedAccessException: Access to the path 'D:\WebServer\LP4_YHL\webservice\public' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at LinkPoint.TMSBusinessFacade.DefaultImpl.EdiFO.GetWaybillTrack(String EdiCallSign, DateTime StartTime, DateTime EndTime)
at LinkPoint.TMSWeb.WebService.Public.EDIService.GetWaybillTrack(String EdiCallSign, String UserName, String PassWord, DateTime StartTime, DateTime EndTime)
--- End of inner exception stack trace ---
我猜可能是权限问题,已经把文件夹的属性只读去掉了,并且权限也设为了erevyone,可是还是包同样的问题,路过的欧巴帮帮我吧。。。我没撤了,,心力交瘁,,在线等。
...全文

相关推荐

评论 8
收藏 已收藏
分享
返回顶部
Jelena景
.NET社区 62,274 成员 668,968 内容