i have a strongly signed DLL (C#) that calls an unmanaged native DLL in win32.
The unmanged code is in placed in system32 directory and the managed code is in GAC.
Under Window XP (service pack 2) everything works fine but under Server 2003 it worked once but then started giving errors.
Under XP i have a modified medium trust setting but in 2003 for testing at least it is in full trust mode nevertheless it still gives the same error.
Unable to load : Access is denied ... HRESULT 0x80070005(E_ACCESSDENIED)
The web site can be accessed from internet but the dll is a bit of a problem.
The stack seems to indicate that it has a problem with locking?! but there are no other callers to lock the code?
Even calling the page from within the server (domain) doesn't make any difference.
i have added various users specially anyone required for internet access but there is no luck.
Have also ran and configured asp.net 2.0 on the IIS and configured the membership using sql 2005.
Any help would be much apprecaited.