B
Ben M
I added an ADO.NET Data Service to my ASP.NET website and changed the
DataService class name to the class name from my ADO.NET Entity Data Model
but all I get is a 404 (page not found) error when navigating to the new
service page.
I also tried adding the following configuration parameters:
- config.SetEntitySetAccessRule("*", EntitySetRights.AllRead)
- config.SetServiceOperationAccessRule("*", ServiceOperationRights.All)
- config.UseVerboseErrors = True
But that did not help either. I have looked online and found that any error
in an ADO.NET Data Service generates a 404 response but I have not figured
out how to debug the real issue and the configuration option which is
supposed to show verbose errors does not seem to work.
Please point me at some useful resources which will help me debug the issue
that is causing the 404 error I would appreciate it. Thanks in advance, Ben
DataService class name to the class name from my ADO.NET Entity Data Model
but all I get is a 404 (page not found) error when navigating to the new
service page.
I also tried adding the following configuration parameters:
- config.SetEntitySetAccessRule("*", EntitySetRights.AllRead)
- config.SetServiceOperationAccessRule("*", ServiceOperationRights.All)
- config.UseVerboseErrors = True
But that did not help either. I have looked online and found that any error
in an ADO.NET Data Service generates a 404 response but I have not figured
out how to debug the real issue and the configuration option which is
supposed to show verbose errors does not seem to work.
Please point me at some useful resources which will help me debug the issue
that is causing the 404 error I would appreciate it. Thanks in advance, Ben