Skip to main content
Home Forums Silverlight Programming WCF RIA Services Errors "The Specified Resource was not found" & 500 error responses for DataService.asd
7 replies. Latest Post by ColinBlair on November 3, 2009.
(0)
rshelby
Member
277 points
66 Posts
11-03-2009 9:48 AM |
Hello,
I know there are several other posts related this issue, but none of the solutions seem to be working in my case.
I currently have a RIA Business Application with FormsAuthentication that runs fine on my development machine, however when I run the application on the test server nothing works. I receive the error "The Specified Resource was not found".
Also, from fiddler I notice the calls to the services / DataService.axd all return 500 response errors. For example:
**********************************************************************
POST http://myservername/ClientBin/DataService.axd/MyApp-Web-Services-NHKShareService/$Submit500 Internal Server Error
GET http://myservername/ClientBin/DataService.axd/MyApp-Web-Services-NHKShareService/GetShare_Links500 Internal Server Error
*********************************************************************
Originally I thought the problem was caused by the RIA Authentication services, but after removing the authentication related functionality, I now see the 500 error response is happening for everything related to the calls to /ClientBin/DataService.axd
I tried the following advice before posting this thread:
1.) Made sure the 2 DataService related Handlers are inside my web.config file.
2.) My server is running in "full trust".
Any help is greatly appreciated!
ColinBlair
Contributor
6701 points
1,318 Posts
11-03-2009 10:41 AM |
You have the RIA Services DLLs in your bin directory?
11-03-2009 11:02 AM |
After I compile the project the following 4 dlls are automatically added to my project's Bin folder, however I did not include them in my source project. Is this necessary?
System.ComponentModel.DataAnnontations
System.Web.DomainServices.dll
System.Web.DomainServcies.Providers.dll
System.Web.Ria.dll
11-03-2009 11:20 AM |
I have them included in my project, the references were added automatically for me. That might be your problem.
11-03-2009 11:48 AM |
Sorry, I checked the wrong folder.
In my Web Folder Bin I do have the 4 dlls above automatically added.
In my Client Side Bin folder however I do not have any dlls automatically added. The System.Window.RIA and System.Window.RIA.Controls references are based on the dlls at "Program Files\Microsoft SDKs\RIA Services\v1.0\Libraries\Silverlight\"
I added these 2 directly to my client bin folder and changed the default references but still no difference.
Thanks for the info though.
11-03-2009 12:08 PM |
Your problem is server side so the client dlls don't matter. You would also be getting the same error if you are missing the dll and reference to your DomainService as well.
11-03-2009 1:21 PM |
Could you elaberate on "missing the dll and reference to your DomainService"? Sorry for the trouble.
11-03-2009 2:31 PM |
If you have your DomainService in a seperate project from your website (which is the recommended pattern) then you need the web application to reference the project with the DomainService. If you don't, you get a 500 error.