System.Net.WebException请求失败,HTTP状态为401:未经授权. [英] System.Net.WebException The request failed with HTTP status 401: Unauthorized.

查看:330
本文介绍了System.Net.WebException请求失败,HTTP状态为401:未经授权.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人



当我尝试使用Web服务上载文件时,在生产服务器中会发生此错误.但是在本地计算机中,它可以正常工作.

Dear All



When i try to upload the File using Web service this error occurs in production server.But in the local machine it works fine.

System.Net.WebException    The request failed with HTTP status 401: Unauthorized. 



我用谷歌搜索了很多.但没有任何帮助.






问候
Jesu



I googled a lot. but nothing helps.






Regards
Jesu

推荐答案

您没有服务器上的写入文件的权限.看看这个链接:

http://support.microsoft.com/kb/313075 [
You do not have permissions on the server to write a file. Have a look at this link:

http://support.microsoft.com/kb/313075[^]


这篇关于System.Net.WebException请求失败,HTTP状态为401:未经授权.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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