I am very new to WCF services and hosting anything in IIS. So take baby steps with me :).
I created a WCF service library and configured the end points using app.config. I was able to test the service by hosting in WcfSvcHost and testing with WcfTestClient.
I then added a new web site application, ASP.NET web service, to my project and added a reference to my service library and configured my .svc file to point to my service library. Configured my end points by copying my app.config file into my project and renaming to web.config. I was able to host this by viewing in the broswer with ASP.NET development server. I tested with WcfTestClient and it worked fine.
Now to my problem....
Then I wanted to host my web application in IIS. So I added my web application to my default web site in IIS. I pointed the physical path to my application directory and then verified that my .svc file and libraries were added correctly. But when I tried to view my .svc in browser I got a 'HTTP 500 Internal Error'. Why??? And how do I fix it??