Re: SoapException - NullReferenceException

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Steven

As for webservice over SSL, there does exists some common issue such as
the
client certificate supplyment(if you've configured it to require client
cert) or the server certificate of the SSL is not recognized at client
side. Since the "Null Reference" exception is quite a general one, I
think
it would be better to do more tests before we look further into it:

** You can turn off SSL and access it through normal http to see whether
it
works.

Okay, well, I know that the SSL certificate is fine, if that helps as the
error page that I am redirected to has the same certificate as it's on the
same sate, and IE says it's all okay. Also I have previously had the issue
with an invalid certificate and know this to not be the case.

** As you mentioned that you can visit the asmx page via webbrowser, is
there any warning or error when you visit it through webbrowser? Some
warning (that can be suppress interactively) may cause exception when we
access it programmtically

Nope, I can just view the page fine. If I try and invoke it through the
browser I get redirected to a 500 error, internal server error.

**As Alex suggested, Eventlog is also worth checking for any useful clues.

Unfortunately there is nothing in the Event Viewer for this error, do I
have to enable something in order to see more detailed information?

Cheers for your time, I'm still cracking at it.

Nick.


.



Relevant Pages

  • Re: MOD_SSL and MOD_AUTH_OPENVMS
    ... ## for proper server startup. ... ## SSL Support ... # List the ciphers that the client is permitted to negotiate. ... # Point SSLCertificateFile at a PEM encoded certificate. ...
    (comp.os.vms)
  • Re: Using SSL with IIS 5.0 - how does it work.
    ... Description of the Secure Sockets Layer (SSL) Handshake ... username and password when users authenticates to server (e.g. to check ... his/her e-mail) (client sends this data to the server) ... If you want your users to trust your SSL certificate ...
    (microsoft.public.inetserver.iis.security)
  • Re: OpenSSL read/write timeouts
    ... This is an example of a SSL client with minimum functionality. ... This SSL client verifies the server's certificate against the ... the SSL server does not request & verify the client ...
    (comp.os.vms)
  • Re: Need for encryption in WSE 3.0 if using SS-avoid man-in-middle
    ... SSL only validates you are talking to a SSL certified server; ... They can simply edit the URL the client program ... can be done by using a X.509 certificate on both ends, ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: stunnel, OpenSSL, certificates, etc. [was: SMTP server or "forwarding"?]
    ... Is there a way to find a server that might be there but I ... The client side of this is built into many email ... > how the ssl stuff works. ... Does the client need to have the certificate ...
    (Fedora)