Silverlight 3 + WCF RIA Services + DASP

Discussion in 'Silverlight' started by eseitz, Feb 25, 2010.

  1. I have a Silverlight Application that I just recently migrated over to Silveright 3/WCF RIA Services from Silverlight 2/.NET RIA. Everything worked fine before the migration and I have no issues in my development environment as well. But when I post everything to DASP I get the following error....

    Error From Silverlight:
    Load operation failed for query 'GetUser'. The requested service, 'http://richtg.com/tibbit/ClientBin/Tibbit-Web-AuthenticationService.svc/binary' could not be activated. See the server's diagnostic trace logs for more information.

    at System.Windows.Ria.OperationBase.InvokeCompleteAction()
    at System.Windows.Ria.OperationBase.Complete(Exception error)
    at System.Windows.Ria.LoadOperation.Complete(Exception error)
    at System.Windows.Ria.DomainContext.CompleteLoad(IAsyncResult asyncResult)
    at System.Windows.Ria.DomainContext.<>c__DisplayClass17.<Load>b__13(Object )

    Error from Fiddler
    System.ServiceModel.CommunicationException: Unrecognized message version.
    at System.ServiceModel.Channels.ReceivedMessage.ReadStartEnvelope(XmlDictionaryReader reader)
    at System.ServiceModel.Channels.BufferedMessage..ctor(IBufferedMessageData messageData, RecycledMessageState recycledMessageState, Boolean[] understoodHeaders)
    at System.ServiceModel.Channels.BinaryMessageEncoderFactory.BinaryMessageEncoder.ReadMessage(ArraySegment`1 buffer, BufferManager bufferManager, String contentType)
    at System.ServiceModel.Channels.MessageEncoder.ReadMessage(ArraySegment`1 buffer, BufferManager bufferManager)
    at BinaryMessageFiddlerExtension.BinaryInspector.GetWcfBinaryMessageAsText(Byte[] encodedMessage)
    at BinaryMessageFiddlerExtension.BinaryInspector.UpdateView(Byte[] bytes)

    The applications is using Forms authentication. I went through all the breaking changes docs and made the appropriate changes and have tried several things that I found on various forums to add to my web.config file, but have not had any luck.

    Is WCF Service installed in IIS? Any other suggestions for things to try or look for?

    Thank you.
     
  2. Disregard previous post

    Was missing System.ComponentModel.DataAnnotations.dll
     
  3. mjp

    mjp

    Thanks for posting the follow-up, glad it's working for you now.
     

Share This Page