Remoting from Web Services, ASP.Net 2.0

T

T*R*Z

I'm trying to get remoting FROM a web service call to work and it's driving
me nuts.

[assembly:AllowPartiallyTrustedCallers]

....

[WebMethod]
public string RemotingTest()
{
try
{
BinaryServerFormatterSinkProvider serverProvider = new
BinaryServerFormatterSinkProvider();
}
catch (Exception ex)
{
return ex.ToString();
}
return "Okay";
}

Machine.config allows trust override settings.
Web.confg (system.web section) contains:
<trust level="Full"/>

Any ideas how I can get remoting to work in ASP.Net 2.0?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top