Unable to load DLL 'LCE.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
-
Hi all, 1. I have a Virtual Dedicated Server. 2. I am getting "Unable to load DLL 'LCE.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))" where LCE.DLL is a C++ dll. 3. I have .NET dll that access the C++ dll. The error occurs when I try to call a function in the c++ dll. //__declspec(dllexport) int __stdcall siv(LPWSTR inbuf, int seed, bool div) C++ [DllImport(@"LCE.dll")] //C# public static extern int siv([MarshalAs(UnmanagedType.LPWStr)]string outbuf, int x, bool b); I am pretty certain that it is NOT the dll but the permissions on the bin directory of the web site, I have tried a number of things to give the permissions to execute the dll but nothing has worked so far. Does anyone know or point me in the direction where I can resolve this issue help!
theLizard