Hi TRI_CODER,
Welcome to ASPNET newsgroup.
From your description, you've a custom HttpModule which is compiled into a
custom assembly named security.dll. And when you using this httpmodule in
an asp.net web application and try to accessing another remote site through
HTTPS connection, you're encountering the
=========
| Exception Details: System.EntryPointNotFoundException: Unable to find an
| entry point named EnumerateSecurityPackagesW in DLL security.dll
======
error , yes?
Based on my research, the problem you're encountering seems just due to the
"security.dll" of your custom component. When using HTTPS to access remote
resource, the system need to call the SSPI for SSL in the system components
which is in the "security.dll" under the %win dir% \system32 . However,
since you've a custom "security.dll" assembly which has already been loaded
into your application(process), the system assume that you've already
loaded the correct dll and didn't load the system32's security.dll, thus
you encoutering the error that fail to locate the proper security function
in your custom security.dll.
Currently the suggested resolution is to prevent naming our custom dll as
the "security.dll" since it conflict to the system's existing dll. You can
try modify your custom httpmodle assembly's name to see whether it helps.
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Unable to find an entry point named
EnumerateSecurityPackagesW in
| thread-index: AcWjT8VIz/8TjU21S6yZcse/F1PO3Q==
| X-WBNR-Posting-Host: 65.196.166.254
| From: =?Utf-8?B?VFJJX0NPREVS?= <
[email protected]>
| Subject: Unable to find an entry point named EnumerateSecurityPackagesW in
| Date: Wed, 17 Aug 2005 10:19:05 -0700
| Lines: 16
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:118645
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| 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.
|
|
|