vendredi 2 octobre 2015

Getting An error occurred creating the configuration section for system.serviceModel/behaviors

I get the following error when trying to call a web service.

   WebHost failed to process a request.
 Sender Information:     System.ServiceModel.ServiceHostingEnvironment+HostingManager/42659827
 Exception: System.ServiceModel.ServiceActivationException: The service  '/services/Services/PrepareForTransfer.svc' cannot be activated due to an exception during compilation.  
The exception message is: An error occurred creating the configuration section for system.serviceModel/behaviors: Thread was being aborted.
(C:\inetpub\wwwroot\web.config line 270). ---> 
System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section for system.serviceModel/behaviors: Thread was being aborted. (C:\inetpub\wwwroot\web.config line 270) ---> System.Threading.ThreadAbortException: Thread was being aborted.

It seems to happen about 1/3 times.




Aucun commentaire:

Enregistrer un commentaire