Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Unable to load DLL 'LCE.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Unable to load DLL 'LCE.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Scheduled Pinned Locked Moved ASP.NET
helpcsharpc++sysadminhosting
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    theOzLizard
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups