Remoting from Web Services, ASP.Net 2.0

Discussion in 'ASP .Net Web Services' started by T*R*Z, Feb 10, 2006.

  1. T*R*Z

    T*R*Z Guest

    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?
     
    T*R*Z, Feb 10, 2006
    #1
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.