all groups > dotnet remoting > february 2004
Filter by week: 1 2 3 4
Using EnterpriseServices with Remoting
Posted by Manfred Steyer at 2/29/2004 11:09:43 AM
Hi!
I want to use a serviced Component using JITA and Object Pooling as a server
activated remoting component, as ServicedComponent inherits
MarshalByRefObject.
As the Component uses JITA and Object Pooling, it's stateless.
I'm wondering, wheter I should export it as a "Single Call" or a
... more >>
Problem in updating a listbox in the client
Posted by Bruno Oliveira at 2/29/2004 6:10:04 AM
Hi everyone
I am a newbie at remoting and I am having some problems in an application I have
The problem is as follows
I saw an example of a chat application that used timers on the client to update a listbox in the client, but I was trying to make the client update this listbox when the serv... more >>
Bi-directional ServerObj <--> ClientObj with SAO on same computer
Posted by RJ at 2/28/2004 8:40:25 AM
I have been struggling with a remoting implementation, where I want
bi-directional communication between one server object and one remoting
client. I have a SAO, whose methods are working properly when called from
the remoting client application, which runs on the same computer. I
add an eve... more >>
Re: Attempting to remote a usercontrol
Posted by Chris Ellis at 2/27/2004 2:41:31 PM
Hi all,
Thank you kindly, Sunny. That was an angle that didn't even cross my
mind. Ok, so I re-designed my entire project (luckily it's just a
proof-of-concept test project, so that wasn't too terribly hard). I
re-fitted the thing to have a UserControl in a dll that has no code to
cont... more >>
Passing SqlTransaction by ref to remoting server
Posted by Philip Martin at 2/27/2004 2:26:06 PM
I have a remoted object which supports the following interface
PostReport(Report rp, SqlTransaction xa
My client gets a connection to our database, gets a transaction and performs several operations
It then makes the call to our remoting server on another machine and passes is the Report rp, whi... more >>
Activating a SAO in IIS without any client access
Posted by dinesh336 NO[at]SPAM hotmail.com at 2/27/2004 1:29:50 PM
Hi!
I have a Singleton SAO that needs to be up and running all the time.
The problem is SAOs are not activated until the first client makes
contact. How do I get around this issue?
If I host it in a windows service I could probably have the onStart()
call a dummy method in SAO, but I would ... more >>
A zombie remote object ?
Posted by Monica at 2/27/2004 12:03:42 PM
A zombie remote object?
I have a console application that hosts a remote object.
Case a) When I Ctrl-C this host and the client request something from this
remote object,
the client wait forever or until a Ctrl-C.
example:
...
ObjMgr = (IObjManager) Activator.GetObject(typeof(IObjMan... more >>
how can I know which remote objects are running on a host ?
Posted by Monica at 2/27/2004 11:21:36 AM
Thanks in advance.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Client Activated .Net Remoting
Posted by Chew at 2/27/2004 10:39:21 AM
Hi,
I'm aware that there are two methods to create a remote object, either
server activated or client activated. I managed to get the server activated
method to work but couldn't figure out how to code the client activated
method. Can anyone post the client and server code (C# or VB) for the c... more >>
Unregister channel registered using configuration file
Posted by cjohns NO[at]SPAM telkomsa.net at 2/26/2004 11:24:15 PM
I'm trying to unregister a channel which was registered using a
configuration file (using RemotingConfiguration.Configure).
I can't use ChannelServices.Unregister(mychannel), because I do not
have a channel object because I did not register it manually.
I could use:
IChannel this_channel = ... more >>
.NET Remoting or COM+ ??
Posted by Grzegorz Sakowski at 2/26/2004 3:32:28 PM
HI
Preliminary conditions:
Three-tier application
Database: MS SQL Server 2000
Business tier (application) works on MS Windows Server 2000
User interface: windows forms and/or internet browser
Used tools:
VS.NET 2003 Prof (C# preferred)
Visual FoxPro 8.0
Access 2002... more >>
i need people to join my new workspace at gotdotnet.com
Posted by Paul Fi at 2/26/2004 2:24:22 PM
any one who has very good background or have worked with .Net Sockets,
building TCP Servers and is familiar with .NET remoting and ASP.NET Web
services can reply to this message or email me so we can discuss about a
new workspace at gotdotnet.com for the project that im planning
*** Se... more >>
.NET and McAfee
Posted by Chris Koiak at 2/26/2004 9:03:03 AM
Are there any known issues with .NET and McAfee.
Currently I have a windows service (which access a lot of
files) written in .NET which uses Remoting. However I am
seeing errors while its running on machines with McAfee
installed.
e.g.
System.NullReferenceException: Object reference no... more >>
Dumb beginners questions
Posted by bodzaxx NO[at]SPAM hotmail.com at 2/26/2004 5:39:51 AM
I guess I just don't get all of the concepts yet:
I've come from a VB/COM/MTS background where you write a class library
type application, compile it and drop it into MTS, where you export a
type library (proxy definition) which is used so the client can
connect to the remote class library hoste... more >>
XML and schema
Posted by Chris Wagner at 2/25/2004 7:58:42 PM
how do i validate a xml file with a schema using VB.net or C#? thanks
... more >>
Delegates, Client-side Events and Remoting
Posted by ecsmith NO[at]SPAM spu.edu at 2/25/2004 3:20:52 PM
Hi,
I have an architecture issue. If someone could tell me if Remoting
supports this and what the best approach would be, it'd be a
tremendous help.
Ideally, I need a layer of delegation between the proxy class instance
on the client and the server. I'd like to be able to raise events on
t... more >>
Throwing exceptions in constructors using .NET remoting
Posted by Kurt Haas at 2/25/2004 2:11:05 PM
I have a problem with .NET remoting. I am using client activated objects. If the constructor for such an object throws an exception, the exception doesn't get back to the client. Instead, I get "Exception has been thrown by the target of an invocation." If I throw the same exception in any other met... more >>
Whats the difference?
Posted by Stephen Barrett at 2/25/2004 12:19:56 PM
Lets say I have a remoted business logic object with a method called
RestoreSettings.
The RestoreSettings method takes 3 args; an int to specify a key id, and 2
different custom serializable objects.
The purpose of the method is to do a few queries on a database and build the
2 custom seria... more >>
ces_?
Posted by ya1000 at 2/25/2004 7:36:05 AM
whats wrong here?
Posted by Edward at 2/25/2004 12:45:45 AM
Wanted to learn a bit of remoting. Thought I'd start with something
really simple but I cannot get even the basics to work.
'Remoted Object
namespace ServerApp
{
public class Interface : MarshalByRefObject
{
public Interface()
{
Console.WriteLine("created");
}
... more >>
Newb to remoting
Posted by Walter Draffin at 2/24/2004 9:27:38 PM
Hi all,
I need some direction in a project that I'm working. First off I need to
know if remoting is what I need to be using and secondly if it is, can
somebody point me in the right direction.
My goal:
Send encrypted information over the Internet to a server or servers. The
server(s) th... more >>
WSE or Remoting?
Posted by Reason at 2/24/2004 6:26:09 PM
What direction is Microsoft taking - should I be building applications using WSE or remoting. There is a lot of talk of moving towards a services orientated architecture. Does this mean the end of remoting
HELP!... more >>
Remoting calls problem!
Posted by Mats-Erik Grundh at 2/24/2004 4:14:45 PM
Remoting calls problem!
I have problem with remoting calls, sometimes the application "locks" about
2 minutes when i call the server before it releases the remoting call and
everything is normal again. Sometimes the application just ends without any
exception.
Problem code:
Client remoti... more >>
"Requested service not found" from singleton in new AppDomain...
Posted by James R Carroll at 2/24/2004 11:45:18 AM
I am trying to improve RPC performance by creating mutiple server instances
for my clients to connect to on demand. I do this by creating a new server
on a new port in a new application domain once the current server has
reached a certain client limit and give the client a new URI.
The new se... more >>
Remote on remote
Posted by ItsSnowingOutside at 2/24/2004 4:26:06 AM
I am trying to host a remote object that consumes another remoted object
I am using the RemotingConfiguration.Configure method to setup both configurations and while the first remoting setup succeeds the second one fails. I get no entries from the WellKnownClientTypeEntry method so it seems that t... more >>
Remoting CAOs - Permission Problems
Posted by George Jordanov Ivanov at 2/24/2004 12:03:55 AM
Hi,
I have permission problems instantiating CAOs. I am running .NET Framework
1.1 (Visual Studio .NET 2003). The server registers a TCP channel, where it
exposes a CAO. The client on the other side tries to activate the CAO. An
exception occurs on the following line:
m_Server =
(MyByRefOb... more >>
WSE 2.0
Posted by REason at 2/24/2004 12:01:08 AM
Does anyone know what the future strategy is for remoting given the push WSE is getting? Should I be looking at focusing on services rather than remoting
Any thoughts welcome... more >>
Socket Exception in Remoting Application
Posted by deepalk NO[at]SPAM sabretch.com at 2/23/2004 11:00:11 PM
Hi ,
I have developped a Simple Remoting Example.
Now my problem is
I'm hosting a Remote Object in a Console Application.When I run that
application it starts and hosts the Remote Object and clients also can
connect to the Remote Object and Commiunicate.
But after disconnecting the Clie... more >>
Cleanup issue
Posted by Johan Karlsson at 2/23/2004 4:13:40 PM
Hi!
I'm sure this have been discussed before but I could find any simular issue
here.
I have a remote object called "Site". This objects overrides
GetLifetimeService() and returns null to make sure it lives forever.
(almost).
But on rare occations I would like to unload this object and l... more >>
Attempting to remote a usercontrol
Posted by Chris Ellis at 2/23/2004 3:47:09 PM
Hi all,
I'm beginning to think I already know the answer to this question, but
I'm not giving up hope yet :o)
I'm trying to remote a user control. It seemed like it ought to be easy
enough since it derives from MarshalByRefObject. The idea was to export the
usercontrol from a server a... more >>
Performance question
Posted by Harry at 2/23/2004 3:01:09 PM
I'd like to know what those who have tested the following think performance wise
- remotin
- serializing the object and sending it directly to the serve
Which one is faster if there's one
I understand that things will be very different depending on the object passed - so let's say for an obje... more >>
Problem in the DMZ
Posted by Goncalo at 2/23/2004 1:11:08 PM
Hi
I'm having problem with .Net Remoting when I invocate an Remote Object from the DMZ
On the Intranet it works fine, but when I put the client on the DMZ, it doesn't work
Is it the firewall that is blocking
I get a HTTP 401 Error - UnAuthorized Acces
Thank's in advance
Goncalo... more >>
proxying an object for intersept methods call
Posted by yamil at 2/23/2004 11:16:08 AM
I´m just using my proxy implementation using .Net Remoting ,but for proxy an object I must declare an interface(s) with all the method that I want to intercept calls an the target object must implement it. I try to do it without implement the interface(s) with attributes in all methods that I want ... more >>
Remoting Serialization Problems
Posted by Steve Severance at 2/22/2004 8:36:06 PM
i have a class that is serializable. When I serialize and deserialize manually it works fine but when remoting does it, it bombs. I have not been able to find anything about this error yet
"Parse Error, no type associated with Xml key a2 .Patient MedWizardBaseClassLibrary, Version=1.0.1513.41847, ... more >>
Workflow in ASP.NET ?
Posted by Paul at 2/22/2004 9:52:38 AM
Hi.
I asked this one before without any response, but I'll give it ago.
In Commerce Server they have a pipeline editor which runs a series of
components, the main drawback is that it doesnt support strong names or any
web-interface programming, so changes need to be made from the admin
uti... more >>
CreateWindowStation
Posted by Paul at 2/20/2004 9:42:03 AM
Does anyone have the vb code to use this function I have found the API
import for this but not the layout of the structures that need to be passed
to the routine. I'm also looking for vb versions of
- CreateWindowStation
- SetProcessWindowStation
- CreateDesktop
- SetThreadDesktop
- GetGUIT... more >>
Passing callback methods to worker classes
Posted by gs_sarge NO[at]SPAM yahoo.com at 2/20/2004 6:45:00 AM
Hi:
I'm working on a server application that takes a callback parameter
from the client to pass large amounts of data through. My server is a
singleton, and would theoretically (I could always dream) have mucho
calls coming to it simultaneously from multiple clients at the same
time. Obviou... more >>
Event deactivation: synchronous or asynchronous
Posted by gs_sarge NO[at]SPAM yahoo.com at 2/20/2004 1:39:55 AM
Hi:
I was wondering what the behavior is when a delegate is unregistered
from an event.
For example:
Say I've registered my delegate on a server and then the server
crashes at some point. I don't know this, so I make a call like this
when I'm logging off
server.serverDelegateEvent ... more >>
Remoting events are lost after period of inactivity.
Posted by Konstantin at 2/19/2004 2:29:28 PM
Hi,
Can somebody explain how to fight with the following problem:
I have client subscribed to remoting events from server.
Events are fine. but after some period of client inactivity client looses
events. I client resubscribe, events are captured again.
In other words:
Client starts so... more >>
Finding Computer Name
Posted by Barry at 2/19/2004 11:26:08 AM
Does anyone know a way on the client to get the computer name for the server that is on the other end of a proxy?... more >>
Best method for callback into client from a server object
Posted by Marlon R at 2/19/2004 10:02:12 AM
I have a server object that updates SQL SERVER 2000 database from a
DataTable (passed from the client).
I want the client to call the server object method asynchronously, and then
received progress update on the database update process.
The question is: What is best way to send update notif... more >>
ASP.NET project using .NET Remoting (DUPLICATE)
Posted by Mike at 2/19/2004 8:06:09 AM
Hello All
I'm a beginner in Visual Studio .NET and a Visual Basic programmer. I'm interesting in building a ASP.NET project as a VNC application. Example
Let say you want to do a presentation from your computer. you want to use the web as your host client to connect to your remote server. You als... more >>
Is tcp so much faster?
Posted by chanser NO[at]SPAM web.de at 2/19/2004 5:28:30 AM
Hi!
Is TCP really so much faster?
In a performance test the client receives 60kb data using .NET
Remoting. Using the TCP channel it takes 1 second, using the HTTP
channel it takes 40 seconds. Is this realistic or might there be a
mistake?
I'm using the RemotinConfiguration-File, so that I ch... more >>
Remoted objects calling other remoted objects
Posted by arjenkraak NO[at]SPAM hotmail.com at 2/19/2004 3:57:54 AM
I have a component which is hosted in a windows service (Comp A). This
component calls another which I have hosted in another windows service
(Comp B). Both use the http channel.
During development and debugging, I have hosted both services on my
development machine.
When I test my client (a ... more >>
Object refereance not equal to null
Posted by Arshad Islam at 2/18/2004 6:30:17 PM
Hi there,
The object referrence for an object should be null if the remote object is
not available at the specified place right ? My object ref is not null when
I try to create a remote object at a place where it is not exposed , any
ideas what could be the reason.
I am exposing the object ... more >>
Serializing only changed objects
Posted by David at 2/18/2004 5:11:07 PM
Hi
We have a problem whereby we want to only serialize a collection of objects - they may be anything but they are at least all serializable - if one of them has been modified (is dirty if you like).
So in essense our workflow is
1. Deserialize the session collection (Session is the object cont... more >>
Remote DataSet Update
Posted by Chris at 2/18/2004 8:30:22 AM
Hello,
I'm just learning remoting and have some questions about DataSets.
Currently, I have a method in my server that uses four data adapters to
populate a single dataset. Using a Get method, the remote application then
requests this dataset via a remote call (and a reference to the datase... more >>
DLLImport and Remoting.
Posted by Rob Peppin at 2/18/2004 5:16:06 AM
Hi all
I am having a problem when trying to use an imported method on a C++ DLL. This is an API call, not a COM interface.
The imported method is being called at the remote server end (a C# DLL)
When I use the method without remoting, the call works fine (and has done for some time). When I at... more >>
memory issue
Posted by Yair Cohen at 2/18/2004 12:02:50 AM
Hi
i have a console remoting server that loads 37K mb in the memory (this
measure is from the task manager not an academic check...)
whay it has to load very much ?
is it because the remoting ?
is there a way to reduce this ?
... more >>
dataadapter fill performance problem
Posted by Yair Cohen at 2/17/2004 9:49:33 PM
Hi
i have a strange problem:
i use code like this:
ODBCConnection cnn = new ODBCConnection("... cnn string ...");
ODBCDataAdapter da = new ODBCDataAdapter("select * from tbl left join tbl2
on tbl.refid = tbl2.id", cnn);
DataTable dt = new DataTable;
DateTime t = Now();
da.Fill(dt);
Ti... more >>
|