Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet remoting > july 2004 > threads for july 8 - 14, 2004

Filter by week: 1 2 3 4 5

Wiring up the remote events: the final bit of foolishness
Posted by Bob Rundle at 7/14/2004 4:37:03 PM
Right... Thanks to a lot of help from this group, I've almost got my .NET remoting prototype put together.. There is one final bit of foolishness...wiring the remote events. It almost works! I have a OnChanged() event that the server will raise whenever a remote object is changed. H...more >>


Testing success of Activator.GetObject...
Posted by Robert Conde at 7/14/2004 9:51:37 AM
Hi All, I was wondering if there was a good way to test if Activator.GetObject succeeded. If it fails it doesn't throw an exception. Also, it returns an interface pointer when it fails. It only throws an exception when you try to execute a method. So what I've been doing is trying to execut...more >>

Remoting and OpenFileDialog
Posted by Valerio at 7/13/2004 11:33:55 PM
Hi all, i've a big problem ^^.. the class OpenFileDialog is a MarshalByRefObject, so i've registered it in ..net remoting: TcpServerChannel _channel = new TcpServerChannel(9932); ChannelServices.RegisterChannel(_channel); RemotingConfiguration.RegisterWellKnownServiceType(typeof(OpenFileDia...more >>

novice question
Posted by Adam Snider at 7/13/2004 10:32:32 PM
I am new to .Net remoting and I'm trying to implement a simple example. I'm using VB.Net and my code works as long as I have the following code: "tcp://localhost:10000/PayablesDB" on my own machine........but when I put it on a server over the internet and try dial into it via the IP Address ...more >>

IIs and remoting
Posted by vips at 7/13/2004 7:24:32 PM
How do I deploy remoting objects on IIS server .? I have created a example application which has a client and server, and server is console application. my client access the console server. But i want to create a server which starts as soon as my machine boots up ...can i deploy the remote o...more >>

Security error ?
Posted by Support at 7/13/2004 6:25:14 PM
I get the following exception while executing the server: System.Security.SecurityException: Request for principal permission failed. The server stack trace says: at System.Security.Permissions.PrincipalPermission.Demand() ...more >>

byte array and remoting...
Posted by Prabhu Shastry at 7/13/2004 5:09:45 PM
Hi group, Can I pass a byte array from client to the remote object in a function call? When I do, the byte array length looks correct in the function, but the elements are all zeros! Any idea? Client is written in C#. Remote object is written in Managed C++ Thanks, -Prabhu...more >>

Remoting and activation
Posted by Ivo Bronsveld at 7/13/2004 5:09:07 PM
All, I got some tricky problems with .NET remoting. I created a generic remoting server. This server implements an interface. By doing it this way I hide the server implementation in my client applications. I also created a (client) component which communicates with the server. It connects to ...more >>



SAO objects (single call) hosted in IIS 6 seem to "die" after a while?
Posted by Joe at 7/13/2004 4:57:52 PM
I have a set of SAO (single call) objects hosted in IIS 6 on 2k3, communicating over an HTTP channel from the client. The application runs really well as long as I keep the application "busy" on a regular basis. That is, it runs well as long as I click on something that requires a remote method...more >>

Erratic System.NullReferenceException
Posted by Harold at 7/13/2004 2:31:20 PM
Hi I have a project I have client in PC A and server in PC B (SAO and Singleton). I get an instance of object in B and I pass to B a reference to another object hosted in A in the same client process. Then from B I call a method to object A sent. This thing works fine allways in my lan, but...more >>

Erratic System.NullReferenceException
Posted by Harold at 7/13/2004 2:31:06 PM
Hi I have a project I have client in PC A and server in PC B (SAO and Singleton). I get an instance of object in B and I pass to B a reference to another object hosted in A in the same client process. Then from B I call a method to object A sent. This thing works fine allways in my lan, but...more >>

Help with "Invalid method signature" error (IIS hosted remoting)
Posted by ajafry NO[at]SPAM yahoo.com at 7/13/2004 2:11:06 PM
Hi, My application is partitioned into 2 DLLs: app.Core.DAL.dll (namespace app.Core.DAL - depends on app.Common.Utils.dll) app.Common.Utils.dll (namespace app.Common.Utils.DLL) When I place these DLLs seperately into my IIS app directory and try to use it via remoting I always get the follow...more >>

Windows Service using remoting
Posted by Chuck Douglas at 7/13/2004 12:06:50 PM
I am having a problem with using remoting and I am hoping someone might have run into this problem before. I have developed a Windows service, which has the following OnStart method override. protected override void OnStart(string[] args) { TcpChannel channel = new TcpChannel(8085);...more >>

MCSD 70-310 Creating and Consuming .NET Remoting Objects Exam Question
Posted by Greg at 7/12/2004 9:54:15 PM
I have a sample question: You are creating a .NET remoting application for hosting on an IIS server. You need to restrict the resources a remote object can access on a computer. You implement ____ to control the resources a remote object can access on a computer. (Choose one correct option) ...more >>

Remoting and Events
Posted by Phil Jones at 7/12/2004 5:21:04 PM
I'm building an app that handles events (on the client) of a Remoting object retreived from a server. The problem I'm getting is when I attempt to wire up the event I get the following error: <<< System.Security.SecurityException: Type System.DelegateSerializationHolder and the types d...more >>

Security and multi-user support in Remoting
Posted by sprungli at 7/12/2004 11:48:58 AM
Hello, I work on a distributed system relying on .NET Remoting at the middle tier. For now I am not able to use COM+ on the server. All the security and multi-user handling must be done in the remotable class or in utility classes used by the former. I presume the answer is no, but let me ask,...more >>

Problems with .NET remoting and single threaded COM components
Posted by js NO[at]SPAM rapidis.com at 7/12/2004 2:27:10 AM
I have some problems when I try to call some old COM components from a remote :NET object. I am pretty sure that the problem is caused by the fact that the COMponents are single threaded, since apartment threaded COMponents works just fines. Is there a workaround that would enable me to includ...more >>

Need Help to Understand Creating a Client Access to Remote Object?
Posted by Linno Hak at 7/11/2004 3:46:07 PM
Hi, I'm new to .Net remoting. Hope someone can help to clarify my understanding regarding creating a client access to a Remote Server object. I've read a number of articles on .Net Remoting and I think I understand the principles of how to design a .Net remoting app. I understand that there a...more >>

Problem with Transaction
Posted by Robert Maria Joseph at 7/11/2004 3:43:01 AM
I am developing an enterprise application. I am using Enterprise Services provided by .NET. I am calling these methods.. ContextUtil.SetComplete() ContextUtil.SetAbort() depending upon the transaction. When I run my program, I am getting an exception "There is no MTS object found". I am...more >>

Activation of the DCD line
Posted by sm at 7/11/2004 1:07:01 AM
Hi All, I don't know whether this is the right forum to post my question to. Anway, here it goes... How to activate the DCD line of the serial port programatically? Regards ...more >>

newbee help
Posted by nahur at 7/11/2004 12:31:17 AM
folks i am trying out th sample multiserver application from I. Rammer eg 3.20 3.21 and the client in which i have 2 servers and object from oneserver is passed on to the other server via the client i get the following An unhandled exception of type 'System.Runtime.Serialization.Seri...more >>

(405) Method Not Allowed
Posted by Linno Hak at 7/9/2004 9:28:53 PM
Hi all, When I debug my .Net remoting application, I encountered an error message that reads: "The remote server returned an error: (405) Method Not Allowed." Source:"mscrorlib" I use IIS (httpchannel) to host Server objects. Anyone has any idea what causes this error?. Thanks in adva...more >>

Give Client Reference to a Server Object
Posted by msnews.microsoft.com at 7/9/2004 4:25:56 PM
I'm trying to construct a client application with two components. Component 1 - A C# service that synchronizes data from a remote data source. Component 2 - A C# windows forms application. Both component 1 and component 2 will be running on the same computer. Component 1 is ...more >>

Client trying to access to unactivated objects
Posted by le_khan NO[at]SPAM yahoo.fr at 7/9/2004 9:57:19 AM
Hi NG I've got another issue in my remoting application. I want to catch and manage the exception thrown when a client try to access to the remote objects whereas the server is not lauched. This exception is a 'System.Net.WebException' The message is "The underlying connection was closed: ...more >>

PropertyGrid throws when selected object is remoting object
Posted by Bob Rundle at 7/9/2004 7:11:57 AM
I'm trying to use the property grid to browse properties on a remoting object. While setting the SelectedObject property of the PropertyGrid I get the following exception... "Attempted to call a method declared on type System.ComponentModel.ICustomTypeDescriptor on an object which exposes jo...more >>

setting customErrors="off" programmatically
Posted by Chris B at 7/8/2004 5:58:01 PM
I know how to set the <customErrors> tag in a .config file and use RemotingConfiguration.Configure to apply it. Does anyone know how to apply this flag programmatically instead (i.e. without a .config file.)? Thanks!...more >>

Is there a way to add httpHandler programmatically instead of web.config?
Posted by Konstantin at 7/8/2004 3:57:48 PM
Is there a way to add httpHandler programmatically instead of web.config? Thanks, Konstantin. ...more >>

Debugging .NET Service process
Posted by Bob Rundle at 7/8/2004 2:39:21 PM
There doesn't seem to be a newsgroup for .NET windows services, so I'll ask this question here... I want to create a debug version of my windows service so which is not derived from System.ServiceProcess.ServiceBase. I want to do this so I can easily debug the process. At the present momen...more >>

TcpChannel or HttpChannel ???
Posted by Phil Jones at 7/8/2004 1:27:58 PM
I'm writing a Remoting app that will (in the foreseeable future) be communicating over a window's LAN/WAN. I'm just wondering what channel type I should be using. Is it that the TCP channel is faster than the HTTP one? Is there a downside to the TcpChannel. Would I be advised to use HTTP fro...more >>

remoting error help
Posted by nahur at 7/8/2004 1:02:19 PM
I am trying out sample 3.5 the client Acesses the client activated object from ingo rammer adv .net remoting http://www.apress.com/book/supplementDownload.html?bID=47&sID=442 i get the following error when i try to do Server.MyRemoteObject obj1 = new Server.MyRemoteObject(); error: An un...more >>

Singleton problem under IIS
Posted by Keith Foster at 7/8/2004 11:34:42 AM
Hi, I have a remote object (residing in a DLL) that is hosted by IIS. The object should be created as a singleton as specified in the web.config : <configuration> <system.runtime.remoting> <application> <service> <wellknown mode="Singleton" type="m...more >>

Remoting Objects: style question
Posted by Bob Rundle at 7/8/2004 10:31:52 AM
I have a style question wrt Remoting Objects. I'm trying to avoid putting all my remoting objects in a class library to be built into both client and server. I'm using C# exclusively. Two ideas: 1. I have a class library of base class remoting objects. The server uses class derived f...more >>

Beginners remoting question!!
Posted by Alex Stevens at 7/8/2004 10:23:53 AM
Hi All, We are looking at using remoting at one of our clients sites to share common data / objects. One application they have so far has been written in a n-tier fashion, and all information is retrieved through a middle tier which is a DLL which exposes the database information through obje...more >>

Choosing a well know port number
Posted by Bob Rundle at 7/8/2004 9:29:26 AM
Here's a simple question: I'm building an application that will have a wide deployment in a specific industry. I am using .NET remoting and will need to assign a few well known port numbers. At the present moment I'm using 8080, 8081, and the rest of that foolishness. How do I choose a ...more >>

Proper way to destroy a remoting server
Posted by gaetan NO[at]SPAM xeberon.net at 7/8/2004 9:22:57 AM
Hello I'm using a Remoting server (Singleton) and i would like to controle its destruction. Is there a kind of RemotingConfiguration.Disconfigure? And most important : Is there a way to call a function before disconnection? I mean, within the Dispatcher remoting thread, i create other thread...more >>

Are there any MVP's that monitor this site
Posted by Jon Turner at 7/8/2004 9:20:57 AM
haven't seen a response by a single one. ...more >>

Asynchronous Remoting and BeginInvoke
Posted by Jon Turner at 7/8/2004 9:20:33 AM
Do I need to be concerned about thread availability when I call BeginInvoice on my delegate or will the delegate be queued up into the thread pool work queue and executed once a thread is free ? I guess another point to my question is Will my BeginInvoke call ever be blocked for any period o...more >>


DevelopmentNow Blog