when executing the index it generates this error I am working with entity framework 6
my web.config
<basicHttpBinding>
<binding name="bsBinding" maxBufferPoolSize="214748647" maxBufferSize="214748647" maxReceivedMessageSize="214748647" />
</basicHttpBinding>
my driver to generate my index is the following:
public class RRHH_MUNICIPIOController : Controller
{
RRHH_MUNICIPIOClient db = new RRHH_MUNICIPIOClient();
RRHH_DEPARTAMENTOClient dbDepto = new RRHH_DEPARTAMENTOClient();
public RRHH_MUNICIPIOController()
{
mapa.Mapeo.CrearMapas();
}
// GET: RRHH_MUNICIPIO
public ActionResult Index()
{
IEnumerable<ent.RRHH_MUNICIPIO> listar = db.TraerTodo();
IEnumerable<mod.RRHH_MUNICIPIOModel> entidad = Mapper.Map<IEnumerable<ent.RRHH_MUNICIPIO>, IEnumerable<mod.RRHH_MUNICIPIOModel>>(listar);
return View(entidad);
}
my proxy is the following:
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRRHH_MUNICIPIO/TraerTodo", ReplyAction="http://tempuri.org/IRRHH_MUNICIPIO/TraerTodoResponse")]
System.Collections.Generic.List<AplicacionEntidad.RRHH_MUNICIPIO> TraerTodo();