WCF - An error occurred while receiving the HTTP response to http://xxxxx/Service/

前端 未结 6 1727
隐瞒了意图╮
隐瞒了意图╮ 2020-12-18 02:27

I am making this call in my WCF service:

public User GetStudentRecord(string userName)
    {
        try
        {
            return new DashboardFacade().G         


        
6条回答
  •  一整个雨季
    2020-12-18 02:55

    I had the same error.

    In my case I have a table with an int column called OEM. In the model layer I have a class (DTO) with that column represented by an Enum. There was a row in the table which value in OEM colum was not valid. When I was trying to bring all data using LINQ, there was an error that wasn't captured by VisualStudio. That error raised when WCF tried to retrieve the message.

提交回复
热议问题