gmoh
10/10/2004 9:01:00 AM
--
regards
gmoh@pp2000.com
"billmac3" <billmac3@discussions.microsoft.com> schrieb im Newsbeitrag
news:5BADD862-8315-461B-A037-005F59A031C9@microsoft.com...
> 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