locked
cannot access a disposed object. RRS feed

  • Question

  • User194385433 posted

    Hi,

    I am opening connection to service firsttime it's working perfect.

    Again it's calling for second time then it's showing the below exception.

    Try

    {Service.open();

    ////Doing some operation

    }

    Catch(Exception ex)

    {

    }

    Finally

    {

    Service.Close();

    }

    cannot access a disposed object. object name: 'system.servicemodel.channels.servicechannel'.

    Help me,

    Thanks,

    Thursday, October 10, 2013 12:40 PM

Answers

All replies