all groups > dotnet component services > july 2003 >
You're in the

dotnet component services

group:

Error Retriving a DataReader in Enterprise Services


Error Retriving a DataReader in Enterprise Services Scott Lane
7/30/2003 8:08:37 AM
dotnet component services:
I have a question. I made a general purpose DAL Control that returns things
like SqlDataReaders, and DataSets. When I place this into Enterprise
Services, the call to get a dataset returns just fine. However, when I try
and return a SqlDataReader it returns me the following error when I access
the Read method of the Reader.

An unhandled exception of type 'System.Runtime.Remoting.RemotingException'
occurred in mscorlib.dll

Additional information: 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.

I'm sure it has to do something with marshaling the data across process
boundaries, but I'm not quite sure what. So I really have two questions.
1. What is going on, and 2. Is there someway to resolve this, or do I just
need to use Datasets because they can be serialized and data readers cannot.

Thank you,
Scott

Re: Error Retriving a DataReader in Enterprise Services Ice
8/5/2003 9:55:23 AM
Yep, can't remote datareaders.

ice
[quoted text, click to view]

AddThis Social Bookmark Button