Unable to find an entry point named EnumerateSecurityPackagesW in

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to solve the following exception. The exception occurs when my
ASP.NET code behind code attemtps to access a remore site using SSL. Please
note that all certificates are valid and the remote site is trusted. Also, my
web site uses a custom HTTPModule implemented in a DLL named Security.dll.

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.
 
Hi

From the document, EntryPointNotFoundException
The exception that is thrown when an attempt to load a class fails due to
the absence of an entry method.

I think you may try to check the steps below.
1. you may try to check the DLL directly to see if it expose the function.(
you may use the depends tool, I assume it is a legacy DLL)
2. check if it is bind to the desired dll(maybe there is a dll of same
name), You may try to use the FileMon / Process Explorer tool in
sysinternals website.
http://www.sysinternals.com/Utilities/ProcessExplorer.html
http://www.sysinternals.com/Utilities/Filemon.html

2.1 check if there is any permission with filemon
3. Try to use the dll in a windows application.

You may have a try.


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Also, my
web site uses a custom HTTPModule implemented in a DLL named Security.dll.

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

EnumerateSecurityPackagesW is implemented in Secur32.dll.



Mattias
 
Back
Top