all groups > dotnet remoting > december 2004
Filter by week: 1 2 3 4 5
Is there a way to enumerate classes(names in string format) from a class library? how to do it?
Posted by Jose Michael Meo R. Barrido at 12/31/2004 7:41:54 PM
Please help! XP SP2 breaks remoting event callbacks
Posted by Mike at 12/31/2004 4:59:23 PM
Hi All,
I am developing an application based on Ingo Rammers sample in Chapter
6 of his book. Basically, I have a service which does some call
control and sends broadcasts to a number of clients by remoting via
events.
This all worked fine before I had an OS problem and I had to rebuild
my P... more >>
How do I send an event from Windows service to a client application
Posted by Trevor Braun at 12/31/2004 2:26:24 PM
I have a Windows service that uses a timer and checks an ODBC datasource for
new sales order every few seconds. When the new sales order is found, I'd
like to notify a client application that the new sales order was detected.
I thought this was going to be fairly simple, but I can't get it to... more >>
Communication with sockets
Posted by nvishnu at 12/31/2004 11:59:51 AM
Hi all,
I am new to sockets and the way .NET implements it. I am trying to develop a
small test app. where a client connects to a server application and server
and sends messages. The server displays it in a WinForm. I am using asynch.
socket calls to achieve that. I have two issues with this.... more >>
How to check if Remoting Server is Active?
Posted by Kannan.V [MCSD.net] at 12/30/2004 11:03:02 PM
hi.....
I have a scenario here.
I have an app which is client server app which communicate each other thro
remoting.
am trying to add another server for logging the user actions.
the user can chose to have logging enabled or disabled.
If the logging is disabled, the log server app is not st... more >>
Bidirectional communications with .NET remoting
Posted by Matt Kosorok at 12/30/2004 10:09:01 AM
I'm getting really close ( thanks to Ken Kolda, you're awesome, dude ).
Here's what I'm trying to do: ( warning, long message here )
I have a remote object that has a public delegate. The host application
uses the following code to publish the remote object:
// serverProvider object
Bin... more >>
Trying to locate a sample
Posted by Glenn L. at 12/29/2004 11:15:45 AM
Does anyone know of a sample that demonstrates two simple Windows Form
applications(not a console app) communicating with each other using
TCPChannel remoting. I just need a simple sample where both client and
server are on the same machine.
Thanks,
Glenn
... more >>
Initiating a TcpChannel with programmatic IDcitionary
Posted by Matt Kosorok at 12/29/2004 9:17:07 AM
I need to be able to set both the port and typeFilterLevel for my remoting
object. Here's my IDictionary code:
IDictionary props = new Hashtable() ;
props["port"] = nTcpPort ;
props["typeFilterLevel"] = "Full" ;
BinaryServerFormatterSinkProvider formatterProvider = new
BinaryServerFormatt... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Found two different objects associated with the same URI
Posted by Melissa Lewis at 12/29/2004 7:09:47 AM
Hi,
I'm having a problem with remoting and sponsors. I have a series of CAO
objects for which I have sponsors. Nearly everywhere in the app, this
works just fine--I can leave the app running without doing anything for
hours, and all works well when I come back to it.
However, I have one f... more >>
customErrors
Posted by Fernando Cardoso at 12/28/2004 6:01:18 PM
I have a TCP remote application that needs to throw custom exceptions to
client application.
My client application can't receive these custom exceptions when server
application is on a different machine. A "Server encountered an internal
error. For more information, turn on customErrors in th... more >>
Good WAP resources for palm-pilots
Posted by Chumley Walrus at 12/28/2004 10:38:17 AM
I need to write some scripts that takes dynamic sports scores from an
aspx page (via sql) onto palm-pilots. What's the best place to look for
WAP/WML resources that can do this.
The device I will be testing output on is the BlackBerry 6210.
... more >>
Re-configuring remoting from config file during application session
Posted by SA at 12/28/2004 10:27:28 AM
Hi all,
I am fairly new to remoting.
I have successfully set up a remoting Winforms client that communicates over
TCP (binary) with a Windows Service.
The nature of the project is such that we may have to communicate with 2 or
more services. The URIs are provided to the program by the use... more >>
TCP Remoting
Posted by dotnet_nut at 12/27/2004 3:07:02 PM
I am receiving the following error:
"An unhandled exception of type 'System.Net.Sockets.SocketException'
occurred in mscorlib.dll
Additional information: No connection could be made because the target
machine actively refused it"
while trying to connect to a server using a TCP channe... more >>
Local Server vs Remote Server
Posted by Mehdi Mirzaie at 12/27/2004 7:35:02 AM
Hi ,
It seems binding of Remoting (for first method call ) in Client-Side for
localhost remoting hostprocess server is very quick and suitable but it is
very slow for remote servers.
What is the problem ?... more >>
just curious /// not a problem but just wondering if someone can tell me how this works
Posted by M. Posseth at 12/25/2004 3:51:03 PM
Hello ,,,,
I have just tested my client server proggy with a time test and noticed the
folowing behavior ( tested this 2 times to be absolutely sure )
I have a client that calls a remote singleton object in this object i have
the folowing property
' Private field to store time object... more >>
is there a way for a client to detect a server on the network
Posted by M. Posseth at 12/25/2004 3:33:42 PM
Hi ,,,
I am having the following task
I need to develop a client server architecture using remoting with VB.NET as
i am a MCP studying for MCSD i found all information necessary in the .NET
MCAD / MCSD Self-Paced training kit and on the web .
So my client server proggy works as it should... more >>
Getting channel informations
Posted by AceBear at 12/24/2004 12:47:25 AM
I want to get some information about the Channels that
were registered as the result of calling
RemotingConfiguration.Configure(...).
ChannelServices.RegisteredChannels returns an IChannel
[], but an IChannel doesn't seem to contain as much
information as I would like.
I want to know is ... more >>
.NET Remoting hosted in IIS
Posted by Ming at 12/23/2004 9:29:17 PM
Hi,
When I host remote objects in IIS, a virtual directory is created, and the
object dll is copied to the \bin folder under it.
I would like to ask, if the dll already installed/updated to the GAC with
"gacutil.exe", need I still copy the dll to the IIS "VirtualDir\bin" folder
for subsequent... more >>
Serialization question with remoting
Posted by Ron at 12/23/2004 3:58:53 PM
If I have a singleton with a method that returns an object to the client,
will all data including Attributes and Inherited objects be serialized as
well?
All attributes and classes are marked as [Serializable()]
Thanks!
Ron,
... more >>
Using an Interface as the argument to a method
Posted by Garann Means at 12/23/2004 9:25:02 AM
Hi,
On the recommendation of this newsgroup, I'm trying to use an Interface as a
value object in my remoting application. A Singleton on the server delivers a
CAO - my Interface - and I then make some changes and use it in various ways
before it's sent back to the server to be saved into th... more >>
Page not Found in IIS (C# Component)
Posted by Gas at 12/22/2004 5:57:01 PM
Hi,
I have a C# component that support remoting, I have everything set up and it
work on an IIS server.
But yesterday I copy the component to another machine with IIS just
installed (all settings stay default), then when I go to
"http:\\theHost\vRoot\MyComponent.soap?wsdl", the server re... more >>
Clustering the .Net remoting IIS Host
Posted by Pankaj at 12/22/2004 3:57:43 PM
Hi,
I'm using the IIS to host my .Net Remoting components. Can anybody help me in telling how do I cluster the host(IIS)? Which tool/Hardware/OS should I use for clustering?
Thanks in advance
Pankaj Chitriv
---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/... more >>
Why my remoting app works via local network and does not work via Internet
Posted by Serg at 12/22/2004 3:31:39 PM
I have a remoting application that is working normally in local network.
But when i am trying to use it via Internet it does not work.
When I call methods for SingleCall and Singleton objects they works
normally.
But I can`t get a valid reference(proxy) for MarshallByRef objects.
I have tried... more >>
debugging remote object
Posted by SP at 12/22/2004 8:39:08 AM
I have a remoting object but can't seem to debug into the calls, I've tried
with the object running in the one instance of VS with multiple start up
projects, or in another instance, if I go to processes the process is already
grayed out so VS has attached to it, but it still won't step in to ... more >>
Security Problem with Remoting???
Posted by Simon Verona at 12/22/2004 7:14:54 AM
I have a pair of functions that I'm calling using remoting - called readfile
and writefile.
The readfile works fine when called from the client PC.
The writefile method returns an error:
"Because of security restrictions, the type System.Runtime.Remoting.ObjRef
cannot be accessed".
I'm... more >>
Can't connect to server over Internet
Posted by Joe at 12/21/2004 11:31:16 PM
I have a remote object that works fine on the LAN but on the WAN it doesn't
connect. I tried telnet the port and it seems to connect.
I'm using GetObject(typeof(myobject),
http://**.**.***.**:1234/MyObject.soap);
if I use my local IP 192.168.0.20:1234 everything is fine.
I'm running my se... more >>
Change the Remoting User-Agent string ?
Posted by Brian Anderson at 12/21/2004 8:45:05 PM
Hello,
a Client using HTTP-Binary sends a User string like this to the server:
Mozilla/4.0+(compatible;+MSIE+7.0b;+Windows+7.0.1942.0;+MS+.NET+Remoting;+MS
+.NET+CLR+3.0.1942.7528+)
Now I wonder if it's possible to override this string with something shorter
like "MyTool 1.0a".
It se... more >>
ObjectType is returning null
Posted by Gislain at 12/21/2004 6:39:38 PM
Hello,
I'm a beginner in remoting, and i'm a beginner with problem !!!
The WellKnownClientTypeEntry.ObjectType is always equal to null.
Client : This code failed every time
try
{
=
RemotingConfiguration.Configure(AppDomain.CurrentDomain.SetupInformation.=
ConfigurationFile);
... more >>
Only Admins Group Gain Access to the Remote Objects!!!
Posted by aissaoui_imad2 NO[at]SPAM hotmail.com at 12/21/2004 5:52:27 AM
Hi,
I'm using Winform client Side, and Server objects hosted in IIS.
I'm using Integrated Security to authenticate users (We are using
Roles based authentication in Sql Server with domain Users, to return
Data to Client Side).
The server side machine, is Windows 2000 server, and is configure... more >>
Obj Ref from IIS hosted Singleton
Posted by Ron at 12/20/2004 8:37:52 PM
I have a question regarding IIS hosted Singletons and what happens when the
ASP.NET app that hosts the singletons recycles itself after limited use.
Scenario I am looking at:
---------------------------
Client web app "A" retreives an objRef to a remote object hosted by iis on
server web ap... more >>
Peformance: Processes v's Threads
Posted by timasmith NO[at]SPAM hotmail.com at 12/20/2004 7:59:55 PM
Hi,
I have a Service which is a single executable and 10-12 remoting
threads. Each thread executes database SQL, writes to files on behalf
of clients.
Will a thread ever block the entire process when waiting for a
file/database?
Assuming a server which 2-4 CPUs are there any performance... more >>
Get Client IP when Remoting-Server is in IIS ?
Posted by Brian Anderson at 12/20/2004 5:48:17 PM
Hello,
how do you get the (external) IP of a Client when the Remoting-Server is
hosted in IIS ?
... more >>
Re-registering WellKnownClientType objects.
Posted by Phil Jones at 12/20/2004 12:41:21 PM
Is there a way to un-register a well-known client type.
I've been using the [RemotingConfiguration.RegisterWellKnownClientType] to
register client objects - but I'm in a situation where I need to re-register
the object if the server has changed it's port number. The problem is,
onece the o... more >>
..
Posted by Muhammad Waqas Bashir at 12/20/2004 12:59:02 AM
Subject: How to host a remote component if I don’t want to specify its all
classes individually in the configuration file.
Sir,
I have a query about (.NET Remoting) How to host a remote component if I
don’t want to specify its all classes individually in the configuration file.
I ha... more >>
Lifetime problem
Posted by kosjanne NO[at]SPAM st.jyu.fi at 12/20/2004 12:36:09 AM
My problem is that my SAO lives only 5 minutes, even though I override
InitializeLifetimeService. I create a 2nd AppDomain from my main one
to handle remoting server stuff like this:
public class MainForm : Form
{
....
remotingAppDomain = AppDomain.CreateDomain("RemotingServer", null,
appDo... more >>
Tracking Services
Posted by Alvaro Thompson at 12/20/2004 12:14:40 AM
Good evening people,
Been taking my Remoting model to the next level, and have been looking into
Tracking Services.
Having a remoting model working now, I need to start ironing out bugs and
problems, tune performance, and so on. One of the major problems that I'm
dealing with, is that of... more >>
Serializable and MarshalByRefObject
Posted by Tim Haynes at 12/19/2004 5:58:56 PM
An interesting remoting question.
For a given object I sometimes want an object reference and at other times I
want a copy of the object.
Now, everyone knows that with a [Serializable] object you get a copy, while
a MarshalByRefObject gets an objref.
If the object is both [Serializable]... more >>
Events between machines
Posted by Magne Ryholt at 12/18/2004 1:57:25 PM
Div. articles (e.g. Ingo Rammer
http://www.thinktecture.com/Resources/RemotingFAQ/RemotingUseCases.html)
concludes with the advice: Don't use events (callback) between machine, even
in an intranet environment.
Assume one server and several clients, all on the same subnet (datalayer is
100M... more >>
Design Question on using Remoting
Posted by Microsoft News at 12/18/2004 9:39:44 AM
Currently I have an application that is quite large. It is all created in
VB.Net and is a Windows application. All the data push and pull is through
a VB.Net DLL. What I want to do is enable clients to continue to use my
windows base application but be able to connect to the database over t... more >>
Singleton object is still create multiple instances
Posted by AY at 12/17/2004 2:21:03 PM
I am trying to use .NET remoting technique to implement a cache type of
object, ie, multiple clients access this cache object which has the client
specific information stored. My server config file is like this:
<configuration>
<system.runtime.remoting>
<application>
<ser... more >>
Can I create a remote object without a DLL on the client?
Posted by Garann Means at 12/17/2004 11:05:07 AM
Either I've completely misunderstood Remoting, or misunderstood what it's
useful for. In all the examples I've seen of accessing an object on a
remoting server, you have to specify the type of the object. How can I do
that without a copy of the object on my client machine? And if I do have to ... more >>
Socket Error: Remoting Requires DNS?
Posted by YeeCN at 12/17/2004 10:57:47 AM
Hi,
I am working through a tutorial on .NET remoting. I am stuck on the first
line:
HttpChannel channel = new HttpChannel();
It gives the following socket exception:
WSANO_DATA 11004
Valid name, no data record of requested type.
The requested name is valid and was found in the dat... more >>
Asynchronous Remoting and Datasets
Posted by MS .NET at 12/17/2004 10:18:11 AM
Hi all,
I build an application with a Client and a Server containing business logic.
So I want the client call a ServerMethod (remoting); the server selects data
and put
the data into a dataset which will be returned back to the client by a
dataset ref parameter.
It works only in synchonous mo... more >>
Run-time loading assembly on Server RO question
Posted by mtv at 12/17/2004 7:07:07 AM
Hi all,
I have a SAO that returns an object to remote client's call
(MyFactory.GetObject(objectType)). I want to make the server part dynamic and
plug-in[able], so I want to be able to load correct assembly file(s) based on
the "objectType" STRING that client passes in. Hence, I read from a... more >>
static/shared variables and single call SAO's
Posted by Klaus Holster at 12/17/2004 6:35:03 AM
Hello all,
I'm using single call SAO's to implement application logic. Mulitiple client
requests are active at the same time. SAO logic includes static/shared
members and those values seem to be visible across all threads that serve
active requests.
Can the visibility of shared members ... more >>
Exposed Object vs Remoting server
Posted by news.microsoft.com at 12/16/2004 6:26:49 PM
Hello!
I have a remoting server which exposes a Singleton object to a client.
The client can call methods on the object without any problem.
Now, I'm trying to let the client modify the exposed object.
My question is: How would the server be able to load the exposed object
an retrieve the val... more >>
How to kill an asynchronous delegate?
Posted by windsurfing_stew NO[at]SPAM yahoo.com.au at 12/16/2004 6:01:18 PM
Hey Group,
Hoping someone can help me out. I have some code which starts up some
asynchronous code using a delegate. The code is below. Basically my
main code (not shown) calls ServerThreadStart.StartServer to start the
server running asynchronously. This works fine. Shouldn't be any
pro... more >>
Is Remoting safe against data-loss during transfer ?
Posted by Brian Anderson at 12/16/2004 5:45:20 AM
Hello,
how does Remtoing makes sure that a file transfer (>1MB) is 100% error free
when it's received by the client ?
I use HTTP-Channel with Binary encoding. However I wonder if I need to
implement my own CRC tests to be on the safe side ?
... more >>
Unexplained Remoting error
Posted by Steve Long at 12/15/2004 4:04:21 PM
Hello,
I have an application that I communicate with via .NET remoting. I wrote a
test harness that repeatedly hits the server with requests, one after the
other, in serial. The app does fine until I hit somewhere around 6500
successful returns from the server and then I get this Exception:
"An... more >>
How many services, other general questions
Posted by Garann Means at 12/15/2004 3:21:02 PM
Hi,
I'm new to remoting and have a few general questions. The big one is, how
many services can I register with a given remoting server? If there's no
limit, are there any non-obvious factors that would affect performance?
What is the best way to use remoting - passing large value objects... more >>
|