all groups > dotnet remoting > march 2004 > threads for march 8 - 14, 2004
Filter by week: 1 2 3 4 5
Passing enum values as parameters to a method called on a remote object
Posted by Bhupesh Saini at 3/14/2004 9:11:06 PM
Hi
I have declared a business entities object ObjA that is serializable and is returned by a method of a remote object (ObjB). I also have a public enum value that is used by ObjA and is also declared to be serializable. The enum is a parameter to the method call on the remote object ObjB. However... more >>
SOS: Problems with lifetime of remote objects passed as parameters to remoted functions
Posted by I_hate_spammers NO[at]SPAM spammers_suck.com at 3/14/2004 1:42:42 AM
Hi:
I'm having problems keeping a remote connection with the objects I'm using. I'm trying to establish
a peer-to-peer chat program (right now, just between 2 people), but am losing my connections after
about 2-3 minutes.
Here is the background of what goes on:
Here are the objects I h... more >>
rebind in .NET Remoting
Posted by Mario Garcia at 3/13/2004 8:11:09 AM
How would I go abouting implementing Java RMI's rebind in .NET? I'm dynamically publishing my objects using marshal. I would like the most recent published object to be available at a well known address. Is this possible? I mentioned rebind because I believe that is the kind of functionality that I... more >>
Remoting problem
Posted by Sam Learner at 3/12/2004 7:40:24 PM
Hello,
I am learning how to create remoting apps... and using direct calls instead
of using Configuration files or IIS.
I used some samples found in MSDN...
but when I make the call to a ServiceClass.sayHello(..) function.. I get an
error message:
"Additional information: The requested name is... more >>
Where comes 10.211.192.1 (UDP, Port 67) ?
Posted by Anony at 3/12/2004 5:46:11 PM
Hi All,
Recently I get strange UDP packets from 10.211.192.1:67 to
255.255.255.255:68 (Win NT5.1).
It comes always 2 packets in 2 seconds! Length with head is always 576 byte,
no data sniffed.
I don't know what is happening and where it comes from. Does anyone know
about it? Is it possible... more >>
Windows Service to start remote object
Posted by Sean McKaharay at 3/12/2004 1:47:29 PM
Hey All,
I know this has been asked all over the place, but I can't find a definite
answer.
I have a console app that has a main method
namespace NameSpaceRemoteServer
{
public class RemoteServer : MarshalByRefObject, iServer
{
.......this is where my server class informati... more >>
MS Remoting Event Fix Didn't Fix
Posted by Donald Adams at 3/12/2004 10:51:51 AM
Hi,
I was happy to see an attempt at a fix of Remoting Event Sample:
http://support.microsoft.com/default.aspx?scid=kb;en-us;312114#appliesto
However, it still doesn't work. The client is only talking with itself.
Can anyone point me to a Remoting Event sample that really works. I need to
... more >>
How do you remote an Image or Bitmap object?
Posted by Chuck at 3/11/2004 11:06:38 PM
I tried to remote an Image object and kept getting a 'can't find raw image'
exception (or something like that). Here are some of the things I tried.
Local:
Image image = RemoteServer.GetImage(filename);
Remote:
public Image GetImage(string filename)
{
return Image.FromFil... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Return a Datareader w/ Remoting
Posted by Bob Erwin at 3/11/2004 4:40:38 PM
Hey,
I'm just getting started with Remoting so forgive my ignorance. I'm
currently just running some tests to make sure Remoting will do everything I
need it to do, however, I've run into a weird problem that I really can't
find any info on.
I'm returning a DataReader from my Remoting Clas... more >>
.NET Framework 1.1 upgrade: Remoting error
Posted by Manoj Agarwal at 3/11/2004 10:51:08 AM
I upgraded my .NET Framework 1.0 based Windows application to .NET Framework 1.1, and I started getting following error in the module where I am using .NET remoting
"Because of security restrictions, the type <mytype> cannot be accessed
I specified TypeFilterLevel to "Full" as suggested by Ingo ... more >>
Custom Errors
Posted by Jaime at 3/11/2004 9:46:07 AM
Hello
I am attempting to turn on custom errors on the machines so that I can debug a particular problem, but no matter how I put the config file, it doesnt seem to pick it up. The exception that gets thrown keeps on telling me that I need to turn CustomErrors
The config files ive used are as fol... more >>
Scaling
Posted by JD at 3/11/2004 8:56:46 AM
Anyone got a feel for the number of clients would be worth considering IIS
( http ) instead of a Windows Service (tcp).
We have an application server currently running in Windows Service. We have
no more than 500 clients running Windows Forms - should we consider IIS to
host the server.
Ch... more >>
File or assembly name RemoteObject, or one of its dependencies, was not found
Posted by mcgregor_matt NO[at]SPAM hotmail.com at 3/11/2004 6:42:35 AM
Hi
I'm trying to get Microsoft's example of .Net Remoting via a Windows
Service to work. Url as follows:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT15.asp
but I keep getting the following error:
An unhandled exception of type 'System.IO.FileNo... more >>
Cross AppDomain Channel
Posted by Tim Haynes at 3/10/2004 1:33:21 PM
I've been looking at the relative speeds of communicating between two
appdomains in a process. The internal CrossAppDomainChannel is 8 - 10 times
faster than TCP, so I'd be keen for it to be more widely available, but
sadly it is a private internal channel.
Ingo Rammer demonstrates a rather h... more >>
How to detect that server IIS is restarted
Posted by Konstantin at 3/10/2004 10:27:08 AM
Hi,
Is there a way for the client to detect that Server (IIS) was shutdown or
restarted?
Regards,
Konstantin.
... more >>
remoting help : Object reference not set to an instance of an object
Posted by Rolo Tomassie at 3/10/2004 9:31:49 AM
I'm having a problem getting a simple remoting demo app to work. Could
somebody take a quick look over the code and tell me where I'm going astray?
My demo consists of 3 projects : MathAssembly (remoting obj), MathServer
(console app) and MathClient (console app). The code is pretty simple,
pr... more >>
Access to .NET Remoting stream
Posted by Mario Garcia at 3/10/2004 9:26:07 AM
How can I get access to the underlying/hidden stream object that is being used to deserialize an object? Is there any way to pass that information by way of "StreamingContext"?
I need to somehow retrieve or create a reference to an object that can be used as a hash for all objects in a graph being ... more >>
Calling IIS remoting from a DLL
Posted by mcpollo NO[at]SPAM terra.es at 3/10/2004 5:19:02 AM
Hello,
I have a remote service hosted in IIS, this service works correctly
when invoked through an ASP.Net application.
The problem is when I invoke through a VB.Net DLL, I get this error
(sorry in Spanish):(Error in Remote Server: (407) Proxy Authorization
Required)
Información adicio... more >>
Authenticating clients
Posted by cjohns NO[at]SPAM telkomsa.net at 3/10/2004 2:10:30 AM
I have a client/server remoting setup, where only certain clients
should be able to access the remote objects on the server. This means
that I need to authenticate the clients themselves (i.e not using user
or role based authentication).
I've been looking at evidence based authentication (usi... more >>
Message sinks for callbacks via marshaled objrefs
Posted by Keith Brown at 3/9/2004 10:11:08 PM
How can I control the channel layout for marshaled objrefs? Let's say I'm calling through a channel that has some custom channel sinks, a custom formatter, etc, and I pass an objref to the server over this channel. When the server unmarshals the objref and calls me back, his channel is layed out not... more >>
COM+ Remoting Error Help
Posted by Henry Yeng at 3/9/2004 6:55:45 PM
I'm new to the .NET environment can someone please tell why I'm getting this
error.
An unhandled exception of type 'System.Runtime.Remoting.RemotingException'
occurred in mscorlib.dll
Additional information: Cannot load type MENU.DAL.cls_CORE_Company,
MENU.DAL, Version=1.0.1529.33106, Cultu... more >>
Calling remote objects from ASP.NET app
Posted by Willem-Jan JAcobs at 3/9/2004 10:45:36 AM
Hi,
I'm new to remoting, so this is probably someting very easy that I am
missing.
I have an ASP.NET application that tries to access remote objects on a
different server. I have a Client.exe.config file in the virtual directory
of the asp app like this:
<configuration>
<system.runtim... more >>
TreeView not marked as serializable
Posted by David at 3/9/2004 8:16:06 AM
I am using remoting to get a treeview object populated by server, then assign it to my local treeview in a web form. The connection to the port of server through remoting channel is OK, but when the web form try to retrieve the treeview object, it got SerializationException:
[SerializationExceptio... more >>
Socket error when restarting host app
Posted by Serg at 3/9/2004 3:26:05 AM
I am always getting an error "allowed single use of socket adress" when i have to restart my host app
Error occurs only when i have created an clien activated object on host
After that to restart my host app i have to change my port or wait for about 10 minutes, after that host app start successfu... more >>
Is it possible to perform remoting object for ado.net?
Posted by Ice Spirit at 3/8/2004 10:11:16 PM
I try to build a data access layer in remote object as singlecall....
Firstly, I get an connection object from one remote object and then pass it
to another remote object.... There is an error in schemafill in
dataadaptor... (Permission denied: cannot
call non-public or static methods remotely... more >>
Problem loading assembly in a different AppDomain
Posted by Roman Rodov at 3/8/2004 3:41:07 PM
Hi I am trying to develop a plugin infrastructure for my application
I create a new AppDomain, and then try load a plugin assembly into it. Here is the code
FileInfo fiLocal = new FileInfo(Assembly.GetExecutingAssembly().Location)
AppDomainSetup pluginHostSetup = new AppDomainSetup()
pluginHost... more >>
singlecall server object disconnect problem
Posted by Willie wjb at 3/8/2004 1:58:36 PM
Hi,
when using a singlecall server object, i want to know when a network error
occures at the server side.
(Means that a client has called the server just before the network error and
is still running on the server side at the moment of the network problem.)
when debugging the server side, ... more >>
No more remoting under Indigo?
Posted by Paul Klanderud at 3/8/2004 6:41:06 AM
This is a pretty high-level question ... from some recent talks on Whidbey, Indigo, etc., I get the impression that Remoting is going to be discouraged, but COM+ / Serviced Components will continue to be supported under the new Service Oriented Architecture (SOA) of Indigo. Does anyone have any bett... more >>
|