Ok, I’m new to Windows Communication Foundation (WCF), and I admit that upfront. I ran into the 403.1 error while trying to host my first WCF service. I spend time configuring the .Net framework associated to the application pool with associated identity user account permissions. Not to mention Google/Binging for help on why I kept getting the error page about access denied.
I came across a few blogs mentioning the 403.1 error and WCF that did not help me. Essentially most blog references just make sure that you’re actually trying to access the file in the folder hierarchy where the actual file is located. If that isn’t the first thing you check I don’t think you should be configuring IIS service hosting.
I did find my particular 403.1 problem. The application pool was using NETWORK SERVICE to secure the service, which I had added with full permission to try to solve the access permission. That didn’t work of course, and so I then tried adding the ASPNET user with read/write permissions to the service virtual folder in IIS 6. Sure enough that fixed my problem. No more 403.1 error page!
Again, try adding either NETWORK SERVICE and very least ASPNET accounts with read/write permissions to your service folder if you’re getting the 403.1 error. Double check the application pool identity to make sure Iit has permission as that could potentially be a cause. Once the service starts working please do audit the permissions according to your needs. If that fails to help try user impersonation in WCF, or I found the random solution possibilities of the Microsoft community forum somewhat helpful in pointing my way to the solution.
WCF