I have a Named Pipe and It Works Fine While I access it using a Client which runs on My System.
I get GLE 5 (Access denied) while I run the client from another system.
The original post is at stackoverflow
Check the security policy settings on that machine for "Named Pipes that can be accessed remotely" and add yours. Some good info here: http://blogs.msdn.com/b/spatdsg/archive/2006/05/15/598260.aspx