C#C
C#17mo ago
Eple

Issue with ASP.NET Core and WCF Service Integration

Hey everyone,

I’m working on an ASP.NET Core application that consumes a WCF service. I’ve encountered an issue, and I’m hoping someone here might have some insights.

When my app runs for the first time after some while, I get the following error message:

Exception:
System.ServiceModel.FaultException1[MyProj.ExternalService.ServiceError]: There is already an open DataReader associated with this Command which must be closed first. (Fault Detail is equal to MyProj.ExternalService.ServiceError).`

It looks like the external service is returning the "There is already an open DataReader" message.

Has anyone experienced something similar, or does anyone know what might be causing this?
Was this page helpful?