Ask a Question related to ASP.NET General, Design and Development.
-
G Joseph #1
WebException.TrustFailure from HttpwebRequest
Hello,
I am getting a WebException.TrustFailure when I call
HttpwebRequest.GetResponse. Anybody has an idea how to
resolve this issue? The code works correctly in other
sites. I noticed that, when I browse to the site using
IE, I am getting a security Alert messagebox prompting to
accept the certificate. Is there a relationship between
this two problems? How can I resolve it?
Thanks
-GJK
G Joseph Guest
-
WebException while calling Web Service over HTTPS...
I'm having an issue calling a Web Service (This is an 3rd party Web Service and I have no control/access to it) via HTTPS. We have talked to the... -
System.Net.WebException when calling a webservice
I am calling a web service that takes a long time to process. In Windows 2003 Server I get a System.Net.WebException error The underlying... -
webexception 404
hello all, I have a windows application that runs a webservice, namelly A, which uses sessions (i dont know if this is important). some times the... -
WebException, HTTP 404
I have an application with a couple of aspx-sites in a frame.aspx, consuming two web-services. (three projects in the same solution) I install... -
WebException: error: (401)
Hello ! Thanks by the aid. When I execute the place of. NET leaves the following error WebException: The remote server returned an error:... -
Joerg Jooss #2
Re: WebException.TrustFailure from HttpwebRequest
"G Joseph" spoke:
Yes, that's likely a problem for your code as well. It seems the> Hello,
> I am getting a WebException.TrustFailure when I call
> HttpwebRequest.GetResponse. Anybody has an idea how to
> resolve this issue? The code works correctly in other
> sites. I noticed that, when I browse to the site using
> IE, I am getting a security Alert messagebox prompting to
> accept the certificate. Is there a relationship between
> this two problems? How can I resolve it?
framework's default certificate policy rejects that particular
certificate. Check out
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-[/url]
us/cpref/html/frlrfSystemNetServicePointManagerClassCertificateP olicyTop
ic.asp
Cheers,
--
Joerg Jooss
[email]joerg.jooss@gmx.net[/email]
Joerg Jooss Guest
-
Yan-Hong Huang[MSFT] #3
RE: WebException.TrustFailure from HttpwebRequest
Hello Joseph,
Please post here if the problem is not resolved. Thanks.
Best regards,
Yanhong Huang
Microsoft Online Partner Support
Get Secure! - [url]www.microsoft.com/security[/url]
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
!Content-Class: urn:content-classes:message
!From: "G Joseph" <josephgigi@hotmail.com>
!Sender: "G Joseph" <josephgigi@hotmail.com>
!Subject: WebException.TrustFailure from HttpwebRequest
!Date: Sat, 19 Jul 2003 14:59:03 -0700
!Lines: 11
!Message-ID: <019c01c34e40$f7c915d0$a501280a@phx.gbl>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcNOQPfJEKecHaS1SeyTzhfQ2BoYsA==
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:160529
!NNTP-Posting-Host: TK2MSFTNGXA13 10.40.1.165
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!Hello,
!I am getting a WebException.TrustFailure when I call
!HttpwebRequest.GetResponse. Anybody has an idea how to
!resolve this issue? The code works correctly in other
!sites. I noticed that, when I browse to the site using
!IE, I am getting a security Alert messagebox prompting to
!accept the certificate. Is there a relationship between
!this two problems? How can I resolve it?
!
!Thanks
!-GJK
!
Yan-Hong Huang[MSFT] Guest



Reply With Quote

