I have created a Web API that I have deployed under these paths (you're welcome to see my certifications data):
http://stevegaines.info/api/Certifications
http://stevegaines.info/api/Certifications/1
http://stevegaines.info/api/Exams
http://stevegaines.info/api/Exams/1
The first and third calls fail with the message "An error has occurred." Those calls work on my local machine when I run the Web API in debug from Visual Studio and I navigate to the local paths. The look like a typical JSON array in the browser as shown below. So why do the array objects appear in the same browser from the debug server, but they don't appear in production from my domain name on my web host server? Do you see them in your browser? Do you get the same error message? Web API seems very temperamental.
[{"CertificationID":1,"CertificationName":"Microsoft Certified Solution Developer","CertificationSubName":"Visual Basic 4.0","CertificationShortName":"MCSD 1997 - Visual Basic 4.0","CertificationAcronym":"MCSD","CertificationOrder":1,"CertificationDate":"1997-05-04T00:00:00","CreatedDate":"2006-05-26T11:46:00"},{"CertificationID":2,"CertificationName":"Microsoft Certified Solution Developer","CertificationSubName":"Visual Basic 6.0","CertificationShortName":"MCSD 1999 - Visual Basic 6.0","CertificationAcronym":"MCSD","CertificationOrder":2,"CertificationDate":"1999-12-05T00:00:00","CreatedDate":"2006-05-26T11:46:00"},{"CertificationID":4,"CertificationName":"Microsoft Certified Application Developer","CertificationSubName":"Visual Basic .NET","CertificationShortName":"MCAD 2006 - Visual Basic .NET","CertificationAcronym":"MCAD","CertificationOrder":3,"CertificationDate":"2006-03-26T00:00:00","CreatedDate":"2006-05-26T11:47:00"},{"CertificationID":3,"CertificationName":"Microsoft Certified Solution Developer","CertificationSubName":"Visual Basic .NET","CertificationShortName":"MCSD 2006 - Visual Basic .NET","CertificationAcronym":"MCSD","CertificationOrder":4,"CertificationDate":"2006-04-29T00:00:00","CreatedDate":"2006-05-26T11:47:00"},{"CertificationID":5,"CertificationName":"Microsoft Certified Solution Developer","CertificationSubName":"Visual C# .NET","CertificationShortName":"MCSD 2006 - Visual C# .NET","CertificationAcronym":"MCSD","CertificationOrder":5,"CertificationDate":"2006-06-29T00:00:00","CreatedDate":"2006-07-03T07:13:00"}]