Hello
I am working with DataServices and AJAX. In the middle of a debugging session, I got an error from the AJAX client library. "The data operation 'Customers' failed". This was a surprise as it had worked several times so far this session.
So I tried the full URL: http://localhost:49177/WebSite2/Northwind.svc to check there wasn't a problem with the service and I got an assembly load error:
Could not load file or assembly 'App_Web_rdit6p3s, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Later on in the stack trace it shows:
[ServiceActivationException: The service '/WebSite2/Northwind.svc' cannot be activated due to an exception during compilation. The exception message is: Could not load file or assembly 'App_Web_rdit6p3s, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified..]
The Northwind.svc is configured for IIS+WCF hosting as follows:
<%
@ ServiceHost Language="C#" Factory="System.Data.Services.DataServiceHostFactory" Service="Northwind" %>
I have restarted the machine but the problem has not gone away.
Is there any way to track the operation of the server side components?
Thanks for any ideas
Peter