Search code examples
c#wcfwcf-data-services

Why can't I show content of my WCF Data Service


My problem is that the content of the tables can't be shown on my browser. when I type

http://localhost:61306/MyWcfDataService.svc 

the tables are shown but I when I want to access to the content of a table and type

http://localhost:18024/WcfDataService1.svc/Item

I got THIS ERROR

Thanks in advance

Update

Error Detail :

enter image description here


Solution

  • When using IE I would recommend disabling friendly HTTP error messages to see the actual response from the server - go to Tools->Internet Options, select the Advanced tab and uncheck "Show friendly HTTP error messages". Then, take a look at this post which shows how to turn on more detailed diagnostic information.