all groups > dotnet remoting > july 2003
Filter by week: 1 2 3 4 5
Security Exception with .NET remoting 1.1
Posted by chrislewis NO[at]SPAM etsolutions.com at 7/31/2003 3:11:22 PM
Hi,
I am having exactly the same problem as a previous poster (Damien), but my
assembly is not strong named.
I have copied the text from Damien's post, changing as appropriate for my
problem:
I have have a framework v1.1 ASP.NET application calling remoting
objects hosted in windows serv... more >>
SecurityException with Strong Named Assembly under TCP Remoting
Posted by damien_siviero NO[at]SPAM hotmail.com at 7/30/2003 4:42:08 PM
Hi,
I have have a framework v1.1 ASP.NET application calling remoting
objects hosted in windows service using the TCP formatter. When the
assemblies are not strong named, there is no problem, it is only when
I strong name all assemblies with the same key that the problem
arrises.
The messa... more >>
Application Path and Config files
Posted by Fistandantilus at 7/30/2003 3:18:58 PM
I know this is a basic question, but I couldn't find it in the MSDN. I am
taking my Console Remoting app and making it a Windows Service. But when I
try and read the config file it can find it because it doesn't have the
path. Is there a way to get so this will work???
Also does anyone know a ... more >>
Size used to serialize ints using BinaryFormatter
Posted by hrobinsonAL NO[at]SPAM hotmail.com at 7/30/2003 12:36:58 PM
I am new to remoting and looking at what format to use to serialize my
objects. I thought I'd do some tests and I can't understand why I am
getting the results that I am. I am simply serializing a single int
and it seems to take 54 bytes, not 4 as I would expect. If I were
serializing a non-prim... more >>
VS deletes files
Posted by Dan Luciano at 7/30/2003 9:29:48 AM
I have a remoting application. When I run either the server or the =
client under Visual Studio .net 2003 it will delete the .config file. =
This did not happen under Visual Studio .net 2002. This also does not =
occur when I run the server or the client outside of Visual Studion =
..net. Th... more >>
WebService or Remoting
Posted by cpede at 7/29/2003 10:28:19 PM
Hi
I'm trying to run a component as a WebService, but my
component include a windows GUI, and it seems that when
running as a WebService the GUI is not displayed on the
screen, and I need it. I believe that it is because the
IIS is running as a SYSTEM user, but I don't knoe how to
solve... more >>
Object created in server application via remoting can call the server itself
Posted by leeatkinsonlincs NO[at]SPAM hotmail.com at 7/29/2003 1:47:09 PM
Hi
I am developing a .net remoting server application that provides a
singleton object for access via remote clients. The server application
has a windows form, and I want the objects created to be able to write
to this windows form. Therefore I need the objects to have access to
have a refer... more >>
Datatable parameter passed to remote object byref ??
Posted by David Williams at 7/29/2003 10:47:06 AM
Hi, all,
I am working on a fairly basic utility to do file importing for our data
/ image indexing department. I would like this to be client-server based
using remoting so that the file copy work is done on the server side rather
than the client. Here's my question / issue.
On the ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Problem with simple remoting example
Posted by Volkan Arslan at 7/28/2003 5:59:27 PM
I am trying the sample remoting application "hello" from the quickstart
"Microsoft Visual Studio .NET
2003\SDK\v1.1\QuickStart\howto\samples\remoting\hello" under Windows XP
and .NET 1.1. The applications (server.exe and client.exe) work fine on
same machine, but when I put the server.exe on ano... more >>
IIS acting as client - can't get configuration to work
Posted by Thomas N. Sørensen at 7/27/2003 10:55:22 AM
Hi,
I have built a broadcasting example (based on the Broadcasting example in
Ingo Rammer's book "Advanced .Net Remoting").
I can get everything to work, when the listeners receiving message events
are Console applications, but when I'm trying to let an IIS site register as
listener it fails.... more >>
Proxy question
Posted by Ron Bullman at 7/27/2003 1:27:15 AM
Hi,
Consider following scenario:
I have a host.exe-assembly (host), functionality.dll-assembyly
(functionality), and a client.dll-assembly (client). Host and client
"imports" statically functionality. (But host doesen't "import" client).
From the host I'm dynamically loading the client to oth... more >>
Accessing 'subclasses' with remoting
Posted by jeff at 7/24/2003 3:37:47 PM
I am trying to set up a server to an existing C# program
using remoting. The program has a top level class and with
subclasses, and when I instatiate an object of the top
level class, call it MyClass, it caches about 200megs of
data. Much of the functionality I need at the client side
involves ... more >>
MarshalByRefObject superclass
Posted by bodegax NO[at]SPAM yahoo.com at 7/24/2003 1:34:34 PM
I have a question about whether it is possible for .net remoting to
distinguish between two subclasses that are both dervied off a
superclass that is derived off a MarshalByRefObject. For example, I
have the following classes:
Object2 : Object1
Object3 : Object1
Object1 : MarshalByRefObject... more >>
Is anybody using Genuine Channels?
Posted by sfarley NO[at]SPAM objectvideo.com at 7/23/2003 8:06:14 PM
Hello,
Is anybody using the Genuine Channels product that has been
recommended on this newsgroup by its author? If so, does it work as
advertised without requiring source code modification? Did it solve
your problem?
I am interesting in using .NET event callbacks from server to client
an... more >>
Is it possible to host several remote objects using one host?
Posted by Konstantin Vyaznikov at 7/23/2003 2:51:46 PM
Hi,
I cannot find information of how to host several remote objects (assemblies)
by one host application
(let's say by Windows service)?
Is it possible at all? Or I should have separate host application for every
object?
Thanks,
Konstantin Vyaznikov.
... more >>
The Stability of events across machines
Posted by Roger Rong at 7/23/2003 8:46:48 AM
After reading Ingo Rammer's article about the remoting best practice
(http://www.ingorammer.com/RemotingFAQ/RemotingUseCases.html), I am a little
bit worried about what I'm doing with one the remoting apps, because it will
break more than one these rules, especially about using events/call back
... more >>
Ingos CompressionSink and .Net 1.1
Posted by Martin Klauck at 7/23/2003 7:28:09 AM
Hi NG,
I tried to implement the compressionsink-example of Ingo Rammer.
the client-app.config-file looks like that
<channels>
<channel ref="http">
<serverProviders>
<provider ref="wsdl"/>
<formatter ref="soap" typeFilterLevel="Full" />
<formatter ref="binary" typeFilterLevel="F... more >>
Notifying Clients - Events or Observers?
Posted by mcurry NO[at]SPAM lortsmith.com at 7/22/2003 5:52:33 PM
Hi,
Am getting very confused with remoting. We are building a large data
management application which uses a Server application to load light,
serialized objects on a client. eg:
Dim myPerson as Person
iPersonID = 1
myPerson = PersonFactory.Load(iPersonID)
myPerson.Name = "Fred Jones"
Pe... more >>
Maximum connections to http server
Posted by Raghu Rudra at 7/22/2003 4:49:06 PM
By default, the machine.config contains following information:
<system.net>
.......
<connectionManagement>
<add address="*" maxconnection="2"/>
</connectionManagement>
</system.net>
This limits the number of connections to web server to 2. For e... more >>
Problem returning array of COMTI structures from remoting server to client
Posted by mcinerneyed NO[at]SPAM russellcorp.com at 7/22/2003 12:54:19 PM
Computer gods,
My direct problem is that I'm getting this error message back from my
remoting client, indicating the an error on the remoting server:
-----
System.Runtime.Remoting.RemotingException: Server encountered an
internal error. For more information, turn on customErrors in the
se... more >>
REMOTING and Threads
Posted by Francisco A. Camargo at 7/21/2003 3:39:37 PM
Does anybody have the definitive answers to these questions ?
"How many clients can be inside (executing) a singleton's method at any one
moment in time ?"
"If more than one, what are the pre-reqs for this to work ? Is is automatic
with remoting, or does it need some setup ?"
(All my atte... more >>
What does RemotingConfiguration.Configure really do?
Posted by STom at 7/21/2003 8:06:05 AM
In the MSDN help file, all it really says is 'reads the configuration =
file and configures the remoting infrastructure'. Well, that doesn't =
tell me a lot.
If I have an app.config file that looks like this:
<?xml version=3D"1.0" encoding=3D"utf-8" ?>
<configuration>
<system.runtime.r... more >>
The channel http is already registered.
Posted by Alexandre Reis at 7/18/2003 5:16:48 PM
help me, please.....
System.Runtime.Remoting.RemotingException: Remoting configuration failed
with the exception System.Runtime.Remoting.RemotingException: The channel
http is already registered. at
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannelInternal(ICh
annel chnl) at
S... more >>
Remoting Call Stuck
Posted by () at 7/18/2003 10:02:09 AM
Has any one got into this problem:
A synchronous remoting call got stuck and never return from the call. Shouldn't there be a timeout mechanism for a remoting call if anything happened during the invoke?
**********************************************************************
Sent via Fuzzy Softw... more >>
.Net Remoting - IIS
Posted by Alexandre Reis at 7/17/2003 5:36:05 PM
Hello,
I saw your mail in the newsgroup, and I needed a precious help. I created a
viltual directoria and a directory with name 'bin'. Inside of this, i put
the object, and in root of virtual directory i put web.config. then I only
created one class with the interface of object previously se... more >>
SOAP/HTTP remoting conforming to ASP.NET web service soap envelope
Posted by wmdev NO[at]SPAM yahoo.co.uk at 7/17/2003 4:26:44 PM
Hi
Does anybody know how to make a SOAP/HTTP remoting project hosted
within IIS return exactly the same soap envelope as a standard ASP.NET
web service?
The client of my remoting project is IE and webservice.htc which a has
neat feature when consuming an ASP.NET web service: it creates a
j... more >>
Can .NET remoting hosted by windows service support web application?
Posted by lily at 7/17/2003 3:48:47 PM
Is there any option other than IIS hosting the remote server? i need to
support web client.
Thx.
... more >>
Customer Sink, Not Using the Configuration File
Posted by Kristofer A. Krause at 7/17/2003 1:58:57 PM
Is there a way for me to add my custom sink programmatically?
_oBinary = new BinaryClientFormatterSinkProvider();
// Code goes here???
_oChannel = new TcpChannel(null, _oBinary, null);
ChannelServices.RegisterChannel(_oChannel);
Thanks.
kkrause@cdiweb.com
... more >>
Installed framework 1.1, now I get "Attempted to call a method declared on type System.Reflection.IReflect"
Posted by teeces NO[at]SPAM hotmail.com at 7/16/2003 12:30:59 PM
I have an application using remoting, passing dataset byref to the
middleware assembly. Working fine under framework 1.0; after
installing framework 1.1, I get this:
Attempted to call a method declared on type System.Reflection.IReflect
on an object which exposes AutoQuotingMdl.CoverageVehi... more >>
CreateInstanceAndUnwrap returns wrong type
Posted by Garth Williams at 7/16/2003 10:27:29 AM
I am writing a .NET class library which is used by a
non .NET application via com interop. I would like to be
able to use a config file for the dll.
There seem to be plenty of articles on how to do this, and
I have followed the insructions and written the code below.
The problem is that... more >>
Restricting TCP/IP channel to localhost
Posted by Jeremy Lew at 7/16/2003 10:05:47 AM
Hello,
I have a .NET service app which exposes a singleton object through TCP/IP
remoting. I would like to be able to restrict connections to this object to
localhost and possibly a selected set of other IP addresses. I'm not sure
if this is possible or how to go about doing it, any ideas?
... more >>
accessing window services using .Net remoting
Posted by Naim Rizk at 7/16/2003 12:59:52 AM
hi,
I want to design an application that can access a window service
remotely.
I have 3 vb files, server.vb,object.vb,client.vb.
in the object file i'll need to handle the service (let's say start and
stop).
the problem is that when i compile object.vb the compiler fail to
recognise this ... more >>
cannot serialize dataset
Posted by Lucas Fletcher at 7/15/2003 10:13:30 PM
I know you are supposed to be able to serialize datasets, unlike datarows
and tables which are errorneously marked as serializable. But for some
reason I get the same error trying to receive a dataset from a remote call
as a do with the datrow:
An unhandled exception of type
'System.Runtime.S... more >>
Serializing an object after remoting?
Posted by Aaron Roberts at 7/15/2003 1:49:53 PM
I have an object marked [Serializable] and it extends from
MarshalByRefObject. I can serialize it fine using both a Binary and
Soap formatter. When I take the object and put it into a remoted object,
serialization no longer works. A rough-out of the classes would be like
this -
[Serializabl... more >>
Can you specify an IP address for Activator.GetObject to bind to?
Posted by Andrew at 7/15/2003 1:26:07 PM
The questions is: Is it possible to specify an interface IP address for
Activator.GetObject to use when getting references to remote objects?
The scenario that I need this for is as follows:
I have two machines set up with two NIC's connected to a network that is
source and destination polic... more >>
Events in a LAN based system. Ingo Rammer advises against it. What to do?
Posted by michael_kariv NO[at]SPAM yahoo.com at 7/15/2003 2:23:53 AM
Hi all,
Need your general advice regarding implementing Publish/Subscribe
functionality
for a LAN based, non web-like, non-scalable application.
In his latest article
http://www.ingorammer.com/RemotingFAQ/RemotingUseCases.html
Ingo Rammer writes:
"Don't use Events or Callbacks
No matte... more >>
Internet proxy with authentication
Posted by Santiago Carmuega at 7/14/2003 5:13:52 PM
I have a client app that tries to reach a remoting object from behind a
proxy that requeris authentication. It fails because a 407 error message is
returned after each request. I´m usign a http channel through port 8080.
Is it possible to authenticate my call? if it isn´t, what exactly do I have
... more >>
Remoting events:More than one client on the same machine?
Posted by Manfred Braun at 7/13/2003 9:34:09 PM
Hello All,
I am bilding a small application, were a client connects to a remote server
and "send's him" his notify-object. If I have only one client, this is not a
problem, but starting a second one, returns an error
The problem surely lies in the manner, I use the channel:
ChannelServices.... more >>
Remoting Bitmaps and Sound files
Posted by Tim Shih at 7/11/2003 4:16:20 PM
Hi, I'm looking for a way to remotely pass bitmaps and soundfiles via =
remoting. I have a class which contains a bitmap and I can easily access =
it remotely as long as I do not set a value for the bitmap. However, =
when i specify a value for the bitmap I get the 'Because of security =
restric... more >>
TcpChannel and HttpChannel missing??
Posted by Rodrigo S. Novelli at 7/11/2003 12:41:47 PM
Hello everybody,
I am trying to do a simple remoting sample using c# but I having some
problems.
I have collected a lot of samples in the internet but all the samples uses
either the TcpChannel or HttpChannel as a transport mechanism. The problem
is that I dont have these classes in my fram... more >>
Synchronous client call && Asynchronous Server processing?
Posted by aCoder12 at 7/11/2003 10:39:45 AM
I have question that troubles me a lot lately.
Lets assume that the BusinessFacade layer or DataAccess
layer
are hosted in a different AppDomain on a second server.
I have i MarshalByRefObject in the server-side called
EmployeeService
and configured as Singleton in a well-known url.
H... more >>
Where is MS support?
Posted by Trapulo at 7/11/2003 10:22:39 AM
I've a big problem with Remoting: where is MS-72 hours support for MSDN
subscribers?
See my post of 7/7/2003
thanks
... more >>
<customError off
Posted by cao at 7/10/2003 9:53:54 PM
Turned customError "on" (or "off") in the app.config
and confirmed
System.Runtime.Remoting.RemotingConfiguration.CustomErrorsEnabled( false )
or
System.Runtime.Remoting.RemotingConfiguration.CustomErrorsEnabled( true )
returned false.
But the client still gets "please turn customError on to... more >>
Access serial port on a client via web?
Posted by Bill Belliveau at 7/9/2003 2:12:32 PM
Hello all,
I'm trying to determine if I can access and read information with a web
application/service from a PDA attached to a remote client. From my
searches it seems like the answer is yes, but with the obvious need for an
ActiveX control on the client machine.
Any idea on the feasibility... more >>
Can GUI be remoted using remoting?
Posted by johnfofawn NO[at]SPAM hotmail.com at 7/8/2003 2:42:28 PM
Can I, for instance, return a reference to a System.Windows.Form?
John... more >>
Remoting events with framework 1.1
Posted by Arnaud Fontenoy at 7/8/2003 11:43:32 AM
Hi all !
I've been struggeling for days with remoting events :
- first I had the well known security error. I fixed the problem adding :
m_objServerProvider = new BinaryServerFormatterSinkProvider();
BinaryClientFormatterSinkProvider clnt = new
BinaryClientFormatterSinkProvi... more >>
Are MarshalByRefObject really serialized?
Posted by Michael Damatow at 7/8/2003 11:21:59 AM
For better understanding:
All my class fields are private. Should I explicitly mark them as
[NonSerialized] in my MarshalByRefObject?
_______________
Michael Damatow
... more >>
Microsoft.Samples.Runtime.Remoting.Security Help please.
Posted by Mike Groenewald at 7/8/2003 8:31:59 AM
I am struggeling to get the Microsoft.Samples.Runtime.Remoting.Security
sample to work using programming Sinkprovider creation rather than the
config file. I register the channel and all is well.
The first call goes through to my SAO but when I try and make a second call
I get follwoing Exceptio... more >>
2 Remoting Scalability Questions
Posted by John Smith at 7/7/2003 8:21:21 PM
Hi,
Hope someone can help me answer these two questions on
remoting, and the impact to scalablity and management of
remoted objects:
1)It seems that you always have to write some sort of
listener on the server side, whether it's a service,
console app, etc. to invoke objects on the ser... more >>
Handling System._ComObject
Posted by Varun Singal at 7/7/2003 7:35:03 PM
Hi
I am calling .NET components from my Classical ASPs.
For this I strong named my assemblies, then registered them in the resistry
( using RegAsm), and put them in GAC (using GacUtil) .
Everything worked fine and my ASPs were able to call and use them.
The problem comes when my ASP code as... more >>
|