0

My service recently began throwing this error. The service builds successfully, but this error pops up when browsing the svc file.

The service is hosted on the same IIS server it has always been on. The only changes that have been made are updating references via NuGet.

Bardicer
  • 1,405
  • 4
  • 26
  • 43

1 Answers1

1

As it turns out, the service project was changed to target .Net 4.5 while the Host project, however, was still targetting .Net 4.0. When I changed the host project to target .Net 4.5, I got the expected wsdl.

Bardicer
  • 1,405
  • 4
  • 26
  • 43