all groups > dotnet remoting > october 2003
Filter by week: 1 2 3 4 5
HTTP channel / binary formatter Confusion
Posted by jean_stax NO[at]SPAM hotmail.com at 10/31/2003 3:39:30 PM
Hi !
I miss something pretty basic:
We can use binary formatter with HTTP channel and we can use SOAP
formatter with TCP channel.
Why and where it worth to use this strategy ?
Does it mean that if binary formatter / HTTP channel is used the TCP
packets will be send but no TCP socket would be... more >>
Get IP of calling computer
Posted by Jeff at 10/31/2003 1:02:43 PM
When a remoting method is executed on the server, I need
to check / record the IP address of the user that is
executing the method.
Any Ideas?
Thanks-
-Jeff
... more >>
Refrencing dll which is not copied locally
Posted by Ken Cooper at 10/31/2003 11:27:23 AM
Hi All,
I am trying to create a gateway to a database as a dll which will be
installed on a remote server (on our intranet) but have run into a whole lot
of problems, but my immediate problem is very simple.
How can I reference a dll which is not copied locally?
I create a solution consis... more >>
it seems easy,but i can not do it...
Posted by Jeff Yang at 10/31/2003 10:27:37 AM
In the following remoting codes,I want to use the client to use method
Getaaa() to get aaa's value in Form1,then how can I implement public int
Getaaa()?
this is the server part:
namespace DZ
{
public class Form1 : System.Windows.Forms.Form
{
public int aaa;
private System.ComponentMod... more >>
Singleton / SingleCall and many clients call
Posted by . at 10/31/2003 9:53:07 AM
I'm studying for a Microsoft exam.
If I have a server-activated object marked as a singleton, and many clients
call methods on that object, do I have only one instance of the remote
object on the "remote" server or one instance for each client?
I understand that SingleCall will create a new ... more >>
Bug .Net Remoting with two NetworkAdapters and two Subnetworks on one Machine
Posted by Marc Thom at 10/30/2003 5:58:44 PM
Wehave a C/S Applikation working with MBR-Objects and it works well in our
Network.During a Installation on an other designed Network we have poblems
to kommunicate with the Serverobjects.
Description of our Setup
we have a Server (Win 2000) with .NET Framework (1.1) and a C#
Remote-Serv... more >>
Remoting Reconnect/Retry
Posted by Andrew at 10/30/2003 3:49:26 PM
Hi Everyone
We have successfully implemented a remoting project using TCP/Binary. Our
windows client apps talk to a remoting windows service on another machine.
My question is, how can the windows apps recover/reconnect gracefully when
the connection drops or the service on the remote machin... more >>
How to redirect Remoting calls
Posted by Peter Evans at 10/30/2003 9:39:39 AM
Consider the following scenario:
Server A (running IIS + ASP.Net code)
----- firewall ----------------------
Server B (running .Net Remoting listener program)
----- firewall ----------------------
Servers C & D (also running .Net Remoting listener programs)
Due to firewall restrictions Ser... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Remote Desktop
Posted by ZhangZQ at 10/30/2003 7:26:17 AM
Is it possible to change the default RDP port 3389 to another?
There are many opensourced RDP client, do you know is there the opensourced
RDP server?
Thank you very much!
... more >>
difficult CAO remoting problem
Posted by allen at 10/29/2003 8:41:52 PM
please don't answer this without reading the entire message. I'm not
asking about machinename.
I am trying to figure out a way to have my remoting system deal with
being behind a firewall, a NAT router or other various network
devices.
the problem is that when using a CAO will force the ... more >>
Can you help me prove .NET Remoting works?
Posted by Ken Cooper at 10/29/2003 5:10:53 PM
Hi All
Over the last few days I have been trying to build a sample app to call a
remote component.
I am trying to prove that Windows Forms using Zero Touch Deployment and .NET
Remoting is the best way to proceed on a new fairly substantial project.
However, I keep hitting a brick wall whe... more >>
Conceptual Question about Remoting Object.
Posted by Anson at 10/29/2003 10:51:12 AM
Hello,
I would like to clarify something about Remoting Object in .NET.
Knowing from MSDN that in order for Remote Object to work, I need 3
components.
a) RemotableType object, just like a regular dll with additional remotable
feature.
b) Host Application, which is a listener listens for r... more >>
remoting soap error w/ ppc and desktop app
Posted by Rob Beers at 10/29/2003 8:15:51 AM
I am getting this exception:
The identifier "ref-4" does not appear in the document.
XmlException
The pocket pc is using remoting with soap with a c#
desktop app. The
objects that I am passing are actually proxy created
objects that the
desktop gets from another webservice. I mark the... more >>
Finding IP address
Posted by Jay at 10/29/2003 6:47:33 AM
I want to know IP Addresses of all machines on a peer to
peer network. How can i do this ?
The network consists of Win 9x machines and there is no
DNS server.
... more >>
out of memory when deserializing
Posted by Craig Cody at 10/29/2003 5:08:44 AM
Here's the scenario -
The client requests lots of data. The request passes
through the middle
tier to the database. The data returns through the middle
tier back to the
client. The Mb's of data get to the client where it is
deserialized into
objects.
When attempted on the 1.0 frame... more >>
Can we be notified before and after a remoting call?
Posted by yoffue NO[at]SPAM yahoo.com at 10/28/2003 11:43:03 PM
Hi,
I was wondering if it is possible to somehow be notified before a
remoting call is made, and also to be notified after the remoting call
has returned to the client? Does remoting or the formatter provide a
way of trapping these events?
Joe... more >>
Remoting-Singleton with asychronous events (Delegates) the ms sample - error
Posted by sahridhayan at 10/28/2003 10:22:51 PM
Hi
I am trying to implement Remoting-Singleton
with asychronous events (Delegates) the microsoft
sample,
\Microsoft Visual
Studio .NET\FrameworkSDK\Samples\Technologies\Remoting\VB\B
asic\RemotingEvents
and changed the formatter to Binary-TCP instead of SOAP.
I get the followi... more >>
CORBA clients on .NET
Posted by Claes Randstrom at 10/28/2003 6:31:23 PM
Hi,
Background:
I am considering migrating our J2EE,Java,JSP based servers
and applications to .NET/C#:
Clients will be based on Windows and all compute intensive
applications on a Linux (Mono.NET) based cluster. The
cluster is going to be managed by a CORBA(Ice C++) server,
which ... more >>
Can Activator.GetObject return null?
Posted by yangxiaoxiang at 10/28/2003 2:11:37 PM
In many articles,it is suggested to use the following code to determine
whether the server is reachable,but in my test,it seems the code does not
works,the obj always has some value,it will not be null.Is there anyone can
explain the reason?thanks!
ChannelServices.RegisterChannel(new TcpClient... more >>
Hosting Remote Object - Again
Posted by David Steigerwald at 10/28/2003 12:09:26 PM
This question seems to come up about every other day, and so far has only
been answered once and I didn't understand the answer.
I, too, need to access the remoting object at the server. I am creating a
singleton object to hold a stack of information in memory, provided by
various clients whi... more >>
Remoting and Sockets - Whats the difference?
Posted by David City at 10/28/2003 11:21:13 AM
When do I use sockets
When do I use remoting
... more >>
What is Enterprise Services?
Posted by Graham at 10/28/2003 9:48:17 AM
I've just heard that .Net Remoting is going to be replaced
by .Net "Enterprise Services".
Is this true? If so, what does it mean?
thanks
graham... more >>
updating database with dataset
Posted by Fernanda at 10/27/2003 4:40:48 PM
Good afternoon,
I have a function in a remote server which receives a dataset and makes (or
at least should do) necessary updates. However, Im receiving this error
message in my client browser interface:
"Object Reference not defined for an instance of an object.
Details of execution: Sys... more >>
Remoting server application
Posted by varkman NO[at]SPAM hotmail.com at 10/27/2003 9:58:21 AM
I have a remoting server application that serves up several MBR
SingleCall objects. How can I, in my server app code at runtime,
"discover" what MBR objects have been created in the application?
I want to add some cool monitoring abilities to my server app, seeing
how many objects get created... more >>
soapsuds problems.
Posted by arnold park at 10/27/2003 5:52:20 AM
Hi!
I made com+ component that connect to oracle database.
And it works. I want to publish my component using
..Net Remoting. whenever i tried to make a proxy dll
using soapsuds.exe I received following Error message.
System.Data namespace does not contain OracleClient
type of namespace. ... more >>
newbie: Socket stop working
Posted by namor NO[at]SPAM yandex.ru at 10/27/2003 3:39:28 AM
Hello!
I use microsoft's asynchronous server socket sample to create server
app that requires long conversation between client and server.
In this sample server has handler.Shutdown(SocketShutdown.Both) and
handler.Close() in SendCallback function. Thus, server closes
connection after first... more >>
IMessageSink.AsyncProcessMessage(..)
Posted by Lloyd Dupont at 10/26/2003 11:51:12 PM
I don't understand at all !!!
IMessageControl IMessageSink.AsyncProcessMessage(IMessage msg, IMessageSink
reply)
I'm implementing my own channel. I have already devised some low-level sync
& async method to send stream of data synchronously and asynchronously.
But I absolutely not underst... more >>
Type is not marked as Serializable Error
Posted by RajahTehKing at 10/25/2003 6:31:14 PM
Hi All,
Any clues for the below error? It occurs when the dataset is saved.
"The type A.B.TA.Security.NullUAMProvider+NullI B Principal in Assembly A.B.TA.Security, Version=0.5.81.4949, Culture=neutral, PublicKeyToken=cdd76572a2ced694 is not marked as serializable."
Thanks in advance for ur r... more >>
Remoting with Linux
Posted by Dan Jokel at 10/25/2003 2:36:21 AM
Hi there,
I#m just creating a .NET-Remoting application, where the server should
be placed on the linux machine, and the client running on a windows or
linux machine.
I#m using Mono, and .NET framwework 1.1 (VS.NET 2003).
Now, if I place the server application on the linux machine, do I nee... more >>
Two-way communication with Remoting
Posted by Bob Macleod at 10/24/2003 10:42:44 AM
Although I've been programming in Basic since about 1981, I am struggling
with the whole remoting thing, and my question today is not to ask for a
solution, but that one of you experienced folks can direct me to my next
step.
I have a project in VB6 that allows users within an intranet to make... more >>
Plug-ins in the separate domain
Posted by Dyakov K.M. at 10/23/2003 3:18:49 PM
Hello, All!
I try to realize the plug-ins loaded in the separate domain (approximately
as here it is written
http://msdn.microsoft.com/msdnmag/issues/03/10/plug-ins/default.aspx). A
difference only that manager plug-ins is started not from the program, but
from COM, written on vb.net which, i... more >>
Serving large user base concurrently using .Net
Posted by oliverw NO[at]SPAM snafu.de at 10/23/2003 3:53:21 AM
Hello
We are currently working on a client server application that is
supposed to serve several thousand concurrent users. The remote
object's primary task is to call stored procedures a return the data.
One thing worth mentioning about the returned data is that we do NOT
return datasets for ... more >>
Use public/private keys to verify sending assembly
Posted by qdm0308 NO[at]SPAM yahoo.com at 10/22/2003 11:28:57 AM
Hello any crypto and remoting types ... can you lend an ear? I would
like to enhance the security of an existing application. Currently,
the client tier of the application makes remoting calls to the
business tier. At the business tier, I want to verify that remoting
call originated from an a... more >>
XMLDocument
Posted by tanalbit NO[at]SPAM aol.com at 10/22/2003 11:03:31 AM
Is there any way to pass an XMLDocument via remoting other than by
turning it into a string?
I've found that if I pass XML as a string via a web service, then all
<> tags get escaped, so the document gets quite a bit larger. Does
the same escaping happen when you pass an XML string via remoti... more >>
Delegates serialization/deserialization
Posted by Vadym Stetsyak at 10/22/2003 12:41:04 AM
Hello!
I'm receiving the following exception when passing delegates to public methods as parameters
"An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll
Additional information: Serialization will not deserialize delegates to non-public metho... more >>
System.Security.SecurityException
Posted by Thomas Craven at 10/21/2003 8:15:48 PM
Hopefully a quick question,
I have a remoting app that works fine on the dev platform (XP SP1A) but
trips up on the production platform (2003 Server).
I have a well known singleton type + delegate type + event.
Clients can hook into events in the usual way. So my client code looks
like..... more >>
Best way to get local IP Address and Domain Name?
Posted by Tony at 10/21/2003 3:49:56 AM
What's the best way to get the local IP address and domain name?
Right now I 'm using the following to get the domain name:
string local_domain_name = System.Environment.UserDomainName;
And the following to get the local IP address:
IPAddress local_ip_address = Dns.Resolve(
Syst... more >>
Assembly(code) Migration
Posted by Gareth Gauci at 10/20/2003 10:41:02 PM
Hi,
Consider two nodes, A and B.
B is the 'server' and A is the 'client'.
The client has a class definition with a number of methods. One of the
methods is called Execute().
B does not have the class. Only A has the class.
Is it possible to migrate the assembly or class defn from A to B ... ha... more >>
Application freeze, can somoone help me please
Posted by jan v at 10/20/2003 10:22:21 PM
I have a project wich uses remoting.
I have read the book ".net remoting" from MS press and I decided to use the
same architecture as described in chapter 3. I have a caching dataset wich
contains all the data in a SQL server and is filled on startup of the
program.. When something in the cli... more >>
How to serialize inherited typed datasets
Posted by Laurie Paulin at 10/20/2003 5:37:50 PM
If I have a class that inherits from a typed dataset, how do I serialize it?
i.e. all the serialisation functionality is protected at the typed dataset
level and therefore I can not override any of the methods. For example, I
can not override GetObjectData to put my other properties in the info
... more >>
the best host
Posted by Tom Hartnett at 10/20/2003 3:12:14 PM
I would like to hear some opinions on what the best way to host a remote
object is. I've got a small, inquiry-only (well mostly inquiry) app.
Taking advice from CodeMonkey (thank you) I am using SingleCall objects.
I'm hosting my remote DLL in IIS; I chose IIS because it was there already.
Gi... more >>
Simple Channel /Formatter Questions
Posted by Ron Lemire at 10/20/2003 10:54:41 AM
Hi,
When .NET Remoting is implemented using the HTTP Channel and the SOAP
Formatter, is the .NET Framework required on the client and the server? In
other words, can a .NET Remoting client running Windows XP communicate with
a non-Windows server that is not running the .NET Framework?
I've ... more >>
Who's the caller??
Posted by Andy at 10/20/2003 10:02:47 AM
I want to host a remote component that will be used by multiple
applications.
Is there a way on the remote host to identify what application is calling
the component?
I'm sure there is something simple as I would guess that CAS has to know to
allow calls so what's the code look like?
eAn... more >>
Force an Icon member to Be marshalled by value
Posted by Codemonkey at 10/17/2003 4:22:29 PM
Hi,
I have a MarshalByValue class which has a member that is of type
System.Drawing.Icon. Because the Icon inherits from MarshalByRefObject, when
clients that receive an instance of my class that has been marshalled, the
Icon property is actually an ObjRef object.
I'd like to force the Icon... more >>
Newbie question on remoting
Posted by Mike Grace at 10/17/2003 3:22:56 PM
Would I use remoting to achieve the equivalent of the Java Web Start, or am
I getting confused?
I want to be able to launch a windows forms app from a web page and then
load the objects/dlls from the server down to the client. I would also
prefer to use web services too.
Regards
Mike
... more >>
Remoting and security access
Posted by love_dotnet NO[at]SPAM yahoo.com at 10/17/2003 10:48:23 AM
I created a simple remoting application where remote object is a
simple object returning a dataset. I tried to access it from a
different machine but I got a security error. I know I have to do some
security related stuff but am not able to figure out what. I am using
tcp channel .
could someon... more >>
newbie: client-activated or singleCall?
Posted by Tom Hartnett at 10/17/2003 10:08:08 AM
I've been skimming several articles about Remoting. I know remoting is the
best fit for our needs (no firewall, .NET on both ends, etc.), but I can't
figure out if I should use client-activated objects or SingleCall objects.
I've read that client-activated is the most similar to DCOM. No articl... more >>
.Net remoting behind firewall - The remote name could not be resolved
Posted by mark_hanson_eng NO[at]SPAM hotmail.com at 10/16/2003 5:11:46 PM
My client is in a DMZ trying to connect to a asp.net hosted remoting
app. Inside the firewall it works and my client has this config file:
<client url="https://servername/test/HelloWorldObject3"
displayName="MyApplication">
<activated type="HelloWorldObject3.Hello, HelloWorldObject3" /... more >>
Singleton acts like SingleCall
Posted by David Steigerwald at 10/16/2003 4:58:43 PM
I have based my application on the "VB.NET How-To: Remoting" sample code. I
copied the Customer client and server, and created one which stored some
credentials in an ArrayList. The Customer client was retained in the code,
and still works. However, the new Credentials client acts like a Single... more >>
Get System.Net.Sockets.SocketException only when using configuration file with TCP channel.
Posted by pvsherman NO[at]SPAM yahoo.com at 10/16/2003 4:38:35 PM
When I configure tcp channel in the code my app. works fine:
SERVER:
TcpChannel chanTcp = new TcpChannel(65106);
ChannelServices.RegisterChannel(chanTcp);
Assembly assem = Assembly.Load("ServerClassFactory");
Type ClassFactoryType =
assem.GetType("ServerClassFactory.ClassFacto... more >>
|