Unable to find an entry point named EnumerateSecurityPackagesW in DLL security.dll.

From: Rob (rob_at_tconsult.com)
Date: 02/20/04

  • Next message: Salman: "DESCryptoServiceProvider Encrption outputing funny characters"
    Date: Thu, 19 Feb 2004 19:54:39 -0500
    
    

    Hello all

    I am trying to connect to authorize.net and I am greeted with the following
    error.
    Unable to find an entry point named EnumerateSecurityPackagesW in DLL
    security.dll.

    I have included the stack trace which has more info. What little I can find
    on this deals with
    Web Services (which connection to authorize.net would be) but I am unable to
    find out what I need
    to do. Thing is, I have done this in the past with zero problems. Any help
    would be awesome.....Rob

    [EntryPointNotFoundException: Unable to find an entry point named
    EnumerateSecurityPackagesW in DLL security.dll.]
       System.Net.NativeNTSSPI.EnumerateSecurityPackagesW(Int32& pkgnum, IntPtr&
    arrayptr) +0
       System.Net.SSPISecureChannelType.EnumerateSecurityPackages(Int32& pkgnum,
    IntPtr& arrayptr) +45
       System.Net.SSPIWrapper.EnumerateSecurityPackages(SSPIInterface SecModule)
    +57
       System.Net.SSPIWrapper.GetSupportedSecurityPackages(SSPIInterface
    SecModule) +29
       System.Net.SecureChannel..cctor() +41

    [TypeInitializationException: The type initializer for
    "System.Net.SecureChannel" threw an exception.]
       System.Net.SecureChannel..ctor(String hostname, X509CertificateCollection
    clientCertificates) +0
       System.Net.TlsStream.Handshake(ProtocolToken message) +51

    [WebException: The underlying connection was closed: Could not establish
    secure channel for SSL/TLS.]
       System.Net.HttpWebRequest.CheckFinalStatus() +673
       System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult)
    +75
       System.Net.HttpWebRequest.GetRequestStream() +132
       ASP.test_aspx.ProcessCard(String zexp) in d:\websites\foo\test.aspx:136
       ASP.test_aspx.AddPayment(Object sender, EventArgs e) in
    d:\websites\foo\test.aspx:60
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108

    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePo
    stBackEvent(String eventArgument) +57
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
    sourceControl, String eventArgument) +18
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
       System.Web.UI.Page.ProcessRequestMain() +1277


  • Next message: Salman: "DESCryptoServiceProvider Encrption outputing funny characters"