Getting error 403 unauthorized for HttpWebRequest.GetRequestStream

J

Joerg Jooss

Thus wrote SmilingJoe88,
Can anyone tell me what I can do to resolve this error?

This is a screen scraping example which is running on Windows XP Pro,
using IIS-PWS 5.1.

The example code I am using can be found at the following URL:
http://authors.aspalliance.com/damianm/article/4/3/httpWebRequest.aspx
.vb.view.aspx

The failure occurs at line #26, for the "s = req.GetRequestStream()"
call.

Is this because I am running this off of a PWS setup?

Excuse my ignorance, but what you do mean by PWS? And what local resource
are you accessing, and is that resource protected in any way?

Cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top