Click here to Skip to main content
15,898,374 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: error : System.ServiceModel.CommunicationException was unhandled by user code Message="The remote server returned an error: NotFound." Pin
Arun Jacob9-Sep-09 2:25
Arun Jacob9-Sep-09 2:25 
GeneralRe: error : System.ServiceModel.CommunicationException was unhandled by user code Message="The remote server returned an error: NotFound." Pin
gantww9-Sep-09 14:40
gantww9-Sep-09 14:40 
AnswerRe: error : System.ServiceModel.CommunicationException was unhandled by user code Message="The remote server returned an error: NotFound." Pin
Arun Jacob9-Sep-09 18:47
Arun Jacob9-Sep-09 18:47 
GeneralRe: error : System.ServiceModel.CommunicationException was unhandled by user code Message="The remote server returned an error: NotFound." Pin
gantww10-Sep-09 4:43
gantww10-Sep-09 4:43 
GeneralRe: error : System.ServiceModel.CommunicationException was unhandled by user code Message="The remote server returned an error: NotFound." Pin
Arun Jacob10-Sep-09 18:00
Arun Jacob10-Sep-09 18:00 
GeneralRe: error : System.ServiceModel.CommunicationException was unhandled by user code Message="The remote server returned an error: NotFound." Pin
samiran bhuin24-Mar-11 23:27
samiran bhuin24-Mar-11 23:27 
QuestionRightToLeft TabControl ? Pin
Mohammad Dayyan9-Sep-09 1:20
Mohammad Dayyan9-Sep-09 1:20 
QuestionWCF service problem in silverlight application Pin
Nekkantidivya8-Sep-09 22:20
Nekkantidivya8-Sep-09 22:20 
Hi,

I am working on Silverlight application in this I have to upload and display the images. I implemented this using silverlight service give below. THis worked fine for small size images and for images(memory size greaterthan 60KB) it is giving me exception as

"System.Reflection.TargetInvocationException"

"An exception occurred during the operation, making the result invalid. Check InnerException for exception details."

While debuging it is not even entering in to the WCF service. The control is directly passed to the Display Results method
I anyone know any solution to upload images of any size from a silverlight application please reply me.

Method in WCF service:

public List<AdImages> GetImages(byte[] imageData,string ImagePath )
{

----------Code to save images----------

}

public class AdImages
{
public byte[] ImgData { get; set; }
}


Calling service from silverlight application

Service1Client Img = new Service1Client();
Img.GetImagesAsync(fileBytes, ofd.File.Name);
Img.GetImagesCompleted += new EventHandler<GetImagesCompletedEventArgs>(DisplayResults);


Display results method:

void DisplayResults(object sender, GetImagesCompletedEventArgs e)
{
---------code to convert bytes to image and assign it to a image control---------
}



Thanks in advance.
AnswerRe: WCF service problem in silverlight application Pin
Arun Jacob8-Sep-09 22:30
Arun Jacob8-Sep-09 22:30 
QuestionWPF ToolKit Datagrid -- Urgent Pin
avi_dadi20028-Sep-09 21:35
avi_dadi20028-Sep-09 21:35 
AnswerRe: WPF ToolKit Datagrid -- Urgent Pin
Christian Graus9-Sep-09 10:23
protectorChristian Graus9-Sep-09 10:23 
QuestionImplementing stop functionality for downloading data from db in WPF app in MVP Pin
Krishna Aditya8-Sep-09 20:52
Krishna Aditya8-Sep-09 20:52 
AnswerRe: Implementing stop functionality for downloading data from db in WPF app in MVP Pin
Christian Graus9-Sep-09 10:26
protectorChristian Graus9-Sep-09 10:26 
GeneralRe: Implementing stop functionality for downloading data from db in WPF app in MVP Pin
Krishna Aditya9-Sep-09 21:27
Krishna Aditya9-Sep-09 21:27 
GeneralRe: Implementing stop functionality for downloading data from db in WPF app in MVP Pin
Christian Graus10-Sep-09 14:30
protectorChristian Graus10-Sep-09 14:30 
Questionhow to access the layout control from view to viewmodel Pin
anandmca8-Sep-09 20:33
anandmca8-Sep-09 20:33 
AnswerRe: how to access the layout control from view to viewmodel Pin
Pete O'Hanlon8-Sep-09 21:43
mvePete O'Hanlon8-Sep-09 21:43 
Question3rd party control for wpf graphic editing Pin
xkrja7-Sep-09 23:20
xkrja7-Sep-09 23:20 
AnswerRe: 3rd party control for wpf graphic editing Pin
Richard MacCutchan8-Sep-09 1:26
mveRichard MacCutchan8-Sep-09 1:26 
GeneralRe: 3rd party control for wpf graphic editing Pin
xkrja8-Sep-09 4:04
xkrja8-Sep-09 4:04 
GeneralRe: 3rd party control for wpf graphic editing Pin
Richard MacCutchan8-Sep-09 4:48
mveRichard MacCutchan8-Sep-09 4:48 
QuestionHow to add text to the GridView in wpf? Pin
Krishna Aditya7-Sep-09 20:49
Krishna Aditya7-Sep-09 20:49 
AnswerRe: How to add text to the GridView in wpf? Pin
ABitSmart7-Sep-09 21:11
ABitSmart7-Sep-09 21:11 
GeneralRe: How to add text to the GridView in wpf? Pin
Krishna Aditya7-Sep-09 21:17
Krishna Aditya7-Sep-09 21:17 
GeneralRe: How to add text to the GridView in wpf? Pin
ABitSmart7-Sep-09 21:25
ABitSmart7-Sep-09 21:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.