Click here to Skip to main content
15,886,110 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralWeb Service From Java Pin
Member 1697730-Apr-04 19:32
Member 1697730-Apr-04 19:32 
GeneralRe: Web Service From Java Pin
Colin Angus Mackay3-May-04 0:07
Colin Angus Mackay3-May-04 0:07 
GeneralRe: Web Service From Java Pin
ian mariano13-May-04 18:35
ian mariano13-May-04 18:35 
GeneralBack to the beginning Pin
RickZ28-Apr-04 18:22
RickZ28-Apr-04 18:22 
GeneralSystem.EntryPointNotFoundException Pin
taylo28-Apr-04 5:01
taylo28-Apr-04 5:01 
GeneralRe: System.EntryPointNotFoundException Pin
Mike Dimmick28-Apr-04 6:19
Mike Dimmick28-Apr-04 6:19 
GeneralRe: System.EntryPointNotFoundException Pin
taylo28-Apr-04 6:33
taylo28-Apr-04 6:33 
GeneralRe: System.EntryPointNotFoundException Pin
Mike Dimmick28-Apr-04 7:22
Mike Dimmick28-Apr-04 7:22 
Yep, that third one probably did it. I've thought of another way it could happen: if the other security.dll is a managed DLL.

The CLR still uses the LoadLibrary API to load managed DLLs, for compatibility with Managed C++ (in which it's possible to implement DLLs with so-called 'flat' exports) I think. This loads the DLL with an explicit path. If this gets loaded before the P/Invoke (embedded in the depths of System.DLL) happens, LoadLibrary will return a handle to this managed DLL rather than looking for the DLL in System32, even on Windows Server 2003. This could happen if another website in the same application pool which uses that DLL starts before your application does.

My solution of using LoadLibrary explicitly likely wouldn't help in that case.

If you can delete that extra security.dll, that's the easiest solution. I suspect it's being copied back there by a different web application, though. Check the bin directory under your application roots.

If you ever have to deal with a situation where another web application is using a security.dll (or any other name which conflicts with a system DLL), your best bet is probably to create a separate application pool for one of the conflicting applications. This will force it to get a different W3WP worker process (in IIS 6.0), so they won't conflict.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: System.EntryPointNotFoundException Pin
taylo28-Apr-04 8:18
taylo28-Apr-04 8:18 
GeneralRe: System.EntryPointNotFoundException Pin
taylo3-May-04 9:52
taylo3-May-04 9:52 
GeneralUsing System.Data.SqlClient in MSDE install. Pin
ProffK28-Apr-04 0:59
ProffK28-Apr-04 0:59 
Generalword and power point support in .net Pin
seemeen27-Apr-04 20:47
seemeen27-Apr-04 20:47 
GeneralRe: word and power point support in .net Pin
Mike Ellison3-May-04 5:34
Mike Ellison3-May-04 5:34 
GeneralRe: word and power point support in .net Pin
seemeen4-May-04 20:38
seemeen4-May-04 20:38 
GeneralRe: word and power point support in .net Pin
Mike Ellison5-May-04 7:34
Mike Ellison5-May-04 7:34 
GeneralInstalling the DOT Net Framework Silently Pin
LeprosyLM27-Apr-04 4:00
LeprosyLM27-Apr-04 4:00 
GeneralDetermine Versions required in GAC for a particular Application Pin
Paul Farry26-Apr-04 21:26
professionalPaul Farry26-Apr-04 21:26 
GeneralHighlight Treeview Node Pin
Sreepathi26-Apr-04 19:22
Sreepathi26-Apr-04 19:22 
GeneralChecking for Installed Components/Libraries Pin
swcrissman26-Apr-04 7:32
swcrissman26-Apr-04 7:32 
Generalutf8 to unicode conversion.. Pin
Maverick25-Apr-04 23:24
Maverick25-Apr-04 23:24 
GeneralRe: utf8 to unicode conversion.. Pin
Mike Dimmick26-Apr-04 0:53
Mike Dimmick26-Apr-04 0:53 
Generaldates reminder from database Pin
kings_125-Apr-04 13:32
kings_125-Apr-04 13:32 
GeneralVisual Studio Service Packs Pin
Kevin McFarlane21-Apr-04 2:03
Kevin McFarlane21-Apr-04 2:03 
GeneralRe: Visual Studio Service Packs Pin
Dimitris Vasiliadis21-Apr-04 2:33
Dimitris Vasiliadis21-Apr-04 2:33 
GeneralRe: Visual Studio Service Packs Pin
ian mariano25-Apr-04 14:28
ian mariano25-Apr-04 14:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.