Unable to find an entry point named EnumerateSecurityPackagesW in

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

Peter Huang [MSFT]

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

Mattias Sjögren

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top