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.EntryPoi ntNotFoundExcep tion: Unable to find an
| entry point named EnumerateSecuri tyPackagesW in DLL security.dll
======
error , yes?
Based on my research, the problem you're encountering seems just due to the
"security.d ll" 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.d ll" under the %win dir% \system32 . However,
since you've a custom "security.d ll" assembly which has already been loaded
into your application(pro cess), 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.d ll" 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
EnumerateSecuri tyPackagesW in
| thread-index: AcWjT8VIz/8TjU21S6yZcse/F1PO3Q==
| X-WBNR-Posting-Host: 65.196.166.254
| From: =?Utf-8?B?VFJJX0NPREV S?= <TR*******@onli ne.nospam>
| Subject: Unable to find an entry point named EnumerateSecuri tyPackagesW in
| Date: Wed, 17 Aug 2005 10:19:05 -0700
| Lines: 16
| Message-ID: <E4************ *************** *******@microso ft.com>
| 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.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GXA03.phx.gbl
| Xref: TK2MSFTNGXA01.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:1186 45
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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 EnumerateSecuri tyPackagesW 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.EntryPoi ntNotFoundExcep tion: Unable to find an
| entry point named EnumerateSecuri tyPackagesW in DLL security.dll.
|
|
|