Author: dorkboy | Posted on: 7/29/2008 1:31:14 PM | Views : 300

I have written a web service. 

I have an app that will be consuming the service.  I try to set the web reference and I get the "Server Application Unavailable" message.

It appears to be a "permissions" problem.  I have given the ASPNET user over the C:\Windows\Microsoft.Net\Framework\v2.0.50727\

I am running XP Pro

 This is what I see in the Event Viewer:

Failed to initialize the AppDomain:/LM/W3SVC/1/Root/WebService1

Exception: System.IO.FileLoadException

Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Access is denied.

StackTrace: at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospec ...

Go to the complete details ...