G
Greg
I've been reading a lot of other posts and trying a bunch of things but just
cannot get this to work. I'm hoping someone can help.
Here's the situation. I have a test folder which only Administrator has
access to. Inside it has a web page. In IIS (Windows 2003), I have
"Integrated Windows authentication" and "Basic authentication" check marked
for the folder -- nothing else.
I can access the folder with IE6 without being prompted for a username and
password (I'm logged in as Administrator). When I attempt to download the
page with the HttpWebRequest I get the error "401 Unauthorized". When I
specify credentials as: Request.Credentials = New
NetworkCredential("Administrator", "", "localhost") I also get "401
Unauthorized".
Does anyone have any idea what the problem might be?
BTW: This is a normal app run under the Administrator account.
Thanks
cannot get this to work. I'm hoping someone can help.
Here's the situation. I have a test folder which only Administrator has
access to. Inside it has a web page. In IIS (Windows 2003), I have
"Integrated Windows authentication" and "Basic authentication" check marked
for the folder -- nothing else.
I can access the folder with IE6 without being prompted for a username and
password (I'm logged in as Administrator). When I attempt to download the
page with the HttpWebRequest I get the error "401 Unauthorized". When I
specify credentials as: Request.Credentials = New
NetworkCredential("Administrator", "", "localhost") I also get "401
Unauthorized".
Does anyone have any idea what the problem might be?
BTW: This is a normal app run under the Administrator account.
Thanks