IIS, Impersonation and COM Interop Premission Denied
Posted
by user315690
on Stack Overflow
See other posts from Stack Overflow
or by user315690
Published on 2010-04-13T16:11:41Z
Indexed on
2010/04/13
16:13 UTC
Read the original article
Hit count: 488
Hello we are in the throws of integrating a Document Management System with Dynamic CRM 4, have done similar things previously but in this instance we are having to reference a COM dll. We've configured the asp.net page (we are bringing the info in via a i-Frame in CRM), setting Impersonation = True in the Webconfig and ensured that Windows authentication is the only method available within IIS.
All works as we would expect when logged into the server itself and the page happily does off finds all the relevant documents for the CRM account and presents them to a user in a nice Infragistics CRM styled grid. However trying this from a client workstation we get the following:
System.Runtime.InteropServices.COMException (0xC0042335): Permission denied.
Impersonation appears to be passing over the correct details but nothing we've tried thus far has been able to make this work outside of logging into the server. Any thoughts as to what we are missing?
© Stack Overflow or respective owner