Re: [ADVANCED-DOTNET] Remoting problem: "Connection could not be made... target machine refused it.....

2007-05-02 Thread console shark
Thanks to all who replied. It turns out I was at fault. My problem ocurred whenever I would disconnect the client and keep the server running. When I reconnected, the client registered interest with a new port number. The server never deleted the old client reference which was now void, so I was

Re: [ADVANCED-DOTNET] Remoting problem: "Connection could not be made... target machine refused it.....

2007-05-02 Thread Dean Cleaver
Is there a firewall in the way? -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Cal Jachs Sent: Thursday, 3 May 2007 04:37 To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] Remoting problem: "Connection could not be made

[ADVANCED-DOTNET] .NET 1.1 - AxWebBrowser displays a white blank box

2007-05-02 Thread Jason Nah
Howdy All, I'm having some ActiveX WebBrowser control woes.. After I navigate to a known html file on the filesystem, everything's good to go.. except the component only displays a white box with nothing in it!!! (and yes... there is data in the html file) Observations 1. No scrollbar - by def

Re: [ADVANCED-DOTNET] Remoting problem: "Connection could not be made... target machine refused it.....

2007-05-02 Thread Potter, Mark S.
Not sure if you have the channel setup correctly on the client side. This snippet works for me on the client in 1.1 // setup remoting BinaryClientFormatterSinkProvider clientProvider = new BinaryClientFormatterSinkProvider(); BinaryServerFormatterSinkProvider serverProvider = new BinaryServerForma

Re: [ADVANCED-DOTNET] UnauthorizedAccessException when instantiating Word

2007-05-02 Thread Jason Nah
Howdy All, This issue has been resolved. Here's some facts 1. This problem seems to occur when binding word to be visible on a panel. If you need to do that, use DSOFramer (http://support.microsoft.com/kb/311765) 2. Some of the problems potentially came from using a virtualisation product (which

Re: [ADVANCED-DOTNET] Remoting problem: "Connection could not be made... target machine refused it.....

2007-05-02 Thread Peter Ritchie
It's not clear where this exception message is coming from, you mention calling Console.Print, is that where the exception message is coming from? Or, does the exception message only occur when debugging and start with "A first chance exception..." If that's the case, all exceptions that are thro

Re: [ADVANCED-DOTNET] Excel interop strange behaviour

2007-05-02 Thread Jason Nah
It would turn out that the approach that I was taking to bind the Excel window to the .NET panel will not behave properly for Excel and in general, Office applications. To bind an Office application to a .NET form, it's better to use DSOFramer - a Microsoft provided ActiveX component that hosts o

[ADVANCED-DOTNET] Remoting problem: "Connection could not be made... target machine refused it.....

2007-05-02 Thread Cal Jachs
I am getting very weird behavior. My client calls into a remote object. That remote object then calls back on an object being served by the client (and all registered clients who are also serving the same callback object). When the server's remote object goes to call back on the client's callback