Tuesday, March 22, 2016

The Web server is configured not to list the contents of this directory


Today, I was demonstrating how to publish BizTalk schema as WCF service to my new team member. Created a simple schema and publish this schema as WCF service using the Publishing wizard, followed by enabling the receive location created by wizard. But while browsing this service was welcome by HTTP Error stating that "The Web server is configured not to list the contents of this directory"












Why it happened


It was because Directory Browsing was not enabled on the machine.





What to do


Go to IIS manager-->Directory Browsing. On right top there is Enable property - click it. After that service was accessible.





No comments:

Post a Comment