Null exception from domain service method when service hosted from IIS RRS feed

  • Question

  • I have a RIA domain service in which I exposed a SOAP endpoint as given in this article


    I can now  invoke the Domain service methods from client.

    The problem is when I launch my service from Visual studio by hosting it on local asp.NET server I get back exceptions. But when I host the same service and the same web.config file in IIS I get null exceptions.

    Any idea what may be going wrong here ?

    • Edited by Shawn Dan Tuesday, September 25, 2012 1:09 AM
    Monday, September 24, 2012 3:46 AM


  • Hi Shawn Dan,

    As this is a WCF RIA service issue, it is recommend that open a thread a WCF RIA Service forum. The engineers and community members there have more experience can help you in a more efficient way.

    WCF RIA Services


    Thanks for understanding!

    Leo Tang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Shawn Dan Tuesday, September 25, 2012 5:16 PM
    Tuesday, September 25, 2012 6:40 AM