all groups > dotnet remoting > march 2004 > threads for march 15 - 21, 2004
Filter by week: 1 2 3 4 5
ILASM
Posted by Chris at 3/21/2004 7:25:41 PM
Hi,
why have a tool like ILASM.exe that is generating code just like the CSC.exe
?
what is the added value ?
thnx
Chris
... more >>
The Strange Mystery of the Disappearing Callback
Posted by Blue Frog at 3/21/2004 2:55:15 AM
Hi Again All,
I have a strange problem - I have a public event on my server object and can
subscribe to it without problems now on my client. However, when I raise
this event on my server nothing happens on the client which has subscribed -
anyone have any idea why?
Blue Frog
... more >>
ArrayList
Posted by Morgan at 3/20/2004 8:31:09 PM
OK.. maybe I'm losing my mind...
I am returning an ArrayList and only the last object value in the class is
"visible", i.e. object.property = "test". The array list is being filled
from a datareader where all values are unique for the property. Is there an
issue with DeSerialization that I'm not... more >>
Deserialisation Woes Continue - Please End the Misery!
Posted by Blue Frog at 3/20/2004 3:39:42 AM
Hey All, I'm still having the dreaded deserialisation security error even
with this relatively simple setup so I've decided to post my code in the
hope that someone can tell me what's going wrong.
I have a library called simple.dll shared on IIS in the virtual directory
simple.
Here is the... more >>
progress bar while file uploading
Posted by MrBug at 3/19/2004 8:25:50 PM
Hi
I have seen few components which show progress bar while file uploading to
web server .
Just want to know what is the logic behind this is.
Mr.Bug
... more >>
Problems with CAS and remote objects
Posted by Roy Chastain at 3/19/2004 2:18:50 PM
I am receiving an Exception of
Request for the permission of type System.Security.Permissions.SecurityPermission
I have the following setup
I am sitting at DeskTop1 (DT1).
There is a server called Server1.
On Server1
inetpub\wwwroot\vd1 contains an .exe and several .dlls
inetpub\wwwroo... more >>
IIS Remoting Issue
Posted by Andy Johnson at 3/19/2004 1:20:38 PM
Hi,
I'm getting an error saying "Type System.DelegateSerializationHolder and the
types derived from it (sucha as System.DelegateSerializaitonHolder) are not
permitted to be deserialized at this security level." It only happens when
I try to handle a remote event... I"m not sure what this mea... more >>
Questions about Remoting, objects, threading. lease lifetime and object cleanup, and a couple of others.
Posted by Nick Palmer at 3/19/2004 10:12:54 AM
I've got a some questions about Remoting, objects, threading. lease lifetime
and object cleanup, and others.
Here is a quick overview of what I've got going so far. I'm using CAO
remoting to expose a class that my clients
can access. Basically the client program connects to the server, gets ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Serialisation Security on Client
Posted by Blue Frog at 3/18/2004 11:14:45 PM
Hi again all,
I've been reading about setting the serialization level by setting the
typeFilterLevel attribute of the <formatter> tag in the server config file
and also programatically on the server to overcome the deserialization issue
introduce with version 1.1 of the runtime. From what I'v... more >>
Maintainability.
Posted by kenny at 3/18/2004 11:06:07 PM
Remoting has one disadvantage of Maintainablity. Is it ture... more >>
how to use Activator.CreateInstance() ?
Posted by Christian at 3/18/2004 5:25:36 PM
Hi,
How do I use Activator.CreateInstance() in a client if I want to instantiate
an object on the server ?
I read something about : first thing to do is exposing the server-object
using the 'export'-attribute ???
instead of
RemotingConfiguration.RegisterWellKnownServiceType(
... more >>
Very difficult situation
Posted by PS at 3/18/2004 2:45:09 PM
Hi
I have a very difficult problem.
I had some elements
1 - .dll written in old C++ (not managed)
2 - server written in C# (remoting server)
3 - client written in MC++ (remoting client)
In my .dll I have function which are using parameter (type HANDLE) as a way
to abort function executin... more >>
Question about Remoting and using TcpChannel
Posted by Nick Palmer at 3/18/2004 12:31:28 PM
Hi all,
I've got a question about Remoting and using the TcpChannel object. I was
reading on Ingo Rammer's site about how in the Framework 1.1, you needed to
use additional code for client activated objects to deal with the additional
security. So, I took the code that Ingo had, and massaged... more >>
hosting remoting object in windows services
Posted by Tiberiu M at 3/18/2004 8:01:07 AM
Hi. I'm building a client-server application where the server is currently running as a console application.
After reading some interesting articles on running the server as a window service, I built a new VisualStudio Windows Service project containing 2 new classes: an installer class (which add... more >>
remoting and com interop(cross post from iterop newsgroup)
Posted by B.J. at 3/18/2004 5:31:09 AM
Below is a copy of my initial message on the interop group. The whole thread is here
http://tinyurl.com/32cy
If you follow the thread, you'll see the the msft rep suggested I cross post my issue here
Anyone got any insights??? Thanks in advance
B.J.
++++++++++++
Writing several programs ... more >>
not able to connect to server ,telnet also fails
Posted by ommother NO[at]SPAM hotmail.com at 3/18/2004 4:16:27 AM
I have created a simple (server and client) .net remoting application.
the server component is installed in a remote machine and it has to
listen to a port
i am pasting the server code and the config file.
public DashBoardServer()
{
try
{
string configFile=Application.Exec... more >>
Unicast Events
Posted by Alireza Haghshenass at 3/17/2004 7:56:46 PM
Dear All,
I wanted to know whether there is a way to Unicast a delegate? I mean
suppose we have multiple clients and a server. We want to fire a an event
and some of these clients not all of them receive this event. I think this
is possible but I don't know how.
I look forward to hearing from... more >>
Basic Hosting in IIS Question
Posted by Blue Frog at 3/17/2004 7:54:36 PM
Hi
I'm pretty new to the mechanics of Remoting and I'm busy trying to get my
head around it all. I have what I think is a pretty basic question.
I have contructed the most simple testing class I could in C# which gets
compiled into myLibrary.dll - code follows below.
myLibrary.cs
name... more >>
Mouse Cursor
Posted by Tom at 3/17/2004 11:54:46 AM
I set
base.Cursor = Cursors.WaitCursor;
right before calling an asynchronous remoting call. But
right after the call the mouse pointer goes back to the
arrow. Does anyone know why this is happening?
I also tried putting that line below the call, but that
didn't work either.
Th... more >>
RemotingConfiguration.Configure Memory Leak?
Posted by Stephen Barrett at 3/17/2004 10:28:16 AM
I read on a site that there is a supposed memory leak in framework 1.1 if
you use the RemotingConfiguration.Configure command and a config file to
"configure" your remoting items. I have not been able to find this
information anywhere else including MSDN and was wondering if this is legit.
Ba... more >>
Windows app hosting SAO - can't access host app data
Posted by CG at 3/17/2004 8:24:52 AM
I have a Windows desktop application which hosts a SAO as a singleton. On
the same Win2K computer, a remoting client can successfully call all the
methods on the remoted server object - no problems. The Win app contains
the actual data object, which I want to access from the remote client. I
... more >>
Asynchronous Calls Updating UI
Posted by Bob at 3/17/2004 8:01:54 AM
Can someone point me to a good example or article about
using remoting asynchronously and then updating the user
interface.
How do I return to the main thread after my remoting
callback has completed?
Thanks,
Bob... more >>
Windows service
Posted by Mark brouwers at 3/16/2004 10:03:53 PM
Hi,
I'm using a windows service as a host for my remote objects. This works fine
until suddenly it stops working. Meaning that the client application hangs!
The only thing I can do is restart the service on the server. It is
impossible to restart this service because there is only be one socket
... more >>
Remoting and Garbage Collection Help?
Posted by Stephen Barrett at 3/16/2004 6:41:55 PM
Environment:
Our system is built basically into 3 + tiers.
ASP.Net -(remote call to BL)-> RemotingService (Windows Service) ->
database server
On certain BL calls, the BL actually remotes out to another remoting server
that has specialized processing available.
We are using a factory de... more >>
Hosting in IIS with Connection to Outlook!
Posted by nw at 3/16/2004 3:39:06 PM
Hello!
Ive got a problem I cant get run.
What i made is a Remoting program for downloading files and emails from
other computers. Files and emails work fine if using tcp or http as protocol
with hosting in Application.
but i also want host the code in IIS. Now for getting an Email out from
... more >>
Serialization Exception & COM Interop
Posted by Jaime at 3/16/2004 3:01:08 PM
Hello
After some more testing on different systems, I noticed that I am able to call the remoted objects just fine within the context of the IDE on other computers. The remoted object that I have created is called by another assembly that is COM interoperable. The application I am writing integr... more >>
Bind to Single IP Number?
Posted by localhost at 3/16/2004 9:53:31 AM
I am using HTTP Binary style Remoting. I looked at the IP usage and
see that I am listening on all IP numbers. How do I specify listening
on just one?
Thanks.
... more >>
Newbie Confusion
Posted by Roy Chastain at 3/15/2004 2:58:20 PM
I have dumped into remoting and I am sinking.
I have an application that was written by a consultant who has left and I need to modify it.
The existing application has remote objects hosted in IIS (using IIS activation is the phrase I think). There is an ,exe that is started by
http://server/v... more >>
SerializationException
Posted by Jaime at 3/15/2004 1:46:05 PM
Hello
I have been working with a 3-tier system accross remoted channels. So far I have gotten the whole thing to work if my computer (my dev box) is both the client and server. I have also gotten it to work if my computer is the client and another is a server. When I went to deploy the client so... more >>
file resource
Posted by Cris at 3/15/2004 9:41:38 AM
I'am sorry for my english...
How can I break the connection between a client and a file resource running
on a server?
thanks
... more >>
Proper way to disconnect and reconnect a marshalled remote object instance??
Posted by I_hate_spammers NO[at]SPAM spammers_suck.com at 3/15/2004 7:55:27 AM
Hi:
I have a remote object that I'm instantiating with the following code:
this.lineageTreeServerMonitor = new
LineageTreeServerMonitor(this.memberNode.MemberID);
RemotingServices.Marshal(this.lineageTreeServerMonitor,
"LineageTreeServ... more >>
|