Link to home
Start Free TrialLog in
Avatar of tmajor99
tmajor99

asked on

C# ASPX - cannot be modified while it is in the Opened state.

I have a C# ,net ASPX program that produces this error sometimes when trying to connect to a web service.  What does this mean and how can I prevent?  Does this occur because the prevent execution did not close this state?

The communication object, System.ServiceModel.ChannelFactory`1[TestService.ServiceReference1.stepPortType], cannot be modified while it is in the Opened state.

Client.Endpoint.Address = new System.ServiceModel.EndpointAddress(ServerName);
                Client.Open();
                return Client;
ASKER CERTIFIED SOLUTION
Avatar of srikanthreddyn143
srikanthreddyn143

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial