C
C#4mo 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?
2 Replies
Eple
EpleOP4mo ago
Do you think I should reach out to the owners of the external service to ask about this? Or is there something else I should check on my end first?
Becquerel
Becquerel4mo ago
unless you have reason to believe otherwise (it's a very reputable and widely-used service for instance) that looks like the external service is broken so I would reach out to them is the stacktrace coming from the place in your code where you call out to the service, or elsewhere?
Want results from more Discord servers?
Add your server