Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

Unable to find an entry point named EnumerateSecurityPackagesW in

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TRI_CODER - 17 Aug 2005 18:21 GMT
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.
"Peter Huang" [MSFT] - 18 Aug 2005 03:53 GMT
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

Signature

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Mattias Sjögren - 18 Aug 2005 08:22 GMT
>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

Signature

Mattias Sjögren [MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.