Windows Server 2008 Forum: Loading A Dll From A Com Executable That Is Running Under A Custom User Is Not Working - Windows Server 2008 Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Loading A Dll From A Com Executable That Is Running Under A Custom User Is Not Working Rate Topic: -----

#1 User is offline   cmalcan 

  • Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 28-July 10
  • Location: Italy

Posted 28 Jul 2010 - 03:39 AM

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



IPB Skins by Skinbox

Enter your sign in name and password


Sign in options
Log in with Facebook Log in with Twitter Log in with OpenID   Or sign in with these services