RIA Services Issues

Discussion in 'Windows / IIS' started by pagla, Nov 7, 2010.


  1. Hello there,
    I built an application using SL4 Business Application (which in turn uses RIA Service 1.0). When I deployed to DASP, I get this error:

    System.ServiceModel.DomainServices.Client.DomainOperationException: Load Operation failed for query 'Getxxx'. The remote server returned an error: Not Found

    Please note I have copied all required binaries into bin folder as discussed in many forums.

    Is there a quick solution for this ?

    Thanks

     
  2. dmitri

    dmitri DiscountASP.NET Staff

    Please see this blog entry for the details on how to troubleshoot this problem.
     
  3. dmitri,
    That's not the issue ... I have used fiddler and saw that my svc are there. However when they are fired, they can't connect to DB ...
    That's why I think it's a DB config issue
    Thanks
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    Most likely your connection string is wrong.

    RIA is really difficult to troubleshoot. I recommend you create a simple asp.net page to try connect to the database and see if it worksl
     
  5. Hi
    I've also got this. I've used Silverlight Business Application straight out of the box, copied across the references (set copyLocal to true), included the transformations to the connection strings, and checked they are OK, and copied betweek the '"' marks.
    I'm using the latest release of Visual Studio and of Silverlight Tools.
    In short, I've done everything I can find.
    Has anyone got one of these projects to work on discountAsp?
    I've run Fiddler, but don't understand the output. I chose Silverlight with RIA Services because MS indicated that the plumbing was done and I could concentrate on the UI and data structures. I'm from a LAN background where I've not had exposure to calls accross the Internet. Oops!
     
  6. Yes I have. The GetUser issue was resolved by adding
    <security>
    <authentication>
    <basicAuthentication enabled="false" />
    </authentication>
    </security>
    to the web config.

    The issue is that the default IIS must be set to only one authentication method. I'm told you can use the MS II7 remote to diable the basicAuthentication site wide but never figured the connection out (g) see http://www.iis.net/download/IISManager.

    More info here
    http://community.discountasp.net/showthread.php?t=10303&highlight=silverlight



    Pat NH USA
     
  7. mjp

    mjp

    Thanks for posting that, Pat.
     

Share This Page