Exception: System.ServiceModel.ServiceActivationException: The service '/ResourceDataService.svc' cannot be activated due to an exception during compilation. The exception message is: Could not load file or assembly 'App_Web_aza-n8ud, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies......
How odd----it's been running without issue for months.
There were two possible reasons for the failure:
- The virtual directory was renamed, or
- .Net Framework 3.5 was not installed
".Net Framework 3.5" The other reason this fails is because .Net Framework 3.5 is not installed. (This is easily checked, and if you didn't rename the virtual directory, this is likely the problem.)
In this case, the app was moved to a different box, the virtual directories remained the same, BUT, .Net framework was not installed.