Click here to Skip to main content
15,913,722 members
Home / Discussions / C#
   

C#

 
GeneralRe: IE Toolbar Backspace problem Pin
Andy Brummer23-Jan-05 18:05
sitebuilderAndy Brummer23-Jan-05 18:05 
GeneralRe: IE Toolbar Backspace problem Pin
Adnan Siddiqi23-Jan-05 23:52
Adnan Siddiqi23-Jan-05 23:52 
GeneralRe: IE Toolbar Backspace problem Pin
Andy Brummer24-Jan-05 3:18
sitebuilderAndy Brummer24-Jan-05 3:18 
GeneralRe: IE Toolbar Backspace problem Pin
Adnan Siddiqi24-Jan-05 7:58
Adnan Siddiqi24-Jan-05 7:58 
GeneralProblem with WebResponse Pin
xdavidx23-Jan-05 16:53
xdavidx23-Jan-05 16:53 
GeneralRe: Problem with WebResponse Pin
Andy Brummer23-Jan-05 17:52
sitebuilderAndy Brummer23-Jan-05 17:52 
GeneralRe: Problem with WebResponse Pin
xdavidx24-Jan-05 2:24
xdavidx24-Jan-05 2:24 
GeneralProblem in Return DataReader from a ServicedComponent object Pin
kianboo23-Jan-05 15:04
kianboo23-Jan-05 15:04 
Good day everyone!Laugh | :laugh:
i had problem in returning a DataReader object from a ServicedComponent class. The dataset object was return fine, but when return the DataReader, the datareader object was a transparent_proxy object. I dont understand why only the return DataReader object is a transparent_proxy?Confused | :confused:

And if i use any method of the returned DataReader, the following error will be occur:
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.

my codes is simplied as follow:
//First layer is DataAccess Layer
public sealed class DataAccess : ServicedComponent
{
//others methods here...
public OleDbDataReader ExecuteReader (OleDbConnection objConn, string
sql, CommandType commandType, OleDbParameters paramList)
{
//SomeOthers codes here...
return objCmd.ExecuteReader(CommandBehavior.CloseConnection);
}
}

//Second Layer is Data Access Logic
public class EmployeeDAL : ServicedComponent
{
public IDataReader GetEmployeesFirstName()
{
//someothers codes here...
DataAccess objDa=new DataAccess();
OleDbConnection objConn=new OleDbConnection();
return objDa.ExecuteReader(objConn,sql);
}
}

Thanks in advance for your help. Smile | :)

gkb
GeneralRe: Problem in Return DataReader from a ServicedComponent object Pin
Andy Brummer23-Jan-05 18:02
sitebuilderAndy Brummer23-Jan-05 18:02 
GeneralVideo encryption Pin
Christian Graus23-Jan-05 11:00
protectorChristian Graus23-Jan-05 11:00 
GeneralRe: Video encryption Pin
Andy Brummer23-Jan-05 11:13
sitebuilderAndy Brummer23-Jan-05 11:13 
GeneralRe: Video encryption Pin
Christian Graus23-Jan-05 11:36
protectorChristian Graus23-Jan-05 11:36 
GeneralRe: Video encryption Pin
Andy Brummer23-Jan-05 13:37
sitebuilderAndy Brummer23-Jan-05 13:37 
GeneralRe: Video encryption Pin
Dennis C. Dietrich23-Jan-05 12:14
Dennis C. Dietrich23-Jan-05 12:14 
GeneralRe: Video encryption Pin
Christian Graus23-Jan-05 12:22
protectorChristian Graus23-Jan-05 12:22 
GeneralRe: Video encryption Pin
Dennis C. Dietrich23-Jan-05 12:43
Dennis C. Dietrich23-Jan-05 12:43 
GeneralRe: Video encryption Pin
Christian Graus23-Jan-05 12:47
protectorChristian Graus23-Jan-05 12:47 
GeneralListView BeginEdit problem Pin
Newbie_Toy23-Jan-05 0:35
Newbie_Toy23-Jan-05 0:35 
GeneralREGULAR_EXP Pin
Bedevian22-Jan-05 23:16
Bedevian22-Jan-05 23:16 
GeneralRe: REGULAR_EXP Pin
Christian Graus23-Jan-05 11:07
protectorChristian Graus23-Jan-05 11:07 
GeneralSearching for words in a string Pin
Azel Low22-Jan-05 21:14
Azel Low22-Jan-05 21:14 
GeneralRe: Searching for words in a string Pin
V|ktor22-Jan-05 21:54
V|ktor22-Jan-05 21:54 
GeneralRe: Searching for words in a string Pin
Azel Low22-Jan-05 22:54
Azel Low22-Jan-05 22:54 
GeneralRe: Searching for words in a string Pin
mav.northwind22-Jan-05 23:07
mav.northwind22-Jan-05 23:07 
GeneralRe: Searching for words in a string Pin
Azel Low23-Jan-05 0:50
Azel Low23-Jan-05 0:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.