Tuesday, March 18, 2014

Exposing WCF service to public URL

It was really a struggle for 4-5 hours of publish a wcf service to public URL, it was working perfectly work on local url but when deployed to public url it failed.

Few steps help to me:

1. Make sure framework 4.0 is selected in app pool.

2. IIS_IUSR should have permission on directory mapped to virtual in IIS.

3. Error: duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
Solution: delete or comment out all the system.web.extensions configuration section 
definitions and configuration section group definitions from the
4. Error

WCF Error: This collection already contains an address with scheme http

      multipleSiteBindingsEnabled="true" /> 

No comments: