I'm a developer trying to set up a virtual directory for a WCF web service on a Windows Server 2003 (32 bit) machine and I keep on getting "Server Application Unavailable" with the following logged in the event log:
Message: Could not load file or assembly 'System.Web, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Access is denied.
So far I've tried:
- Double checking the account used for anonymous access control (this is a local administrator)
- Checking the permissions on the
C:\Windows\Microsoft.Net\Frameworkdirectory (ASPNET has read / write access, I've even given Everyone access)
- Disabling and enabling the ASP.Net v2.0 extension
- Deleting and re-creating the .svc extension in the list of application extensions
- Checking to make sure that System.Web is present in the GAC
- Re-Installing the .Net framework 3.5 SP 1
- Giving the virtual directory its own application pool
- Fusion logging tells me nothing of interest
I cant figure it out - there is another .asmx web service that appears to work perfectly on the same web server with the same settings. What have I missed?
Are there any techniques that can be used to figure out these sorts of permissions issues? It would be useful to know the user account and path that its trying to access, but enabling the Failure events in the machines Audit Policy didnt seem to do anything.