Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Problems with HttpWebRequest file upload - (403) forbidden

Reply
Thread Tools

Problems with HttpWebRequest file upload - (403) forbidden

 
 
Roland Riess
Guest
Posts: n/a
 
      03-07-2006
Hi,

as an absolute web and configuration beginner I am stuck with a problem
and so I finally seek your help again:

Development tools: ASP.NET 1.1, C#, VS 2003, Windows 2000 SP4, IIS 5.0

I developped a web service that writes data from a text file uploaded
from a Pocket PC to a database, and then prepares another text file with
updated master data for download by the Pocket PC.

My current problem are NTFS rights and/or the IIS configuration. I
succeeded in getting all this working on one machine but only by
granting all rights to "everyone". But this is no real solution.

I would like to pass credentials with the HttpWebRequest for the upload
(e.g. NetworkCredential("user", "password")), and set up a corresponding
local Windows user on the machine running the web server to access up-,
download and the webservice. But up to now all my attempts failed as I
do not really understand what I have to configure where and how for
getting this to work. Mostly I end up with "...(403) Forbidden" or I'm
running into a timeout.
Is there some kind of "formula" for configuring the web site (I'm really
lost in the help of IIS) for that all elements involved (webservice,
NTFS authorisation and IIS configuration) work together like wanted? I
appreciate any kind of help!

Thanks in advance
Regards
Roland
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP 403.1 Forbidden: Execute Access Forbidden David Hunt ASP .Net 4 10-04-2009 08:40 PM
Upload xml file- HttpWebRequest Rob ASP .Net 1 05-12-2008 03:45 PM
HttpWebrequest Upload Of (image) Binary file. Gert Conradie ASP .Net 1 06-18-2007 10:49 AM
IIS HTTP 403.1 Forbidden: Execute Access Forbidden Mark J. McGinty ASP General 2 12-09-2005 08:54 PM
HttpWebRequest is giving: "Error on HTTP request: The remote server returned an error: (403) Forbidden." edsuslen@yahoo.com ASP .Net 2 09-27-2005 12:17 PM



Advertisments