.NETGURU
Problem calling an VB.NET Enterprise Service component
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.remoting.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

Anders via .Net Guru (VIP)
Hi all,

I have a component developed in VB.NET that I have registered in COM+ and installed in the GAC.

I have another VS.NET project where I have a reference to the assembly and tries to call the methods in my registered component...but I recieve the following error message:

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

Why do I get this message and what does it really mean?

some code:

The component that I have registered looks like this:

<Transaction(TransactionOption.Supported), JustInTimeActivation(True), ObjectPooling(Enabled:=True, MinPoolSize:=2, MaxPoolSize:=10)> _
Public Class SqlHelper
Inherits ServicedComponent

<AutoCompete(True)>Public Function Echo(ByVal input As String) as String
Return input
End Function
End Class

Greatfull for any suggestions

//Anders =)

-----------------------
Posted by a user from .Net Guru (http://www.dot-net-guru.com/)

<Id>4NyFcXNUG0S5CK8h2BXPBw==</Id>
Reply to this message...
 
    
K. Vijay Anand
Hi

I tried working out an example on remoting for my company and some
applications are working fine. I hope this helps.

Since it is a Service Component, a lazy registration occurs. The Component
will be Registered in Com + (in the name of Remoting,. that is what i have
given as the name in the assembly info file)

(There are two types of registeration one is lazy and another one is manual.
Since the .Net itself registers there is no need for us to manual
registeration)

You have Client, Server, ShareDLL

If you want to test it out in your system itself then Run the Server
Component First (Server\bin\debug\server.exe)

Then Run the Client (Client\bin\Debug\Client.exe). It takes sometime to
Register and then displays "Hello world".

If you want to test it from different system then move the server
application to the different system and run the server.exe

Before that you need to modify the client to point to the server name
( class1.cs string url = "tcp://localhost:8675/RemoteObjectURI";) then
build and launch the exe. Now the remoting component will be created from
that server and the information is accessed.

The sample application that i sent to you is working fine. If you have any
problems please let me know.

Anyway i have big application conversion that i am doing to remoting. I will
let u know once it get successed.

If you come acorss any information on this topic please let me know.

Thanks

Vijay Anand Kannan

"Anders via .Net Guru" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
[Original message clipped]

following error message:
[Original message clipped]

Reply to this message...
 
 
System.EnterpriseServices.ServicedComponent
System.EnterpriseServices.TransactionOption




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification