PC Review


Reply
Thread Tools Rate Thread

Difficulty with Remoting and IPC Channels

 
 
=?Utf-8?B?bWhldGhlcmluZ3Rvbg==?=
Guest
Posts: n/a
 
      29th Nov 2005
I'm trying to get an Remoting proof of concept working. Using TCP and/or
HTTP Channels, the proof of concept works fine. However, when trying it with
the IPC Channel, I get the following RemotingException when exectuing the
client piece:

"Failed to connect to an IPC port: Access Denied"

I can't seem to find any useful info regarding this error message and what
it means exactly. Any ideas?
 
Reply With Quote
 
 
 
 
hB
Guest
Posts: n/a
 
      30th Nov 2005
Is this IPC channel on same computer?

If it is another then something like anonymous IPC connections would
have been denied from the other machines.
Then might be allow anonymous IPC cons or allow this communicating
system to connect through appropriate user id allowed on the server.


---
hB

 
Reply With Quote
 
=?Utf-8?B?bWhldGhlcmluZ3Rvbg==?=
Guest
Posts: n/a
 
      30th Nov 2005
Yes, this IPC channel is on the same computer.

I completed more testing yesterday and found that if I launched the
IPCServerChannel code as a console app, rather than a service, I had no
problems. From that, I gather it's a security issue that's snagging me when
trying the service approach.

Any ideas why this breaks when running the IPCServerChannel code as Local
System and running the IPCClientChannel code as a "regular user?"

"hB" wrote:

> Is this IPC channel on same computer?
>
> If it is another then something like anonymous IPC connections would
> have been denied from the other machines.
> Then might be allow anonymous IPC cons or allow this communicating
> system to connect through appropriate user id allowed on the server.
>
>
> ---
> hB
>
>

 
Reply With Quote
 
=?Utf-8?B?bWhldGhlcmluZ3Rvbg==?=
Guest
Posts: n/a
 
      30th Nov 2005
This problem was solved by setting the authorizedGroup configuration property
(to something like "Everyone") on the IpcServerChannel when run as a service
under the Local System context.

"mhetherington" wrote:

> Yes, this IPC channel is on the same computer.
>
> I completed more testing yesterday and found that if I launched the
> IPCServerChannel code as a console app, rather than a service, I had no
> problems. From that, I gather it's a security issue that's snagging me when
> trying the service approach.
>
> Any ideas why this breaks when running the IPCServerChannel code as Local
> System and running the IPCClientChannel code as a "regular user?"
>
> "hB" wrote:
>
> > Is this IPC channel on same computer?
> >
> > If it is another then something like anonymous IPC connections would
> > have been denied from the other machines.
> > Then might be allow anonymous IPC cons or allow this communicating
> > system to connect through appropriate user id allowed on the server.
> >
> >
> > ---
> > hB
> >
> >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Secure .NET 2 Remoting Channels Brian Stoop Microsoft C# .NET 2 19th May 2009 07:34 PM
Secure .NET 2 Remoting Channels Brian Stoop Microsoft C# .NET 0 18th May 2009 08:28 PM
.NET Remoting with Multiple Channels breeto@yahoo.com Microsoft C# .NET 3 18th Jul 2006 08:29 PM
.Net Remoting Channels AJ Microsoft C# .NET 1 8th Aug 2005 11:04 AM
.Net Remoting Channels AJ Microsoft Dot NET Framework 0 8th Aug 2005 10:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:29 AM.