all groups > dotnet remoting > december 2004 > threads for december 15 - 21, 2004
Filter by week: 1 2 3 4 5
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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
..
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 >>
Creating an interface on a server application
Posted by Adrian at 12/15/2004 3:14:40 PM
Hi!
How can I create an instance of an interface on a server machine which is
exactly like another one on a client machine. I tried different methods and
no results.
Thanks!
... more >>
How to disconnect remoting server properly?
Posted by kosjanne NO[at]SPAM st.jyu.fi at 12/15/2004 10:06:50 AM
My problem is that I can't restart my remoting server. This is how I
start the server:
m_ServerSinkProvider = new BinaryServerFormatterSinkProvider();
m_ServerSinkProvider.TypeFilterLevel = TypeFilterLevel.Full;
m_Props.Clear();
m_Props.Add("port", nPort);
m_Props.Add("typeFilterLevel", Type... more >>
Connecting to a running executable
Posted by Rob Richardson at 12/15/2004 7:55:48 AM
Greetings!
This message is a variation on my recent "Connecting to a Windows
service" post. In that post, I asked if a client on a PocketPC can use
remoting to connect to a Windows service on a server. It was pointed
out that the Compact Framework does not support remoting, which
effectivel... more >>
Application Activation
Posted by jerry at 12/15/2004 7:43:49 AM
I have 2 applications running on my desktop. App1 wants to
activate App2 and call a public method in the mdi main
form, passing this method 2 pieces of info: one string,
and one integer.
Does anyone have any sample code or can point me to some
code somewhere to give me a hint as to how I ca... more >>
|