PC Review


Reply
 
 
Klayman
Guest
Posts: n/a
 
      28th Jan 2005
Hello

How can I call implement my COM+ service to receive a stream as an argument
to one of my methodes.
As It is today I can receive strings,bytes and integers but when I try it
with a stream I get this error message:

"This remoting proxy has no channel sink which means either the server has
no registered server channels that are listening, or this application has no
suitable client channel to talk to the server. "

Which I think is because it can't find a method with this type of structure

My COM+ code looks something like this

Imports System.IO
Public Class WriteFile
Inherits System.EnterpriseServices.ServicedComponent -This
works fine
Public Sub WriteString(ByVal str As String)
....
End Sub

Public Sub WriteStream(ByVal strm As StreamWriter) -This
doesn't work at all
...
End Sub
End Class

I call my COM+ with

wf = CreateObject("WriteFile")
wf.WriteString("hello world")
wf.WStream(myStreamWriter)


Any help possible is appreciated

Best Regards
Magnus


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create word doc from a memory stream NO file stream used Nitin Mahajan Microsoft C# .NET 5 29th Jul 2008 03:49 PM
Stream To Memory Stream Error rh1200la@gmail.com Microsoft Dot NET 6 25th Oct 2006 10:03 PM
Undocumented exceptions from Stream.EndWrite on HttpWebRequest request stream kevin cline Microsoft Dot NET Compact Framework 0 17th Nov 2005 01:55 AM
Closing outer stream, keep inner stream open - how? Martin Microsoft Dot NET Framework 0 27th Oct 2004 04:29 PM
MEmory stream, file stream Pums Microsoft C# .NET 4 11th Dec 2003 11:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:29 PM.