Silverlight 4.0 and RIA Services

Discussion in 'Site Programming, Development and Design' started by VauthorM, Sep 17, 2010.

  1. Hello,
    I would like to develop application in Silverlight 4.0 with RIA services. I wrote simpl app ane deployed it to your sever. At my local computer everything works fine, but at your server I always get an error :

    "Invoke operation 'DoWork' failed. The remote server returned an error: NotFound.

    v System.ServiceModel.DomainServices.Client.OperationBase.Complete Exception error)".

    I am new in web applications and in silverlight, so excuse ma stupid questions.

    1. Can your server hosts applications with RIA services ?
    2. Have I to configure IIS to support RIA Services ?

    Thanks
    Vaclav Macak
     
  2. Ray

    Ray

    RIA services should already be supported on our server without turning anything on. Do you have a URL for us to look at so we can see the error message?
     
  3. URL to my app : http://www.msw-crm.com/TestTestPage.aspx#/Home.

    It is simple app only for tests. If you press the button in the middle of page, actual time should appear and this is the place, where is an error. Try to push it and window with error message will appear.

    If you will go to http://www.msw-crm.com/, you can see content of my web directory. There is Test.ZIP file, which contains source code for my app.

    Thanks for your help.

    Vaclav Macak
     
  4. Use Fiddler to get a better description of the error and post it here.
     
  5. Hi,
    the solution of my problem is to add

    <system.webServer>
    <security>
    <authentication>
    <basicAuthentication enabled="false" />
    </authentication>
    </security>

    to web.config of my application
     
  6. Thanks for posting the follow up.
     

Share This Page