Reading a URL

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi all:

I am trying to read a file on a server via a URL and a stream request and
get this exception:

System.Net.WebException: The remote server returned an error: (401)
Unauthorized.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at Test.fields.fields_Load(Object sender, EventArgs e) in
c:\Projects\Test\fields.cs:line 316

Anyone know how to se the security so I can access the page?

Thanks.

John.
 
Hi all:

Well, I've discovered setting the "Allow Anonymous access" for the directory
in IBIS works, however is there a way to do this without touching the
server?

Thanks.

John.
 
Back
Top