Reading a URL

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.
 
J

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.
 

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

Top