ube100
asked on
Proxy Authentication require error...
Hi when I run this routine:
private void VoicepayCCProcess(string sRecordline, string sRequeststring)
{
try
{
string result;
HttpWebRequest request = (HttpWebRequest)WebRequest .Create("https://secure.voice-pay.com/gateway/remote_auth" );
request.ContentType = "application/x-www-form-ur lencoded";
request.Method = "POST";
using (StreamWriter writer = new StreamWriter(request.GetRe questStrea m()))
{
writer.Write(sRequeststrin g);
}
HttpWebResponse response = (HttpWebResponse)request.G etResponse ();
using (StreamReader reader = new StreamReader(response.GetR esponseStr eam()))
{
result = reader.ReadToEnd();
}
// Once we get response back from the voicepay we can construct the output file line by line.
WriteToFile(sRecordline, result);
}
catch (WebException ex)
{
MessageBox.Show(ex.Message );
}
}
On this line: using (StreamWriter writer = new StreamWriter(request.GetRe questStrea m()))
I'm getting this error:
the remote server returned an error 407 proxy authentication required
Can you help me please.
private void VoicepayCCProcess(string sRecordline, string sRequeststring)
{
try
{
string result;
HttpWebRequest request = (HttpWebRequest)WebRequest
request.ContentType = "application/x-www-form-ur
request.Method = "POST";
using (StreamWriter writer = new StreamWriter(request.GetRe
{
writer.Write(sRequeststrin
}
HttpWebResponse response = (HttpWebResponse)request.G
using (StreamReader reader = new StreamReader(response.GetR
{
result = reader.ReadToEnd();
}
// Once we get response back from the voicepay we can construct the output file line by line.
WriteToFile(sRecordline, result);
}
catch (WebException ex)
{
MessageBox.Show(ex.Message
}
}
On this line: using (StreamWriter writer = new StreamWriter(request.GetRe
I'm getting this error:
the remote server returned an error 407 proxy authentication required
Can you help me please.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Allow ssl-tunnel trough your proxy server. I checked it again my proxy.
ASKER
what is ISA server. I'm just working at my work place and I don't know anything about these settings.
If you just tell me how please.
If you just tell me how please.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.