通过webservices访问接口时出现异常,被阻止。。。
我做了一个数据对接程序,在访问服务器上的接口时,出现了下面的异常:
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,可是还是包同样的问题,路过的欧巴帮帮我吧。。。我没撤了,,心力交瘁,,在线等。
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,可是还是包同样的问题,路过的欧巴帮帮我吧。。。我没撤了,,心力交瘁,,在线等。
...全文
相关推荐
Jqurey_WebServices_Ajax分页
Jqurey+WebServices+Ajax分页 图片稍后传上去
VMware vSphere所需要开放的端口清单
主要介绍了VMware vSphere所需要开放的端口清单,以及各个端口的作用,需要的朋友可以参考下
Flex通过JS获取客户端IP和计算机名的实例代码
首先说明一下,用JS方式获取不是调用webservices和httpservices。 在我们每一个FLex web工程中,都有那么一个文件夹bin-debug,里面有个index.html文件,我的个人理解是这样的,首先网页运行的时候,mxml的文件会被编译为swf,那么swf如何在浏览器中展现,就是通过这个html文件,相当于在html文件中嵌入了一个swf的object组件。 www.jb51.net 所以,在这个html中写入js的代码,来获取ip地址我个人觉得是可行的。因此出现以下代码。 在index.html中增加script标签,实际代码如下: 代码如下:<scr
WebService测试方案
主要介绍目前主要的WebServices 测试方案,对axis,xfire,cxf等主流webservices开发作了介绍。
js跨域调用WebService的简单实例
下面小编就为大家带来一篇js跨域调用WebService的简单实例。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧



