Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / February 2006

Tip: Looking for answers? Try searching our database.

DCOM Delegation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeremy - 21 Feb 2006 14:55 GMT
I'm using .NET 2.0 and have a remoted class hosted in IIS 6 that is
attempting to access a DCOM'd object running on a Windows Server 2003 SP1
machine.

Windows Integrated authentication is enabled in IIS and I have verified that
Kerberos is enabled and working. Additionally, I have verified that the
remoted class is running under the impersonated client account. Also, from
the .NET class, I am able to access a file on a remote file share and the
file is accessed with the impersonated account.

I would like to be able to have the impersonated credentials flow to the COM
object when it is accessed on the remote server (via DCOM). I have tried
various settings in the processModel section of the machine.config file and
have not had any luck. The COM object runs under the logged on account of the
remote server.

Is there any way to get delegation to work when calling a COM object via
DCOM from a remoted .NET class running under IIS?
Jeremy - 21 Feb 2006 16:59 GMT
One item I didn't mention in my original post is that the impersonated
credentials flow properly if I use the default credentials (setting the
useDefaultCredentials property to True on the channel). If I supply my own
credentials then they do not flow to the COM object. For my application I am
wanting to be able to supply my own credentials.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.