Problems with HttpWebRequest file upload - (403) forbidden

Tech-Archive recommends: Fix windows errors by optimizing your registry



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
.



Relevant Pages

  • Re: ASP.NET impersonation - getfiles() problem
    ... unchecked in IIS configuration. ... A machine must be trusted and configured for delegation. ... delegation" because of inside security procedures (bla, bla, bla). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: iis looses configuration information
    ... IIS Configuration is kept in memory. ... those virtual directories is lost. ...
    (microsoft.public.inetserver.iis)
  • Re: ASP.NET impersonation - getfiles() problem
    ... unchecked in IIS configuration. ... this on a serwer machine it works fine, ... delegation" because of inside security procedures (bla, bla, bla). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How does HttpHandler section work?!?
    ... Check the IIS configuration under ... Configure the .jpg extension like .aspx is ... > Internet Engineer ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Memory problems - WinDbg and SOS: Who recognizes this pattern?
    ... generally configuration error will cause a rapid & direct exception or ... resources are batch compiled so as to avoid potential heap memory ... Is there many COM interop or PInvoke code in your webservice, ... |> | ephemeral segment allocation context: ...
    (microsoft.public.dotnet.framework.performance)