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

前端 未结 6 1746
隐瞒了意图╮
隐瞒了意图╮ 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 03:04

    None of the methods worked for me. What I did was to debug the service while running from the WCF Test Client and I was able to find my issue. It was to do with the service library missing the connection string in the app.config.

    Just posting if anyone has tried all the other methods and still unable to find the issue.

提交回复
热议问题