468,268 Members | 1,985 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,268 developers. It's quick & easy.

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

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.EnumerateSecurity Packages(Int32& pkgnum,
IntPtr& arrayptr) +45
System.Net.SSPIWrapper.EnumerateSecurityPackages(S SPIInterface SecModule)
+57
System.Net.SSPIWrapper.GetSupportedSecurityPackage s(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(IAsy ncResult asyncResult)
+75
System.Net.HttpWebRequest.GetRequestStream() +132
System.Web.Services.Protocols.SoapHttpClientProtoc ol.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


Nov 18 '05 #1
0 2188

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Prashant Bhuptani | last post: by
5 posts views Thread by Pratibha | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.