PC Review


Reply
Thread Tools Rate Thread

ADO.NET Data Service 404 (Page Not Found) Error

 
 
Ben M
Guest
Posts: n/a
 
      30th Apr 2009
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

 
Reply With Quote
 
 
 
 
rarich01
Guest
Posts: n/a
 
      1st Jun 2009
I have the same problem. Have you found a solution?

"Ben M" wrote:

> 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
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# Excel Named Range Cannot be Found Due to Web Service Data Delay FrankJO Microsoft Excel Programming 0 13th Nov 2008 10:22 PM
Theme service error: 126. Specified module not found. =?Utf-8?B?V29tYmF0?= Windows XP Configuration 2 10th Mar 2007 06:26 PM
IIS 5.1 installing ftp service error ftpmib.dll not found =?Utf-8?B?RGF2aWRM?= Windows XP Help 3 2nd Jul 2006 05:30 PM
Re: Meta Data not found when using a Windows Service Nathan Kovac Microsoft C# .NET 4 27th Jun 2005 04:05 PM
Meta Data not found when using a Windows Service Nathan Kovac Microsoft C# .NET 6 23rd Jun 2005 07:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:32 AM.