all groups > dotnet remoting > september 2004
Filter by week: 1 2 3 4 5
.Net Remoting, Config. Files and Interfaces
Posted by José Manuel Chávez at 9/30/2004 4:23:02 PM
I have a Windows Service with the following configuration in the app.config:
<configuration>
<system.runtime.remoting>
<application name="RemoteHostService">
<service>
<wellknown type="Telefonica.Morosos.BusinessLogic.Facade.Agencia,
Telefonica.Morosos.BusinessLogic.IFacade"
... more >>
Callback delegate fails on Remoting
Posted by Duy Le at 9/30/2004 12:49:07 PM
I have a singleton remote object that has a call back event/delegate. It works fine when my client app calls the remote object and the event gets fired. The remote object is hosted by a windows service. The lifetime lease is set to infinite. However, if I close down my client app and start up ag... more >>
By best option ? remoting ?
Posted by Snoop at 9/30/2004 8:29:25 AM
Hi all,
I have a VB.net service application. The reason why it is a service is that
it has to be in a special security contect.
In this program, I have a function called THEFUNCTION which can do a lot of
things for me, in this security contect.
Now I would liket, from a .vbs script to '... more >>
Calling a server with a binary and a soap formatter.
Posted by aniketpalkar NO[at]SPAM hotmail.com at 9/30/2004 8:18:41 AM
Hello,
I am facing a problem with .net remoting. I have one client that
needs to call two servers.
Server 1:- Publishes a server activated object with a http channel
and uses a binary formatter.
Server 2:- Publishes a server activated object with a http channel
and uses a soap formatter.
... more >>
Lifetime
Posted by Patrick Jox at 9/30/2004 7:05:21 AM
Hi,
I trying to find a solution for lifetime of the server object. I do not want
to override the InitializeLifeTimeServices by a method that returns null, so
that the object lives forever. My problem is, that I can create the remote
object by the client and register event procedures. Then everyt... more >>
Not able to access TCP Classes in System.Runtime.Remoting.Channels
Posted by Murali at 9/29/2004 8:53:06 PM
Hi,
I am using .NET 2003 with SP1 and I am not able to access Tcp Classes in
System.runtime.Remoting.Channels, I am new to this and anybody can help on
this issue.
Regards,
R.Muralidharan
... more >>
remoting vs. direct sql connection
Posted by gregl NO[at]SPAM lanproinc.com at 9/29/2004 4:20:59 PM
We have a large n-tier VB.Net winforms application with a SQL back
end. Over the last few days we've been discussing the preferred
method of connectivity for remotely connected clients. We have had
inconsistent results with the client connecting over the internet
directly to the SQL server. W... more >>
"Parse Error, no type associated with Xml key" -error
Posted by Roger Down at 9/29/2004 3:21:13 PM
I have several remoting clients which invokes methods on a remoting server object, hosted on IIS6
using SAO. These clients will not be changed in the same timeschedule as the server object. This
means that the client needs to be robust when it comes to serializing/deserializing the information
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Remoting and Events
Posted by Patrick Jox at 9/29/2004 12:05:56 PM
Hi,
I have some problems with eventhandlers, that update some gui elements. I
have implemented an eventwrapper class, that exposes an event handler which
is registered to the server.event. This eventhandler then fires another
event to which a gui method is registered. As long as I am using tcp, ... more >>
Overview question
Posted by Julia at 9/29/2004 1:20:09 AM
Hi,
I have developed an application in Visual Studio .NET
2003.
Now I want my application to communicate with another
application (booth send and recieve data). The other
application can be located on the samt machine, on
another machine in the network or somewhere on the
Internet.
... more >>
CreateObject("Excel.Application",MyServer)
Posted by KC at 9/28/2004 1:24:56 PM
Hi,
I have code similar to this..
Dim xlApp As Object
xlApp = CreateObject("Excel.Application", "\\MyServer")
The call is from a asp.net (Intranet) application. \\Myserver is a network
computer in the same domain as web server. The only way I can get this call
worked is when I add the us... more >>
Two way communications using .NET Remoting
Posted by John Olbert at 9/28/2004 12:25:06 PM
newgroup: dotnet.framework.remoting
Subject: Two way communications using .NET Remoting
We want to use Remoting to establish two communications (both by value and
reference) between two C# modules. One is a standalone Exe using Window
Form's. The other is a C# Dll that is loaded by a modif... more >>
OneWay attribute
Posted by thelawnet NO[at]SPAM gmail.com at 9/28/2004 8:15:54 AM
I have a lot of remoting methods that look like this.
void UpdateDataset(DataSet ds) {
}
As there is no return value, if I place [OneWay] on the methods will
it improve performance or offer other benefits?
And if so, what happens if the method raises an exception? Will the
fact that the ... more >>
SerializationException with Remoting
Posted by Jason Schneekloth at 9/27/2004 5:47:04 PM
OK, I'm working on making the simplest version of a remoting app that I
possibly can....basically, I'm trying to implement a Broker object to go
between a client and a server, so, I have a client and I have a server setup.
I have the server register the type IBroker with the system:
namesp... more >>
Activator.CreateInstance & Remoting
Posted by Patrick Bristow at 9/27/2004 12:25:02 PM
I had an application that used basic TCP remoting working great. But when I
tried to use a wrapper interface for my remote object &
Activator.CreateInstance, I couldn't seem to get things working again.
Here's the code with excess removed:
Server-side:
IChannel channel = new TcpServerC... more >>
.NET remoting server on a computer with 2 network adapters
Posted by eyal at 9/27/2004 5:55:12 AM
A client on the primary network adapter network works well with the
server, but a client on the secondary fails to invoke any of a remote
object's methods.
With a debugger, we can see that the server receives the client request
to create a remote object, but when the client tries to inv... more >>
Exception "Object Reference not set to an instance of the object
Posted by aacool at 9/26/2004 12:06:32 AM
Subject: .NET Remoting problem - exception "Object Reference not set to
instance of an object"
From: aacool <a@b.c>
Newsgroups: microsoft.public.dotnet.framework
Hi,
I need some help with a .NET Remoting problem - an "Object Reference not
set to instance of an object"exception is thrown ... more >>
Remoting Design Question
Posted by Chris Szabo at 9/25/2004 8:21:02 AM
Hey everyone. If you're a real .Net person this question is going to make
your day... I'm working on a project, and I'm in the initial stages of
design. I wanted to get some feedback on my ideas before I begin any
implementation.
The basic idea is not new. I have a web service that pro... more >>
Memory Leak
Posted by Navdeep Bhardwaj at 9/25/2004 2:43:01 AM
Hi
We are using remoting for the communication between our main web application
and business logic server. After using for sometime the memory uses of our
server application on the server increases to about 5-6 MB. On using the
windows performance moniter we found that a large amount of memor... more >>
Assembly loaded twice when Assembly.LoadFrom() is used
Posted by fermo111 NO[at]SPAM yahoo.it at 9/24/2004 4:39:54 PM
The following code results in a strange behavior.
Assembly formAsm = Assembly.LoadFrom ("http://localhost/net/MyAssembly.dll");
Type formType = formAsm.GetType ("MySpace.MyForm");
object formObj = Activator.CreateInstance (formType);
Looking at the HTTP requests that are made, I noticed
tha... more >>
Is DotNet remoting the c# equivalent to applets and servlets?
Posted by David Flajole at 9/24/2004 2:39:17 PM
[Long time reader, first time poster!!!]
Hello,
I am building a real-time internet auction app that will need to function
like many of the on-line games that I have seen on the web. The program
will be written with ASP.Net/C# and needs to allow two-way communication
between the server serv... more >>
CAO remoting and Web gardens
Posted by SolDel NO[at]SPAM mercer.com at 9/24/2004 10:31:55 AM
I have come across an issue when using CAOs and enabling the Web garden on
the process model. If gardening is disabled, eveything works fine. If it
is enabled, the remote object is created and appears to marshal just fine,
however, any calls on the proxy result in the standard error,
... more >>
.Net remoting expiration error
Posted by Stephane at 9/24/2004 8:07:10 AM
Hi,
I've got a server using .Net remoting. From a web administration, I control
data contained in the server but after few minutes of inactivity, i got this
error and the objects has disapear:
System.Runtime.Remoting.RemotingException: Object
</37da65f4_aed1_48a9_978e_210706ff8213/P5J_kh... more >>
OneWay method on remoted object
Posted by TT (Tom Tempelaere) at 9/24/2004 5:43:04 AM
Hi,
I have a remoted object which implements an interface with a OneWay method.
Suppose the remoted object is not alive (ie RemotingServices.Marshal was't
called). The client connects to it and receives a TransparantProxy. The
client calls the OneWay method and does not get an exception, ev... more >>
How to check if remoted object is present?
Posted by TT (Tom Tempelaere) at 9/24/2004 5:41:06 AM
Hi,
If I connect to a remoted object using RemotingServices.Connect, then a
TransparantProxy is returned even if the remoted object is not alive.
How can I check whether the remoted object is alive without having to call
a method in its remoted interface?
Thanks,
--
Tom Tempelaere.... more >>
have remoting with events working on a single machine, but...
Posted by JohnK at 9/23/2004 4:07:01 PM
have remoting with events working on a single machine, but... when I put the
server, client, and remote object on a 2nd machine.... things do not work
completely.. So basically I have the same 3 directories (Client, Server,
RemoteObject) on two machines. I run the server on machine1, the clie... more >>
ChatCoordinator.dll
Posted by Shwe Ko at 9/23/2004 2:55:03 PM
I am testing the ChatCoordinator.dll, Server.exe and Client.exe from MS Exam
prep guide.
When I run Server.exe as it is told in Chap04, I got the following error
message and I cannot go on..
Any help will be grately appreciated.
//////////////////
C:\70-310\Solution\Ch04\CS>server
Unh... more >>
"Request for the Permission of type <obj> Failed" while deserializing a remoted object
Posted by Tomcat at 9/23/2004 2:17:47 PM
Hello Everyone,
I seem to be having this problem that has kept me occupied for almost two
days, so I'm hoping somebody out there has seenit and has some suggestions.
Here's the problem...
I have an application that I am developing which involves a Web Service
using Remoting to access rem... more >>
Preventing a RCW from being remoted
Posted by Jeremy Lew at 9/23/2004 1:16:54 PM
I want to pass a COM object reference between two managed processes (A & B)
which are communicating via TCP/IP remoting. So, I instantiate a RCW in
process A, and return it to B during as the return value of a remote method
call. However, what seems to be happening is that B gets a proxy to A's... more >>
Remoting
Posted by DC at 9/23/2004 10:00:06 AM
Hi All,
I am accesing MSMQ messages via remoting, and have both client and server
running on my local machine.
The basic architecture is :
Server
=============================================================
MessageObject (
impleme... more >>
Remoted object is connectable even after disconnecting it...
Posted by TT (Tom Tempelaere) at 9/23/2004 9:13:09 AM
Hi there,
In my current project I have a logging utility that is a standalone app. The
utility shows log entries, other apps can connect to it and send logging
entries to be displayed.
I use RemotingServices.Marshal at startup of the log util to allow other
apps to access the logging ut... more >>
Getting Events, for Windows Service
Posted by Patrick Jox at 9/22/2004 8:21:20 PM
Hello,
I am wondering if it makes sense to find a solution for the following task.
I know, that I can receive events from remote application and succeeded
already to follow some examples. But I need a very specific architecture and
would like to know, if this is generally possible:
I have an ... more >>
Mike Woodring's .NET Sample Question - Remoting event
Posted by skyer.tw NO[at]SPAM gmail.com at 9/22/2004 10:20:59 AM
Dear all:
I got a problem running Mike's remoting sample.
http://www.bearcanyon.com/dotnet/#RemoteEvents
When I start "server" & "client" all in my computer, it works well.
If I put "server.exe" in Computer A and put "client.exe" in Computer
B, I got a Web Exception. (cant not connect to ... more >>
WEB Services and .NET Remoting...
Posted by gordingin NO[at]SPAM consiliumsoft.com at 9/22/2004 7:49:41 AM
A WEB Service and a .NET Remoting application (if I am saying that
correctly) 'can' provide the same service. Am I correct in saying that
an .NET application can consume the service provided by a .NET Web
Service and a .NET Remoting application but a NON .NET application
like a native C++ or MFC... more >>
Activator.GetObject state parameter question
Posted by xsup NO[at]SPAM hotmail.com at 9/22/2004 5:01:10 AM
I would like to pass some info my single call remoting object thru
state parameter of Activator.GetObject. But I don't know how to
extract this information on server side, in my business object.
Anybody has a suggestion?... more >>
question about events and proxy-server
Posted by jarod1701 NO[at]SPAM gmx.de at 9/22/2004 1:18:24 AM
Hi everybody,
as i'm totally new to remoting I wonder whether it is possible to get
it to work using an http-channel over a proxy-server.
The thing is that my company uses a proxy-server which only allows
http via port 8080.
I want to develop a client-server-application. The client would
con... more >>
Performance of the "Remoting"
Posted by Hawix at 9/20/2004 4:07:56 PM
Hi All,
I need make an application server designed for 200 online clients. The
Remoting technology is very nice but I'm afraid that is not efficient for
hunders online clients.
I want to make application server which is designed for mediating between
client and SQL database server. More of th... more >>
network credentials and .NET Remoting: Proxy Authentication Required
Posted by Greg Robinson at 9/20/2004 3:54:06 PM
We are getting a System.Net.WebException: "The remote server returned an
error: (407) Proxy Authentication Required" from one and only one client
when making calls to a remote server, hosted by IIS. I am thinking this one
client has a proxy and\or firewall for internal traffic.
Is there a wa... more >>
Any reason I would not be able to pass an IPrincipal object?
Posted by Gary A. Bushey [MVP] at 9/20/2004 3:12:20 PM
I am (very) new to .Net Remoting. I am trying to pass in a IPrincipal
object to a .Net remote object but everytime I try I get an "Exception has
been thrown by the target of an invocation" error which goes into more
detail to tell me that:
System.Security.SecurityException: Request failed.... more >>
Yet another "channel tcp is already registered" issue
Posted by Gary A. Bushey [MVP] at 9/20/2004 1:34:17 PM
I am using a SharePoint Web Part to call a .Net remote object hosting in a
Windows Service. The first time I call this, everything works fine.
Additional calls result in the dreaded "The channel tcp is already
registered". This occurs if I refresh the page that had the successful call
or i... more >>
Cached Connections in .NET Remoting
Posted by cmagicos NO[at]SPAM pop.com.br at 9/20/2004 11:51:52 AM
Hi there,
Days ago, i ran into a serious problem. I´m using DNS round robin in a
..NET Remoting application. But, as long as the .NET Remoting makes a
sort of cache of each connection made. If you try to connect to a
server as mycomputer:3001, that is an alias to the round robin, the
..NET Re... more >>
Repost: CallContext.GetData - cannot be used in the constructor of the Server object (Remoting)
Posted by José Joye at 9/20/2004 7:40:40 AM
I'm playing around with the "CallContext" class to pass around extra
information between my client and Server applications (implemented with
Remoting).
My Server is a SAO-singlecall.
If I try to use the CallContext.GetData() method to retrieved information
from within a method in the Server p... more >>
How to make my remoting application through firewall???
Posted by minehe at 9/19/2004 6:35:02 AM
my application using HTTP channel 80 port and BINARY data transfer.
but my application can not through firewall under CAO or SAO, why? and how ?
I dont want to use SOAP transfer because SOAP mode is very slow.... more >>
remoting proxy has no channel sink
Posted by JohnK at 9/18/2004 2:49:03 PM
when button1_Click is executed, I get this msg
==============================================
An unhandled exception of type 'System.Runtime.Remoting.RemotingException'
occurred in mscorlib.dll
Additional information: This remoting proxy has no channel sink which means
either the server has... more >>
My object's remoting proxy is WAY huge on the client
Posted by 0to60 at 9/18/2004 10:32:20 AM
I have an object A, who contains a bunch of maps of other objects B, C, D.
Some maps are internal, some are private. Object A inherits from
MarshalByRefObject, whereas B, C and D are all marked Serializable.
On client computers, I'll obtain a remoting proxy to object A (often proxies
to many ... more >>
System.Runtime.Remoting.ObjRef cannot be accessed
Posted by vfees NO[at]SPAM liquidcognition.com at 9/18/2004 7:59:20 AM
I'm receiving the above error in a ASP.Net remoting architecture where
(for now) I am running both the server and client on the same machine.
I've attempted to apply known fixes, and currently have the following
setup:
The "<system.runtime.remoting>" section of my machine.config looks
like ... more >>
.net remoting
Posted by mridul buragohain via .NET 247 at 9/17/2004 11:10:38 AM
Hi,
( regarding the chat application sample using remoting in the microsoft book for mcsd)
i also faced that problem. solved that using the automatic deserialization, described in msdn. but now get another problem. i m getting the following error message.
"Unhandled Exception: System.Runtime.... more >>
How Do I Stop Events From Being Received After Proxy Is Set To Nothing?
Posted by emmanuel NO[at]SPAM epr.footman-walker.com at 9/17/2004 4:36:01 AM
Hi everyone!
I have this problem: After instantiating a proxy to a remote object
using Activator.GetObject, I receive events fired by the remote object
as expected.
However, when I set the proxy to nothing, the code in the event
handlers still executes; that is, the events still continue t... more >>
One Server .NET Remoting Simulation
Posted by Henry at 9/16/2004 7:00:38 PM
Hi guys,
I want to practice remoting. The problem is that I only have one server
available.
Can I simulate calling objects in different ports using one server?
Is so, can someone provide me with an article, tool or example on how to
accomplish this?
Thanks in advance.
Henry
... more >>
Loading remotable object host app in an AppDomain
Posted by Ratan at 9/15/2004 10:41:08 PM
Hi,
I have a remotable object 'RemotObj' in "RemoteObj.dll" assembly. This
object is hosted in "RemoteObjHost.exe" assembly. I have a console app
"Test.exe" and want to run "RemoteObjHost.exe" in a new App Domain of
Test.exe process.
My code in "Test.exe" is as follows:
AppDomainSetup *do... more >>
|