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 15 - 21, 2004

Filter by week: 1 2 3 4 5

Remoted Component generates soap exceptions when calling web service
Posted by Sam-I-Am at 7/21/2004 9:56:34 PM
Hi All I have an asp.net app that uses .net remoting to call a function on a remote server. The function also calls a web service on the remote server to perform its tasks. All works fine untill I the .net remoted component calls the webservice. I get the following error: "The type System....more >>


temp files on server
Posted by Paul Hilton at 7/21/2004 8:28:23 PM
Hi All, I am referring to this article for exporting a report to pdf file . http://msdn.microsoft.com/library/default.asp?url=/library/en-us/crystlmn/html/crtskexportingwebbasedreports.asp The issue is that I am not able to delete the temporary files generated on the server. As per this art...more >>

error catching on client side
Posted by BK Kim at 7/21/2004 4:31:40 PM
Hello. I have a question about catching errors. My middle tier machine got an error while executing a function but my client machine cannot catch what that error was. In my middle tier, I have try/catch block that throws exception but I cannot get that exception on client side. Is ther...more >>

Throwing exception remoting ArrayList?
Posted by A. Burch at 7/21/2004 2:00:25 PM
I'm having a problem handling an ArrayList of object who content is 90 records of data items.. The code below demonstrates the exeception error. The text of the error is the following...... "Recieve: The type Admins.BCBarData in Assembly TestClient, Version 1.0.1663.23136, Culture=neutral, Pu...more >>

Raising an Event in a Delegate causes problems
Posted by Jon Turner at 7/21/2004 12:56:31 PM
I have an asynchronous call to a remote procedure that is invoked thru BeginInvoke. The problem is that in the Delegate if I throw an event before the CallBack function exits, the CallBack will get called multiple times and error out with the following Error: <EndInvoke can only be ca...more >>

Remoting using http limited?
Posted by Donald Adams at 7/21/2004 10:43:54 AM
Does Remoting using http have the IIS send packet limit of 4MB? Thanks in Advance, Donald Adams ...more >>

The channel tcp is already registered... error
Posted by Donald Adams at 7/21/2004 10:37:10 AM
I get this error: "The channel tcp is already registered" when trying to do the following: _chanTCPOut1 = new TcpChannel(7001); ChannelServices.RegisterChannel(_chanTCPOut1); _chanTCPOut2 = new TcpChannel(7002); ChannelServices.RegisterChannel(_chanTCPOut2); //error thrown h...more >>

can a remotable object call the methods of the host?
Posted by nick at 7/21/2004 10:30:11 AM
For example, I have Windows Form application hosting a remotable object. And I want the hosted remoted call a function after the remote client called the it....more >>



forum for Visual C# develoopment
Posted by JamesK at 7/21/2004 8:47:06 AM
Pardon the interuption, 1. Looking for a good C# development forum? 2. Also, if anyone has come accross this problem would appreciate some help. Having difficulty uploading a file to a Tomcat server in C#. I am using WebClient.uploadFile(uri, image). My code is as follows(have tried it on ...more >>

Exception: cannot call non-public or static methods remotely
Posted by ajafry NO[at]SPAM gmail.com at 7/21/2004 8:01:57 AM
Hi, I am trying to call a method on an SAO which contains the following lines of code: .....lines removed..... SqlDataAdapter da = new SqlDataAdapter(cmd); da.Fill(myDataTable); // Exception is thrown here .....lines removed..... An exception gets thrown at da.Fill, reading: ***begin ex...more >>

Remoting through a firewall
Posted by Henke at 7/21/2004 12:35:33 AM
Hi We are building a distributed application where we split the business logic, data base and the UI (web) on three different machines. Between the web server and the business logic server there is a firewall. For the moment we are using web services to get data from the business layer, but we...more >>

Multiple Remote Objects
Posted by Lord2702 at 7/20/2004 10:28:15 PM
Tue. July 20, 2004 10:30 PM PT Is it possible to host more than one remote object on one server? On one channel, but with different URI. Appreciate your answer. ...more >>

Remoting and security limit problem,help
Posted by whtinkm NO[at]SPAM sina.com at 7/20/2004 8:49:23 PM
Hi all I begin to study .Net remoting recently,and I happend to a problem. The following is my test code //share dll namespace sharedll { public class FirstClass:System.MarshalByRefObject { public FirstClass() { } public void SetData(SecondClass oneClass) ...more >>

MBR vs. MBV
Posted by Adam Snider at 7/20/2004 7:51:29 PM
I have a class (in a class library) that opens a database connection and returns a connection object. I have a reference to this class library in my server code and my client code. I tried inheriting marshalbyreference in the database class, but when I ran the client-side code it wanted to open...more >>

Do I need two remoting objects?
Posted by Chester West at 7/20/2004 6:12:14 PM
Greetings Everyone - I'm trying to do the following: On one machine (let's call it the SERVER), I'm creating a object. Then I'm exposing it for remoting by executing a System.Runtime.Remoting.RemotingServices.Marshal call. On another machine (let's call it the CLIENT) I'm succ...more >>

Peer Network vs. Domain
Posted by Howard Swope at 7/20/2004 3:19:42 PM
I am building an app that uses .Net remoting. My development machine is on the company domain, but the environment in which it will be deployed is a peer network. I test the app on any machine withing the domain and it works fine. Testing on any machine on the peer network throws an unhandled ex...more >>

Can Remoting be used to deploy VB.Net applications?
Posted by cranbrook NO[at]SPAM attbi.com at 7/20/2004 8:41:39 AM
I am under the impression that .net remoting can be used to deploy "real" applications over the net. Some sort of vb.net executable with forms for entering data and reports and the whole nine yards on the client machines, and with the data and processing occurring on a server somewhere else. Is ...more >>

Events on remote class and AddHandler
Posted by Sylvain Ross at 7/19/2004 6:50:57 PM
Hi, I'm trying to raise an event from a remote class to a client. Here is it : I got a remote server serving a class Hello. This class gots a public event defined like this Public event myEvent() Then, on my client, I'm able to retreive my remote object correctly (referenced by myObj)....more >>

Getting an object reference from the Server ON THE SERVER???
Posted by Chester West at 7/19/2004 1:55:42 PM
I'm starting to think this is not possible.... I've got a Singleton remote object created/registered. I can access the object, modify data, etc., to my hearts content, just as long as I access it from a remote machine.....THIS MAKES REMOTING relatively useless for me. The object is register...more >>

Bug in IIS hosting of Remote Objects?
Posted by dinesh336 NO[at]SPAM hotmail.com at 7/19/2004 1:47:43 PM
Hello, I have a Singleton Remoting Object hosted inside IIS. It has a sponsor in a Windows Service that renews the lease. So as long as the Windows Service is running I expect the remoting object to stay within scope. However I find that it is not the case. The Singleton object goes out of ...more >>

another remoting issue
Posted by Adam Snider at 7/19/2004 11:34:00 AM
Suppose I have a class from a class library that opens a database connection. I reference this class in both my server code and my client code although it is only called within the server code. For some reason, my client seems to want to open the database connection itself, for instance, it re...more >>

firewall problems....I think?
Posted by Adam Snider at 7/18/2004 11:39:50 PM
Okay, I'm trying to get a simple remoting example application working. I have two computers hooked up to a router/firewall and I'm testing out remoting between the two. The server code looks like the following: Imports System.Runtime.Remoting Imports System.Runtime.Remoting.Channels Imports...more >>

Another MCSD 70-310 Creating and Consuming .NET Remoting Objects Exam Question
Posted by Greg at 7/18/2004 6:32:10 PM
Now here is another question... You are creating a .NET Remoting application. You use the following = code to create and register an HttpServerChannel object to listen at = port 8080. =20 Dim channel as New HttpServerChannel(8080) ChannelServices.Reg...more >>

system messaging at Receiver end
Posted by rt at 7/17/2004 11:25:02 PM
Dim ds1 As DataSet Dim myMessage As Message Try myMessage = msgQ.Receive() myMessage.Formatter = New XmlMessageFormatter(New Type() {GetType(ds)}) Catch ex As MessageQueueException MessageBox.Show("ERROR: " + ex.Message, "...more >>

Configuration File and CPU usage
Posted by Lord2702 at 7/17/2004 10:14:35 PM
Sat. July 17, 2004 10:15 PM PT I am using a COM+ object, which returns just a DataSet, a very common scenario, ahha! I host this object into the Remoting server, works fine, but when I use Configuration file, on Server side, then my CPU usage is 100%, but when I use, RemotingConfiguration::Reg...more >>

6 steps to .NET remoting
Posted by Bob Rundle at 7/17/2004 1:00:02 PM
Well its been two weeks and I now have my .NET remoting prototype working completely. Along the way I was able to codify the 6 steps necessary for getting a .NET remoting project to completion. 1. Enthusiasm 2. Hard work 3. Abject failure. 4. Utter and complete despair. 5. S...more >>

MsWord VBA Client To Com Server To .Net Remoting - UnFamiliarType err
Posted by sf_astan NO[at]SPAM bezeqint.net at 7/17/2004 11:26:46 AM
Hi, we have Ms Word XP, we have to automate word to start a C# application. we coded a C# dll as a COM server and the COM Server calls to the server application .Net written with remoting over tcp. we managed to do that and it works great until we are returning from the tcp server our sear...more >>

run batch file
Posted by adish11 at 7/17/2004 1:51:00 AM
Hi, In Web Application coded with C# I need to run batch file that stored on remote machine. There is the client uses the application from one machine,web application stored in second machine and batch file that I need to run is stored on other machine. All the machines are in the same networ...more >>

Interoperability
Posted by Eric Dettinger at 7/16/2004 6:39:50 PM
I keep seeing that a SoapFormatter is ideal for communication between applications that use incompatible architecture, whereas BinaryFormatter can only be understood by .NET applications. How exactly does the SoapFormatter provide interoperability when it is a ..NET class itself?...more >>

Can I pass a CAO to an SAO?
Posted by Sam Santiago at 7/16/2004 1:17:42 PM
Is it possible to pass on ObjRef that I have obtained for a CAO to an = SAO to use as a parameter in a procedure or function? Do I have to = control the marshaling of this parameter or will .NET be able to handle = it? Thanks, Sam --=20 _______________________________ Sam Santiago ss...more >>

Serialize / Deserialization troubles .. Please help !!
Posted by agarwalpiyushk NO[at]SPAM yahoo.co.in at 7/16/2004 12:12:03 PM
Hello, I am trying to use shared memory mapped files for IPC between two applications, one of which may be in C++ (non .NET envi) As a first step I am trying to get serialization / deserializtion working within a single application and getting exceptions and errors. "Binary stream does not ...more >>

Can I CAO interfaces?
Posted by Jean-Francois Hamelin at 7/16/2004 10:22:56 AM
Hi, I have defined an interface that is implemented by my server object, my server object is hosted in IIS. Now I want to client activate the server object, but the client only that the interface definition. When I do something like: IClass1 remoteClass1 = Activator.CreateInstance( typeof( ...more >>

Debugger running open loop in server...
Posted by Bob Rundle at 7/16/2004 6:58:16 AM
I have a server which exposes a tree of remote objects. The server seems to be working fine if I run without the debugger. If I run in the debugger, the CPU goes to 100% the first time I access the object from the client. I've tracked the problem down to this bit of code in the main... [ST...more >>

Remote object in IIS security question.
Posted by Jean-Francois Hamelin at 7/15/2004 3:42:58 PM
Hi, My remote object are hosted in IIS, in order to access it I have to enable anonymous access to the virtual directory otherwise I received an unauthorized error. Can I use windows integrated security? If yes how. Thanks JF ...more >>

Shame on you!
Posted by Alessandro at 7/15/2004 2:27:27 PM
Hey man, to kill the hopes of a children is the worst crime in the world. This is what you are doing with your e-mail. There will not be a tomorrow in this way. Please, let's start to build up something.... please, PLEASE...! Alessandro ...more >>

Remote Object time out
Posted by Gaetano Lazzo at 7/15/2004 1:30:54 PM
Hi, I've created a 3-tier application using .net remoting. In the server there is an 3-tier console that activates an object, the 'CampusDataAccessLoader' that is a SAO, and is a singleton,i.e., there is only one instance of it. The 'CampusDataAccessLoader' is a kind of 'class factory', i.e. it ...more >>

Slow TcpClien.Connect() call
Posted by Alessandro at 7/15/2004 1:16:28 PM
Hi, I hope I am writing to the right newsgroup. I am using the connect() method of the TcpClient class to connect to a host node in a LAN. If the host exists in the LAN the connection is established in few milliseconds. And this is ok. If the host is down or does not exist the connect() meth...more >>

Why doesn't remoting work from Win2k to WinXP?
Posted by mdb at 7/15/2004 12:07:03 PM
I was reading the articles in this newsgroup earlier trying to figure out why my remoting project would work when the server and client were both running on the same machine, but not when they were running on different machines. I came across an article by another person that had the same p...more >>

How do you check if delegates are added to an event?
Posted by Niklas at 7/15/2004 7:27:02 AM
Hi In C# I checked if any delegates were added to the Event before I raised the event, like: if (ExecutionStartedEvent != null) ExecutionStartedEvent(applicationName); When I did the same i VB it didn't work: If (Not SendServerInformationEvent Is Nothing) Then How do you do in VB? In the e...more >>

How do I remote an array of objects?
Posted by Greg at 7/15/2004 6:18:25 AM
I need to send a collection\array of values from my client to my remote server (hosted by IIS). I have tried an array of Objects and an ArrayList. Neither will remote. What type can I use to send an array of 'other types' (string, datetime, decimal)?...more >>


DevelopmentNow Blog