Web服务asmx页面错误 [英] Web service asmx page error

查看:83
本文介绍了Web服务asmx页面错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用asp.net3.5 Web服务asmx页面上传和下载文件时,如何解决以下错误.


< faultstring>服务器无法处理请求. ---> < detail>

how to fix the below error while file uploading and downloading using asp.net3.5 web service asmx page..


<faultstring>Server was unable to process request. ---> Access to the path ''C:\inetpub\wwwroot\Files\Datas\nana.txt'' is denied.<detail>

推荐答案

文件放在"C:\ inetpub \ wwwroot \ Files \ Datas \"中,并且您没有管理员权限,那么此错误就会出现.您可以更改上载目录,也可以要求管理员特权来写或复制硬盘的"C"驱动器中的任何文件.



--Amit
You are uploading the file inside "C:\inetpub\wwwroot\Files\Datas\" and you don''t have administrator privilege then this error will come. Either you can change your upload directory or you can ask for the administrator for the privilege to write or copy any files in "C" drive of your hard-disc.



--Amit


这篇关于Web服务asmx页面错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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