Click here to Skip to main content
15,845,830 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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. 

I googled a lot. but nothing helps.


1 solution

You do not have permissions on the server to write a file. Have a look at this link:[^]
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900