[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.remoting

RemoteException-Permission Denied

billmac3

9/21/2004 1:33:00 PM

I'm getting a RemoteException -' Permission Denied: can't call non-public or
static methods remotely' when trying to call sqlcommand.ExecuteReader within
a server method. the basic idea is that i'm trying to call into SQL server
thru a remote server call and return either a data reader or datasaet to the
remote client..i pass a sqlcommand to the method which seems to work just
fine in the server. the channel is working fine (binaryformat/TCP) even tho
the 2 processes are on the same machine..my connection to SQL server seems OK
also..i get this error when trying to get a result set from SQL server, NOT
returning one to the client..BTW, i'm using 1.1 of framework TIA