Hi SOMEONE PLEASE HELP ME
I have a vb net program to call localhost http://localhost/hi.aspx,
my page work FINE when I browse it, but
when I call it through vb net program
it return error
The remote server returned an error: (401) Unauthorized.
please help
following are my code
ALSO can someone familiar with C# Net, convert it for me to C#>?
'// SEND TO URL
SURL = http://localhost/hi.aspx
HTTP_REQUEST = CType(WebReques t.Create(SURL), HttpWebRequest)
HTTP_REQUEST.Ke epAlive = True
'FreeBound()
HTTP_RESPONSE = HTTP_REQUEST.Ge tResponse
HTTP_RESPONSE = Nothing
HTTP_REQUEST = Nothing
I have a vb net program to call localhost http://localhost/hi.aspx,
my page work FINE when I browse it, but
when I call it through vb net program
it return error
The remote server returned an error: (401) Unauthorized.
please help
following are my code
ALSO can someone familiar with C# Net, convert it for me to C#>?
'// SEND TO URL
SURL = http://localhost/hi.aspx
HTTP_REQUEST = CType(WebReques t.Create(SURL), HttpWebRequest)
HTTP_REQUEST.Ke epAlive = True
'FreeBound()
HTTP_RESPONSE = HTTP_REQUEST.Ge tResponse
HTTP_RESPONSE = Nothing
HTTP_REQUEST = Nothing
Comment