473,598 Members | 3,252 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unable to find an entry point named EnumerateSecuri tyPackagesW in DLL security.dll : Server Error

I have found very little regarding the error "Unable to find an entry point
named EnumerateSecuri tyPackagesW in DLL security.dll. ". I have an ASP.NET
Web Service being accessed via SSL. I found a website indicating that if
any of your .dll names are security.dll, it could cause this issue. I
happened to have named the service that -- so I renamed the service's dll,
and it still didn't work.

I decided to start from scratch, and built a test service (namespace
"ServiceHos t") with one method:

[WebMethod()]
public string SayHello()
{
return "Hello";
}

It still does not work when accessed via SSL.

The exception is listed below. Can anyone tell me what's configured
incorrectly?

Thanks!
Sam Fields

Server Error in '/sandbox' Application.
----------------------------------------------------------------------------
----

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.

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:
[EntryPointNotFo undException: Unable to find an entry point named
EnumerateSecuri tyPackagesW in DLL security.dll.]
System.Net.Nati veNTSSPI.Enumer ateSecurityPack agesW(Int32& pkgnum, IntPtr&
arrayptr) +0
System.Net.SSPI SecureChannelTy pe.EnumerateSec urityPackages(I nt32& pkgnum,
IntPtr& arrayptr) +45
System.Net.SSPI Wrapper.Enumera teSecurityPacka ges(SSPIInterfa ce SecModule)
+57
System.Net.SSPI Wrapper.GetSupp ortedSecurityPa ckages(SSPIInte rface
SecModule) +29
System.Net.Secu reChannel..ccto r() +40

[TypeInitializat ionException: The type initializer for
"System.Net.Sec ureChannel" threw an exception.]
System.Net.Secu reChannel..ctor (String hostname, X509Certificate Collection
clientCertifica tes) +0
System.Net.TlsS tream.Handshake (ProtocolToken message) +51

[WebException: The underlying connection was closed: Could not establish
secure channel for SSL/TLS.]
System.Net.Http WebRequest.Chec kFinalStatus() +674
System.Net.Http WebRequest.EndG etRequestStream (IAsyncResult asyncResult)
+75
System.Net.Http WebRequest.GetR equestStream() +132
System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
methodName, Object[] parameters) +105
sandbox.webserv ice.servicehost .SayHello() in G:\wwwroot\sand box\Web
References\webs ervice\Referenc e.cs:37
sandbox._defaul t.Page_Load(Obj ect sender, EventArgs e) in
g:\wwwroot\sand box\default.asp x.cs:37
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +35
System.Web.UI.P age.ProcessRequ estMain() +731


Nov 18 '05 #1
0 2429

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5811
by: Rémi | last post by:
Hello all! I've been using Stephen Lebans' MouseWheel stuff for a number of years now, without problems. I've used on different combinations of Access and Windows, and have had great results with it. (Even better, considering what I paid for it.) Just hit a situation where it didn't work, though, and I was wondering if anyone else has hit this yet: *A dumb terminal, running Windows 2003.
1
3528
by: TRI_CODER | last post by:
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...
6
17951
by: Prashant Bhuptani | last post by:
Hi Guys, I am trying to use a C++ dll in VB.NET code. I have imported the dll in the following manner: <code> Imports System.Runtime.InteropServices
5
5958
by: Pratibha | last post by:
hi, i made a dll named rtbdts.dll and call it from vb.net through dllimport <DllImport("C:\misc\rtbdll\rtbdts.dll")> Public Shared Function Init() As String End Function But it returns the following error "Unable to find an entry point named 'Init' in DLL 'C:\misc\rtbdll\rtbdts.dll'."
3
15495
by: Saman | last post by:
I have a third party dll and I am sure that it is not an activeX or dotnet assembly . I have check it up with Dependency Walker software and found the list of it's exported function in C++ syntax for example : void __cdecl TelEnd(void) void __cdecl FaxStop(void) and so on ...
1
7068
by: raam_kimi | last post by:
Hi All I got some problem in importing advapi32.dll when i call the LogonUser method it throws an error like this 'Unable to find an entry point named LogonUser in DLL advapi32.dll.' this is the Exception An unhandled exception of type 'System.EntryPointNotFoundException' could anyone help me to fix this...
5
3568
by: Pucca | last post by:
I'm trying to pinvoke a function in a C++ dll but I'm getting an error that entry point can not be located from my pinvoke code. Do I need to add any code to the C++ DLL to make the pinvoke? The following is what I have in my C# code: public static extern void ShowAdProp( String m);
5
9435
by: TC | last post by:
I'm using VB.NET 2005. I need to create a DLL containing a function F(). A VB.NET application will reference the DLL by using a Declare statement. Declare Function F Lib "Foo.dll" (ByVal Woo As String) As Double When I write the DLL and test it, however, I get a runtime error. Unable to find an entry point named 'F' in DLL 'Foo.dll'.
0
1254
by: atmajdesai | last post by:
Hi I am getting this error when i am tring to user RegQueryValueExLong function from advapi32.dll. I imported the dll So please help me out
0
7899
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8392
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8050
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8264
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6718
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5850
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2412
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1504
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1250
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.