Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
GeneralRe: Event Question Pin
Christian Graus5-Mar-09 12:43
protectorChristian Graus5-Mar-09 12:43 
GeneralRe: Event Question Pin
_Maxxx_5-Mar-09 14:09
professional_Maxxx_5-Mar-09 14:09 
GeneralRe: Event Question Pin
DaveyM696-Mar-09 1:03
professionalDaveyM696-Mar-09 1:03 
GeneralRe: Event Question Pin
E_Gold7-Mar-09 19:16
E_Gold7-Mar-09 19:16 
Question2 way Remoting from client to installed service and Access Denied issue Pin
carbon_golem5-Mar-09 7:16
carbon_golem5-Mar-09 7:16 
AnswerRe: 2 way Remoting from client to installed service and Access Denied issue Pin
led mike5-Mar-09 9:01
led mike5-Mar-09 9:01 
GeneralRe: 2 way Remoting from client to installed service and Access Denied issue Pin
carbon_golem5-Mar-09 9:11
carbon_golem5-Mar-09 9:11 
AnswerRe: 2 way Remoting from client to installed service and Access Denied issue - SOLVED Pin
carbon_golem5-Mar-09 9:03
carbon_golem5-Mar-09 9:03 
I don't know why I didn't try this before. I had the client publishing it's IpcChannel with it's string uri only, and this won't work apparently if there's any kind of security needed. You need to specify the dictionary definitions when you create the channel as follows:
public static void Publish() {
            var serverProvider = new BinaryServerFormatterSinkProvider();
            var clientProvider = new BinaryClientFormatterSinkProvider();
            IDictionary props = new Hashtable();
            serverProvider.TypeFilterLevel = TypeFilterLevel.Full;
            props["name"] = "Client";
            props["portName"] = LogOnInformation.LogOnChannel;
            props["typeFilterLevel"] = "Full";
            props["exclusiveAddressUse"] = "false"; 
            props["authorizedGroup"] = "Everyone";
            props["rejectRemoteRequests"] = "true";
           
            var chan = new IpcChannel(props, clientProvider, serverProvider); // this has to be unique
            ChannelServices.RegisterChannel(chan, false);

            client = new LocationViewProxy(LogOnInformation);
            RemotingServices.Marshal(client, LogOnInformation.LogOnHost, typeof(LocationViewProxy));
        }

Thanks to those of you who looked.

Scott P.

"Simplicity carried to the extreme becomes elegance."
-Jon Franklin

QuestionIs the a max row count for SQLDataReader? Pin
Ben Cocker5-Mar-09 6:22
Ben Cocker5-Mar-09 6:22 
AnswerRe: Is the a max row count for SQLDataReader? Pin
Luc Pattyn5-Mar-09 6:34
sitebuilderLuc Pattyn5-Mar-09 6:34 
GeneralRe: Is the a max row count for SQLDataReader? Pin
Ben Cocker5-Mar-09 6:48
Ben Cocker5-Mar-09 6:48 
AnswerRe: Is the a max row count for SQLDataReader? Pin
Luc Pattyn5-Mar-09 7:14
sitebuilderLuc Pattyn5-Mar-09 7:14 
AnswerRe: Is the a max row count for SQLDataReader? Pin
Luc Pattyn5-Mar-09 8:04
sitebuilderLuc Pattyn5-Mar-09 8:04 
GeneralRe: Is the a max row count for SQLDataReader? Pin
Jon Rista5-Mar-09 10:27
Jon Rista5-Mar-09 10:27 
AnswerRe: Is the a max row count for SQLDataReader? Pin
Luc Pattyn5-Mar-09 10:45
sitebuilderLuc Pattyn5-Mar-09 10:45 
GeneralRe: Is the a max row count for SQLDataReader? Pin
Jon Rista5-Mar-09 12:18
Jon Rista5-Mar-09 12:18 
AnswerRe: Is the a max row count for SQLDataReader? Pin
Ben Cocker5-Mar-09 22:54
Ben Cocker5-Mar-09 22:54 
AnswerRe: Is the a max row count for SQLDataReader? Pin
Jon Rista5-Mar-09 6:35
Jon Rista5-Mar-09 6:35 
GeneralRe: Is the a max row count for SQLDataReader? Pin
Ben Cocker5-Mar-09 6:54
Ben Cocker5-Mar-09 6:54 
GeneralRe: Is the a max row count for SQLDataReader? Pin
Dave Kreskowiak5-Mar-09 7:40
mveDave Kreskowiak5-Mar-09 7:40 
GeneralRe: Is the a max row count for SQLDataReader? Pin
Dragonfly_Lee5-Mar-09 18:12
Dragonfly_Lee5-Mar-09 18:12 
AnswerRe: Is the a max row count for SQLDataReader? Pin
Pete O'Hanlon5-Mar-09 10:57
mvePete O'Hanlon5-Mar-09 10:57 
QuestionHow to use a COM Interface Dll within C# code??? Pin
lane0p25-Mar-09 6:18
lane0p25-Mar-09 6:18 
AnswerRe: How to use a COM Interface Dll within C# code??? Pin
Yusuf5-Mar-09 7:56
Yusuf5-Mar-09 7:56 
AnswerRe: How to use a COM Interface Dll within C# code??? Pin
Dragonfly_Lee5-Mar-09 18:20
Dragonfly_Lee5-Mar-09 18:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.