Server Error: Unable to find an entry point named EnumerateSecurityPackagesW in DLL security.dll.
From: Sam Fields (sfields_at_jumpthegun.com)
Date: 10/22/04
- Next message: AD: "Windows Authentication for ASP.NET"
- Previous message: Jorge Matos: "RE: Maintaining the current context .user between sites"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 22 Oct 2004 11:56:22 -0400
I have found very little regarding the error "Unable to find an entry point
named EnumerateSecurityPackagesW in DLL security.dll. ". I have an ASP.NET
Web Service being accessed via SSL. I found a website indicating that if
any of your .dll names are security.dll, it could cause this issue. I
happened to have named the service that -- so I renamed the service's dll,
and it still didn't work.
I decided to start from scratch, and built a test service (namespace
"ServiceHost") with one method:
[WebMethod()]
public string SayHello()
{
return "Hello";
}
It still does not work when accessed via SSL.
The exception is listed below. Can anyone tell me what's configured
incorrectly?
Thanks!
Sam Fields
Server Error in '/sandbox' Application.
----------------------------------------------------------------------------
---- Unable to find an entry point named EnumerateSecurityPackagesW in DLL security.dll. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.EntryPointNotFoundException: Unable to find an entry point named EnumerateSecurityPackagesW in DLL security.dll. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [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() +40 [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() +674 System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult) +75 System.Net.HttpWebRequest.GetRequestStream() +132 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +105 sandbox.webservice.servicehost.SayHello() in G:\wwwroot\sandbox\Web References\webservice\Reference.cs:37 sandbox._default.Page_Load(Object sender, EventArgs e) in g:\wwwroot\sandbox\default.aspx.cs:37 System.Web.UI.Control.OnLoad(EventArgs e) +67 System.Web.UI.Control.LoadRecursive() +35 System.Web.UI.Page.ProcessRequestMain() +731
- Next message: AD: "Windows Authentication for ASP.NET"
- Previous message: Jorge Matos: "RE: Maintaining the current context .user between sites"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|