Paramert is not valid ' error RRS feed

  • Question

  • computer captures the image and sending to server via WCF. The code below is used side Silverlight:


      Image tmpImage = new Image();

      tmpImage.Source = fotoPessoaInternaImage.Source;

      WriteableBitmap bmpImagemPessoa = new WriteableBitmap(tmpImage, null);


    To send to the server to convert a byte array :

    objPessoa.Imagem = fotoPessoa.Source != null ? bmpImagemPessoa.ToByteArray() : null;

    but get "Paramert is not valid ' error

    Wednesday, December 17, 2014 9:57 AM


  • Hi,

    Try these steps:

    1.Create a WCF service on the server.
    2.Consume it on the silverlight client.
    3.Call service method to send an image to the server.
    4.Save it on the server with custom logic.

    You could refer to link below,Uploading multiple files with Silverlight:


    Best Regards,

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Jonny_D Monday, December 29, 2014 5:12 AM
    Thursday, December 18, 2014 6:55 AM