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.Channe lFactory`1 [TestServi ce.Service Reference1 .stepPortT ype], cannot be modified while it is in the Opened state.
Client.Endpoint.Address = new System.ServiceModel.Endpoi ntAddress( ServerName );
Client.Open();
return Client;
The communication object, System.ServiceModel.Channe
Client.Endpoint.Address = new System.ServiceModel.Endpoi
Client.Open();
return Client;
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.