|
Problem in .Net Remoting
Hi All,
I am using .Net Remoting in my application. When the server and client
exe ran on the same machine, Client receives the error message as "Primary
Key Violation" if it tried to insert duplicates. But when the server on
separate machine, client receives the error message as
"System.Runtime.Remoting.RemotingException: Server encountered an internal
error. For more information, ...
|
1 |
12/23/2008 11:03:43 AM |
|
Remote Desktop Connects - No Screen Icons
Hello ALL,
I connect with WRDesktop from Laptop running WinXPsp3
through Cisco AnyConnect VPN Client (fixed IP)
to a Windows 2003 Server.
I travel a lot and have been able to connect to Server from India, Greece.
Now I am in Cyprus (using a DSL 100.00 Mbps connection).
The VPN Connects to the Cisco Firewall.
I connect to the Server in question, but only can see a Grey Screen.
NO Icons, NO ...
|
1 |
12/20/2008 4:15:01 PM |
|
Remoting performance degradation when returning custom datasets
Hello,
During development of client-server system using .NET Remoting (.NET 2.0)
for communications I found extremely weird behavior if my remoting objects
return custom datasets. For some reason it takes from 0.5 to 4 seconds for
remoting infrastructure to process an empty dataset instance on the client
side, if I'm using TCP channel with binary formatting (the fastest option!).
The ...
|
1 |
12/19/2008 4:15:01 AM |
|
SSPI Kerberos for delegation
#include <stdio.h>
#include <windows.h>
#include <string.h>
#include <malloc.h>
#define SECURITY_WIN32 1
#include <security.h>
#pragma hdrstop
//
====================================================================
// IMPORTANT NOTICE -- Check out
// http://www.mvps.org/security/sspi.html
// for the gory details of how this works
//
============...
|
1 |
12/18/2008 4:12:48 PM |
|
Dataset or xml in remoting.
Hi all,
I am having one question related to data transfer in remoting.
I have two options to use in myapplication pass data either as xml or
as dataset.
Which one is better way to transfer? i read many post on net sayung
that dataset trasfer creates performance issue in remoting. can
anyone elaborate more on this point.
if i use xml for transfer will it be performance improvement ...
|
1 |
12/18/2008 2:08:09 PM |
|
Where to place questions concerning WCF ?
Hi, i'm new here !
I have some specific questions concerning WCF,
can you tell me in which newsgroup i should post ?
thanks
Stefan...
|
1 |
12/10/2008 8:24:26 AM |
|
Remoting
Remoting
http://interviewdoor.com/questions%2Dfaqs/viewforum.php?f=38...
|
1 |
12/5/2008 7:44:41 AM |
|
Remoting
Remoting
http://interviewdoor.com/questions%2Dfaqs/viewforum.php?f=38...
|
1 |
12/5/2008 7:44:04 AM |
|
Remoting
Remoting
http://interviewdoor.com/questions%2Dfaqs/viewforum.php?f=26...
|
1 |
12/5/2008 6:06:30 AM |
|
Calling host AppDomain from new AppDomain
Hi
I know how to create a new AppDomain and send request to that
AppDomain using MarshalByRefObject
But how can I call the hosting AppDomain from the new AppDomain
This is my code code for creating and calling a new AppDomain:
AppDomain newDomain = AppDomain.CreateDomain("NewDomain");
MyClass cls = (MyClass)newDomain.CreateInstanceAndUnwrap
("TestAppDomain", "MyRemoteClass.MyClass");
c...
|
6 |
12/2/2008 9:22:30 AM |
|
[.NET remoting]how to realize Server call functions which are not serializable in Client's appdomain
hi,everyone
I have "class Client:Marshalbyrefobject" in client side. and "class
Server:Marshalbyrefobject" in server side.
Ipcserverchannel in both sides, and the connection works well.
my problem is :
In client appdomain, I define a class "ClientTool" using some other
API and class defination which I can not change. So class ClientTool
can not be serialized.
the object of ClientTool has...
|
1 |
11/26/2008 2:02:18 AM |
|
problem:IPC channel closed immediately after connect
hi,guys
I create a IpcServerChannel in A process. and register AObject in
it.
in B process, I use IpcClientChannel to connect it.
After that, the IPC channel closed by itself. I call functions in
AObject , they all failed and the error said IPC is closed.
I rewrite InitializeLifetimeService() in AObject to make sure its
lifetime will last forever. but it doesn't make any difference at ...
|
1 |
11/14/2008 12:49:35 PM |
|
Determine the IP or MAC address of an inbound remoting connection
Hello again.
In the server side of the remoting application, is it possible to see
the IP or MAC address of the client's interface? We're trying to lock
some of our Broker's functions to the local network.
Best regards,
Markus...
|
2 |
10/30/2008 7:41:59 AM |
|
Transmitting large amount of data: Progress and abortion
Hello.
In a current project we need to be able to transmit "large" amount of
data with remoting (say, 2 to 5 MB). Is there any way to see the
progress of the transmission? Also, is it possible to abort a running
transmission?
I'm currently thinking about caching the data on the server and then
instructing the client to retrieve it partially; Then one could see the
progress in terms of r...
|
1 |
10/23/2008 3:01:05 PM |
|
Connection lost when client is idle
I am using observer pattern for sending data back to client whenever server
thinks it is required. But if there a delay say 5 to 1o min the server is
unable to send the data back to client. Is there any setting for TCPChannel
telling it not to expire. Or does the TCPChannels gets freed when they are
idle? Please let me know what could be the problem.
Thanks & Regards,
Jayaveer.B...
|
1 |
10/23/2008 9:36:04 AM |
|
Query in remoting concept
Hi All,
I am new to .Net Remoting concept. I am using the TCP Channel for
communication and the service type as "Singleton". In my application,
whenever the client requests to remotable object, It will raise the event to
Host application and then send the corresponding response to client.
All I need now is to broadcast the common information message from
server to all clients ...
|
2 |
10/22/2008 6:19:53 PM |
|
Remoting problem when using 2 network adapters
Hello All,
I'm having problems with a project that uses remoting for communications.
The clients connect to a server but they also register a listening (server)
channel for callback notifications from the server.
I ran into problems when one workstation, which has 2 network adapters,
registered this channel with remoting. It happens that the first adapter has
a 169.254.x.x IP address, ...
|
1 |
10/22/2008 6:17:38 PM |
|
Clients connecting to to different server processes
Hello all,
I have a client/server app running .net remoting. I am using singleton
and the server keeps track of clients through a local object
collection. It uses this collection to send events among other things.
Server is created through an interface in a shared library and i am
using the (IMyServer)Activator.GetObject(typeof(IMyServer)...
approach.
The server itself is hosted in a wind...
|
2 |
10/22/2008 5:56:40 PM |
|
Some notes for .net developers, hope it's useful for you!
[.NET] - Using Anchoring and Docking
http://tips-coding.blogspot.com/2008/10/net-using-anchoring-and-docking.html
[.NET] - Readonly Constants
http://tips-coding.blogspot.com/2008/10/net-readonly-constants-in-dotnet.html
[.NET] - Copy Constructors
http://tips-coding.blogspot.com/2008/10/net-copy-constructors-in-dotnet.html
[.NET] - Bind two controls to the same data source with
synchro...
|
1 |
10/15/2008 12:24:49 AM |
|
Detecting dead/crashed clients at the server.
I have written a simple client/server remoting app. The client connects to
the servers object, and the server signals the client through an event.
This works perfectly. (Keywords here; Singleton, marshalling, events,
Activator.GetObject(..))
The only problem is that when a client does not correctly 'disconnect' from
the server, the server keeps trying to send an event to the client, eve...
|
1 |
10/3/2008 8:53:01 PM |
|
Examples of n-tier remoting.
Hi,
I am writing an application which is n-tier. The database is on the server
machine and I need to have the application on each client machine. I want to
have a Business Logic Layer and Data Access Layer on the server. The
application will call the BLL which will call the DAL which will in turn get
data or update date in the database. Each client machin is on the LAN so
there is no...
|
3 |
6/29/2007 3:32:03 PM |
|
objects from different versions of .NET
Hi,
Can anybody explain How to consume objects from different versions of .NET?
Thanks in advance
~Mohan Babu D...
|
1 |
6/26/2007 2:42:00 PM |
|
Diabetic Recipes and More...
Hi Cookers,
Welcome to our new website, cookersworld.com. We
have expanded the content links to ad Mr. Emeril
Lagasse's fine recipes along with recipes for diabetic's.
The website is full of great links from our partners. We
have links to free cookbooks and more. Please stop by
and support us. Visit all our links and choose the best
recipe for you or your family.
We look forward t...
|
1 |
6/24/2007 8:26:53 AM |
|
Multiple issues of RegisterWellKnownServiceType
Hello,
I'm kind of new to the Remoting stuff. I'm stuck in the following
case:
In the constructor section of my Server pack I have two instances of
my RemoteObject for different needs.
It turned out that I *have-to* do twice a call to the
RemotingConfiguration.RegisterWellKnownServiceType!
My logic said that this is not the right manner: why do I have to
issue that call (with exact the s...
|
1 |
6/21/2007 7:58:25 AM |
|
Remoting and Statics
Have a remoted MarshallByRef singleton class hosted in windows
service:
class Foo
{
private static readonly Bar s_someStatic =
(Bar)ConfigurationSetting.GetConfig("BarSection");
}
When a client thru remoting calls a method on Foo, it gets initialised
including statics correctly.
Within the service, I also do :
Foo f = new Foo() and it tries to init. the statics AGAIN !!!!
Why ...
|
3 |
6/18/2007 7:12:01 PM |