Loading A Dll From A Com Executable That Is Running Under A Custom User Is Not Working

cmalcan

New member
Joined
Jul 28, 2010
Messages
1
Location
Italy
Hi,

on a Windows Server 2008 x64 machine we are trying to load a dll from a COM executable under a particular local user (added to local Administrators group).

The problem is not caused by the dll itself, because we have written a small program that calls that dll successfully.

We experience the problem from a .NET web application that runs under an AppPool configured with the same custom user. In the web application we get the following error:

System.Runtime.InteropServices.COMException (0x80029C4A): Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY))

we were thinking about a permission problem, so we set the full control to that specific user on the folder where the dll is and also on IIS application pool the Web application runs under.

Is there something new in Windows Server 2008 regarding security issues and/or COM dlls?

Thanks in advance.
 
Back
Top