Answer the question
In order to leave comments, you need to log in
CommunicationException while working with WCF service
Actually, you need to work with the database in SilverLight through the WCF service.
I connected to the database, created a LINQ to SQL model, and through the context of the 1st function I return a list of objects of the parent table: as a result, this error occurs.
The error lies in this function:
public ObservableCollection<Mod> EndGetMods(System.IAsyncResult result) {
object[] _args = new object[0];
ObservableCollection<Mod> _result = ((ObservableCollection<Mod>)(base.EndInvoke("GetMods", _args, result)));
return _result;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question