I have been getting the following error since this morning :(
The requested service, 'http://10.175.156.xx:yyyyy/SomeService.svc' could not be activated. See the server's diagnostic trace logs for more information.
When I opened up the svc logs on Azure, I see the following warnings and errors:
W: Failed to open Ninjet.Extensions.Wcf.NinjectIISHostingServiceHost`1[MyNameSpace.Servicelayer.SomesSrvice W: Faulted Ninject.Extensions.WCf.NinjectIISHostingServiceHost[MyNamespace.ServiceLayer.SomeService] W: ServiceHost faulted
Occasionally, I see the following error followed by the warnings above:
E: Loading performance counters for the service failed. Performance counters will not be available for this service. Instance 'SomeService@||SomeService.svc' already exists in CounterSet 'e829b6db-21ab-453b-83c9-d980ec708edd'. Parameter name: InstanceName
It's been working fine last week and I do not see any changes on Azure.
Btw, it works fine locally.
EDIT: Since I can't answer my own question yet, I'm editing the post to include the "solution" :(
`OK! It looks like the problem was missing some references :(
I added a class library project to the WCF project and that class library references MVC 4.`